A noob trying to make an etherpad-lite snap with lots of questions

Winael vinzjobard at ubuntu.com
Tue Feb 16 17:25:23 UTC 2016


Hi Alexander,

Le mar. 16 févr. 2016 17:40, Alexander Sack <asac at canonical.com> a écrit :

> Hi,
>
> I already made snapcraft recipe for etherpad-lite, just get:
> https://github.com/asac/etherpad-lite/tree/snap-support,
> cd into the bin/snappy folder and run "snapcraft snap" there...
>
> The direct link to the snapcraft.yaml is here:
>
> https://github.com/asac/etherpad-lite/blob/snap-support/bin/snappy/snapcraft.yaml
>
> Only reason I havent uploaded to store is that I havent finished the
> config hook i wanted to do so its super convenient to configure
> through yaml on snappy systems.
>
> Hope that helped!
>
> Thanks!


Thx Alexander.

I'll study that tonight. And publish the results on my github.

I'll share you the link

Cheers
Winael

>
> On Tue, Feb 16, 2016 at 4:25 PM, Winael <vinzjobard at ubuntu.com> wrote:
> > Hi,
> >
> > Thx for your answer
> >
> > On Tue, Feb 16, 2016 at 4:00 PM Sergio Schvezov
> > <sergio.schvezov at canonical.com> wrote:
> >>
> >> El martes, 16 de febrero de 2016 06h'19:08 PST, Mark Shuttleworth
> >> <mark at ubuntu.com> escribió:
> >> > Hi Winael
> >>
> >> Hello Winael
> >>
> >> > Thanks for trying snappy, let me put you in touch with Sergio who is
> >> > best placed to answer your questions.
> >>
> >> Thanks for bringing this email to my attention.I'll follow upon the
> >> mailing
> >> list.
> >>
> >> > Did you share your snapcraft.yaml so we can reproduce your issues?
> >>
> >> This indeed would be great to understand how you are trying to do what
> you
> >> want to do:-)
> >
> >
> > Well it's not really an issue. I'm learning, trying to understand an to
> do
> > the thing, so, that's why I have questions. I'm a very beginner, and
> trying
> > to move step by step, and writing all the reflexion for a future
> blogpost,
> > as "Snappy for Dummies" kind of thing.
> >
> > So for now my snapcraft.yaml looks like :
> >
> > <code>
> > name: etherpad-lite-unofficial # the name of the snap
> > version: 0.1 # the version of the snap
> > # The vendor for the snap (replace 'Vendor <email at example.com>')
> > vendor: Winael <vinzjobard at ubuntu.com>
> >
> > summary: Etherpad-lite, eally-real time collaborative editor # 79 char
> long
> > summary
> > description: Etherpad is a really-real time collaborative editor
> maintained
> > by the Etherpad Community # A longer description for the snap
> > icon: icon.png # A path to an icon for the package
> >
> > parts:
> >   etherpad-lite:
> >     plugin: nodejs
> >     source: git://github.com/ether/etherpad-lite
> >     source-subdir: src
> >     stage-packages:
> >       - gzip
> >       - git
> >       - curl
> >       - python
> >       - libssl-dev
> >       - pkg-config
> >       - build-essential
> > </code>
> >
> > In the draft on my blogpost, that I share on my github :
> >
> 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
> ,
> > I explain that the script InstallDeps.sh
> > (https://github.com/ether/etherpad-lite/blob/develop/bin/installDeps.sh)
> > check if dependancies are satisfied, with this kind of code
> >
> > <code>
> > ...
> > #Is curl installed?
> > hash curl > /dev/null 2>&1 || {
> >   echo "Please install curl" >&2
> >   exit 1
> > }
> > ...
> > </code>
> >
> > So I'm wondering, in the case of snappy how the check is done, if it
> > necessary to have this check or if I have to rewrite a script to replace
> > this one (I understantood that "glue" allow to overload some file,
> correct
> > me if I'm wrong)
> >
> > I didn't really understood how filesets work. If I understand well, I'll
> > have to create a filesets for the file I need to snap ?
> >
> > So that's it, just question from a "student" who just want to learn :)
> More
> > I more I will understand, and more I more I'll be able to do things by my
> > own, and other goal than my blogposts, I'll be able to lead workshops
> around
> > Snappy
> >
> > Thx a lot
> >
> > Cheers
> > Winael
> >>
> >>
> >>
> >> --
> >> Enviado con Dekko desde mi dispositivo Ubuntu
> >
> >
> > --
> > snappy-app-devel mailing list
> > snappy-app-devel at lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/snappy-app-devel
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20160216/a8b7d9db/attachment-0001.html>


More information about the snappy-app-devel mailing list