Le 05/11/2016 à 07:37, Spencer a écrit : > Small, well commented examples, but not too small so as to leave out > obviously wanted functionality, IMO, are way better than templates. > Part of the problem I have with any kind of template is OCD-based. I > don't want to start where someone else left off, and if I didn't write > it, I won't immediately understand it, and I'm too lazy to read your > code that's formatted in a way I don't like anyway. (At work, though, > I'm forced to wade through other people's crappy code.) > > Just having a nice suit of examples is the best, and I think the snap > peeps have written some, but as I recall, they could be a bit better. > Of course, an example for every permutation of build system and > use-case is too much, so you have to look to the snaps that the > community has written.
+1 on this, agreed that small examples, using cloud parts for most complex cases we want to capitalize on, will be greatly beneficial (more than a templating system IMHO). Cheers, Didier > > Ha! Mine are probably bad examples, though. Don't look at mine. > > On Nov 4, 2016, at 8:11 PM, Érico P <ericoporto2...@gmail.com > <mailto:ericoporto2...@gmail.com>> wrote: > >> Should be a place somewhere to store these recommended templates and >> allow fetching third-party templates (I am thinking on cookiecutter >> like templates). >> >> This has some resources on Electron, maybe it helps : >> https://github.com/szwacz/electron-boilerplate >> >> >> Em 5 de nov de 2016 00:00, "Chris Wayne" <chris.wa...@canonical.com >> <mailto:chris.wa...@canonical.com>> escreveu: >> >> There's really no standard way to build electron apps though >> >> >> On Nov 4, 2016 9:58 PM, "Aaron Honeycutt" >> <honeycuttaar...@gmail.com <mailto:honeycuttaar...@gmail.com>> wrote: >> >> Also electron projects >> >> >> On Fri, Nov 4, 2016, 9:20 PM XiaoGuo Liu >> <xiaoguo....@canonical.com >> <mailto:xiaoguo....@canonical.com>> wrote: >> >> +1 >> >> I think it may apply to "nodejs", "python", "tomcat", >> "mysql", "php", "java" etc. >> >> Best regards, >> XiaoGuo >> >> On Sat, Nov 5, 2016 at 1:39 AM, Benjamin Zeller >> <benjamin.zel...@canonical.com >> <mailto:benjamin.zel...@canonical.com>> wrote: >> >> Just a small proposal to have templates in snapcraft, >> that provide some sort of starting point for >> people without the need to read lots of tutorials, >> but get started with their project right away. >> >> My proposal would be to add a template engine in >> snapcraft, that generates predefined projects >> or at least a predefined snapcraft.yaml for a >> specific use case. >> >> Something like: >> >> snapcraft init --template=ubuntu-touch-app , which >> would bootstrap a simple snapcraft project >> targeting QML/Qt APIs. >> >> I think that could help people to get their apps >> snapped even faster. >> >> Cheers, >> >> Benjamin >> >> >> >> -- >> Snapcraft mailing list >> Snapcraft@lists.snapcraft.io >> <mailto:Snapcraft@lists.snapcraft.io> >> Modify settings or unsubscribe at: >> https://lists.ubuntu.com/mailman/listinfo/snapcraft >> <https://lists.ubuntu.com/mailman/listinfo/snapcraft> >> >> >> >> >> -- >> XiaoGuo, Liu >> -- >> Snapcraft mailing list >> Snapcraft@lists.snapcraft.io >> <mailto:Snapcraft@lists.snapcraft.io> >> Modify settings or unsubscribe at: >> https://lists.ubuntu.com/mailman/listinfo/snapcraft >> <https://lists.ubuntu.com/mailman/listinfo/snapcraft> >> >> -- >> >> Aaron Honeycutt >> - Ubuntu Fl Loco South Lead >> - Kubuntu Council Member >> >> >> -- >> Snapcraft mailing list >> Snapcraft@lists.snapcraft.io >> <mailto:Snapcraft@lists.snapcraft.io> >> Modify settings or unsubscribe at: >> https://lists.ubuntu.com/mailman/listinfo/snapcraft >> <https://lists.ubuntu.com/mailman/listinfo/snapcraft> >> >> >> -- >> Snapcraft mailing list >> Snapcraft@lists.snapcraft.io <mailto:Snapcraft@lists.snapcraft.io> >> Modify settings or unsubscribe at: >> https://lists.ubuntu.com/mailman/listinfo/snapcraft >> <https://lists.ubuntu.com/mailman/listinfo/snapcraft> >> >> -- >> Snapcraft mailing list >> Snapcraft@lists.snapcraft.io <mailto:Snapcraft@lists.snapcraft.io> >> Modify settings or unsubscribe at: >> https://lists.ubuntu.com/mailman/listinfo/snapcraft > >
-- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft