<div dir="ltr">Hi Alexander,</div><div dir="ltr"><br></div><div class="gmail_quote"><div dir="ltr">Le mar. 16 févr. 2016 17:40, Alexander Sack <<a href="mailto:asac@canonical.com">asac@canonical.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I already made snapcraft recipe for etherpad-lite, just get:<br>
<a href="https://github.com/asac/etherpad-lite/tree/snap-support" rel="noreferrer" target="_blank">https://github.com/asac/etherpad-lite/tree/snap-support</a>,<br>
cd into the bin/snappy folder and run "snapcraft snap" there...<br>
<br>
The direct link to the snapcraft.yaml is here:<br>
<a href="https://github.com/asac/etherpad-lite/blob/snap-support/bin/snappy/snapcraft.yaml" rel="noreferrer" target="_blank">https://github.com/asac/etherpad-lite/blob/snap-support/bin/snappy/snapcraft.yaml</a><br>
<br>
Only reason I havent uploaded to store is that I havent finished the<br>
config hook i wanted to do so its super convenient to configure<br>
through yaml on snappy systems.<br>
<br>
Hope that helped!<br>
<br>
Thanks!</blockquote></div><div><br></div>Thx Alexander.<div><br></div><div>I'll study that tonight. And publish the results on my github. </div><div><br></div><div>I'll share you the link</div><div><br></div><div>Cheers</div><div>Winael<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
On Tue, Feb 16, 2016 at 4:25 PM, Winael <<a href="mailto:vinzjobard@ubuntu.com" target="_blank">vinzjobard@ubuntu.com</a>> wrote:<br>
> Hi,<br>
><br>
> Thx for your answer<br>
><br>
> On Tue, Feb 16, 2016 at 4:00 PM Sergio Schvezov<br>
> <<a href="mailto:sergio.schvezov@canonical.com" target="_blank">sergio.schvezov@canonical.com</a>> wrote:<br>
>><br>
>> El martes, 16 de febrero de 2016 06h'19:08 PST, Mark Shuttleworth<br>
>> <<a href="mailto:mark@ubuntu.com" target="_blank">mark@ubuntu.com</a>> escribió:<br>
>> > Hi Winael<br>
>><br>
>> Hello Winael<br>
>><br>
>> > Thanks for trying snappy, let me put you in touch with Sergio who is<br>
>> > best placed to answer your questions.<br>
>><br>
>> Thanks for bringing this email to my attention.I'll follow upon the<br>
>> mailing<br>
>> list.<br>
>><br>
>> > Did you share your snapcraft.yaml so we can reproduce your issues?<br>
>><br>
>> This indeed would be great to understand how you are trying to do what you<br>
>> want to do:-)<br>
><br>
><br>
> Well it's not really an issue. I'm learning, trying to understand an to do<br>
> the thing, so, that's why I have questions. I'm a very beginner, and trying<br>
> to move step by step, and writing all the reflexion for a future blogpost,<br>
> as "Snappy for Dummies" kind of thing.<br>
><br>
> So for now my snapcraft.yaml looks like :<br>
><br>
> <code><br>
> name: etherpad-lite-unofficial # the name of the snap<br>
> version: 0.1 # the version of the snap<br>
> # The vendor for the snap (replace 'Vendor <<a href="mailto:email@example.com" target="_blank">email@example.com</a>>')<br>
> vendor: Winael <<a href="mailto:vinzjobard@ubuntu.com" target="_blank">vinzjobard@ubuntu.com</a>><br>
><br>
> summary: Etherpad-lite, eally-real time collaborative editor # 79 char long<br>
> summary<br>
> description: Etherpad is a really-real time collaborative editor maintained<br>
> by the Etherpad Community # A longer description for the snap<br>
> icon: icon.png # A path to an icon for the package<br>
><br>
> parts:<br>
>   etherpad-lite:<br>
>     plugin: nodejs<br>
>     source: git://<a href="http://github.com/ether/etherpad-lite" rel="noreferrer" target="_blank">github.com/ether/etherpad-lite</a><br>
>     source-subdir: src<br>
>     stage-packages:<br>
>       - gzip<br>
>       - git<br>
>       - curl<br>
>       - python<br>
>       - libssl-dev<br>
>       - pkg-config<br>
>       - build-essential<br>
> </code><br>
><br>
> In the draft on my blogpost, that I share on my github :<br>
> <a href="https://github.com/Winael/Notes/blob/master/md/Ubuntu/Snappy/how-to-build-a-snapp-from-a-github-project-by-a-noob-for-the-noobs.md" rel="noreferrer" target="_blank">https://github.com/Winael/Notes/blob/master/md/Ubuntu/Snappy/how-to-build-a-snapp-from-a-github-project-by-a-noob-for-the-noobs.md</a>,<br>
> I explain that the script InstallDeps.sh<br>
> (<a href="https://github.com/ether/etherpad-lite/blob/develop/bin/installDeps.sh" rel="noreferrer" target="_blank">https://github.com/ether/etherpad-lite/blob/develop/bin/installDeps.sh</a>)<br>
> check if dependancies are satisfied, with this kind of code<br>
><br>
> <code><br>
> ...<br>
> #Is curl installed?<br>
> hash curl > /dev/null 2>&1 || {<br>
>   echo "Please install curl" >&2<br>
>   exit 1<br>
> }<br>
> ...<br>
> </code><br>
><br>
> So I'm wondering, in the case of snappy how the check is done, if it<br>
> necessary to have this check or if I have to rewrite a script to replace<br>
> this one (I understantood that "glue" allow to overload some file, correct<br>
> me if I'm wrong)<br>
><br>
> I didn't really understood how filesets work. If I understand well, I'll<br>
> have to create a filesets for the file I need to snap ?<br>
><br>
> So that's it, just question from a "student" who just want to learn :) More<br>
> I more I will understand, and more I more I'll be able to do things by my<br>
> own, and other goal than my blogposts, I'll be able to lead workshops around<br>
> Snappy<br>
><br>
> Thx a lot<br>
><br>
> Cheers<br>
> Winael<br>
>><br>
>><br>
>><br>
>> --<br>
>> Enviado con Dekko desde mi dispositivo Ubuntu<br>
><br>
><br>
> --<br>
> snappy-app-devel mailing list<br>
> <a href="mailto:snappy-app-devel@lists.ubuntu.com" target="_blank">snappy-app-devel@lists.ubuntu.com</a><br>
> Modify settings or unsubscribe at:<br>
> <a href="https://lists.ubuntu.com/mailman/listinfo/snappy-app-devel" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/snappy-app-devel</a><br>
><br>
</blockquote></div></div>