<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 11/05/2016 07:37 AM, Spencer wrote:<br>
</div>
<blockquote
cite="mid:4F336600-EB8B-477B-AED4-B07304A61EC0@gmail.com"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<div>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.)</div>
</blockquote>
Sure , having templates does not mean that there will be no
documentation or examples, its just a additional way for people who
like to have the bootstrapping already done<br>
for them. And btw I think the templates should be really lean with
as least code as possible. Otherwise the developer needs to clean
them up from what he/she does not need.<br>
<blockquote
cite="mid:4F336600-EB8B-477B-AED4-B07304A61EC0@gmail.com"
type="cite">
<div id="AppleMailSignature"><br>
</div>
<div id="AppleMailSignature">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.</div>
<div id="AppleMailSignature"><br>
</div>
<div id="AppleMailSignature">Ha! Mine are probably bad examples,
though. Don't look at mine.</div>
<div><br>
On Nov 4, 2016, at 8:11 PM, Érico P <<a
moz-do-not-send="true" href="mailto:ericoporto2008@gmail.com">ericoporto2008@gmail.com</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<p dir="ltr">Should be a place somewhere to store these
recommended templates and allow fetching third-party
templates (I am thinking on cookiecutter like templates). </p>
<p dir="ltr">This has some resources on Electron, maybe it
helps : <a moz-do-not-send="true"
href="https://github.com/szwacz/electron-boilerplate">https://github.com/szwacz/electron-boilerplate</a></p>
<div class="gmail_extra"><br>
<div class="gmail_quote">Em 5 de nov de 2016 00:00, "Chris
Wayne" <<a moz-do-not-send="true"
href="mailto:chris.wayne@canonical.com">chris.wayne@canonical.com</a>>
escreveu:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">There's really no standard way to build
electron apps though</p>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Nov 4, 2016 9:58 PM,
"Aaron Honeycutt" <<a moz-do-not-send="true"
href="mailto:honeycuttaaron3@gmail.com"
target="_blank">honeycuttaaron3@gmail.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<p dir="ltr">Also electron projects</p>
<br>
<div class="gmail_quote">
<div dir="ltr">On Fri, Nov 4, 2016, 9:20 PM
XiaoGuo Liu <<a moz-do-not-send="true"
href="mailto:xiaoguo.liu@canonical.com"
target="_blank">xiaoguo.liu@canonical.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div dir="ltr"
class="m_7334908495358455929m_-8458223049863469606gmail_msg">+1
<div
class="m_7334908495358455929m_-8458223049863469606gmail_msg"><br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
</div>
<div
class="m_7334908495358455929m_-8458223049863469606gmail_msg">I
think it may apply to "nodejs", "python",
"tomcat", "mysql", "php", "java" etc.</div>
<div
class="m_7334908495358455929m_-8458223049863469606gmail_msg"><br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
</div>
<div
class="m_7334908495358455929m_-8458223049863469606gmail_msg">Best
regards,</div>
<div
class="m_7334908495358455929m_-8458223049863469606gmail_msg">XiaoGuo</div>
</div>
<div class="gmail_extra
m_7334908495358455929m_-8458223049863469606gmail_msg"><br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
<div class="gmail_quote
m_7334908495358455929m_-8458223049863469606gmail_msg">On
Sat, Nov 5, 2016 at 1:39 AM, Benjamin
Zeller <span dir="ltr"
class="m_7334908495358455929m_-8458223049863469606gmail_msg"><<a
moz-do-not-send="true"
href="mailto:benjamin.zeller@canonical.com"
class="m_7334908495358455929m_-8458223049863469606gmail_msg"
target="_blank">benjamin.zeller@canonical.com</a><wbr>></span>
wrote:<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
<blockquote class="gmail_quote
m_7334908495358455929m_-8458223049863469606gmail_msg"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">Just a
small proposal to have templates in
snapcraft, that provide some sort of
starting point for<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
people without the need to read lots of
tutorials, but get started with their
project right away.<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
My proposal would be to add a template
engine in snapcraft, that generates
predefined projects<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
or at least a predefined snapcraft.yaml
for a specific use case.<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
Something like:<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
snapcraft init
--template=ubuntu-touch-app , which
would bootstrap a simple snapcraft
project<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
targeting QML/Qt APIs.<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
I think that could help people to get
their apps snapped even faster.<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
Cheers,<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
Benjamin<span
class="m_7334908495358455929m_-8458223049863469606m_4588456997734024557HOEnZb
m_7334908495358455929m_-8458223049863469606gmail_msg"><font
class="m_7334908495358455929m_-8458223049863469606gmail_msg"
color="#888888"><br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
-- <br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
Snapcraft mailing list<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
<a moz-do-not-send="true"
href="mailto:Snapcraft@lists.snapcraft.io"
class="m_7334908495358455929m_-8458223049863469606gmail_msg"
target="_blank">Snapcraft@lists.snapcraft.io</a><br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
Modify settings or unsubscribe at: <a
moz-do-not-send="true"
href="https://lists.ubuntu.com/mailman/listinfo/snapcraft"
rel="noreferrer"
class="m_7334908495358455929m_-8458223049863469606gmail_msg"
target="_blank">https://lists.ubuntu.com/mailm<wbr>an/listinfo/snapcraft</a><br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
</font></span></blockquote>
</div>
<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg"
clear="all">
<div
class="m_7334908495358455929m_-8458223049863469606gmail_msg"><br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
</div>
</div>
<div class="gmail_extra
m_7334908495358455929m_-8458223049863469606gmail_msg">--
<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
<div
class="m_7334908495358455929m_-8458223049863469606m_4588456997734024557gmail_signature
m_7334908495358455929m_-8458223049863469606gmail_msg"
data-smartmail="gmail_signature">
<div dir="ltr"
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
<div
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
<div dir="ltr"
class="m_7334908495358455929m_-8458223049863469606gmail_msg">XiaoGuo,
Liu </div>
</div>
</div>
</div>
</div>
--<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
Snapcraft mailing list<br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
<a moz-do-not-send="true"
href="mailto:Snapcraft@lists.snapcraft.io"
class="m_7334908495358455929m_-8458223049863469606gmail_msg"
target="_blank">Snapcraft@lists.snapcraft.io</a><br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
Modify settings or unsubscribe at: <a
moz-do-not-send="true"
href="https://lists.ubuntu.com/mailman/listinfo/snapcraft"
rel="noreferrer"
class="m_7334908495358455929m_-8458223049863469606gmail_msg"
target="_blank">https://lists.ubuntu.com/mailm<wbr>an/listinfo/snapcraft</a><br
class="m_7334908495358455929m_-8458223049863469606gmail_msg">
</blockquote>
</div>
<div dir="ltr">-- <br>
</div>
<div data-smartmail="gmail_signature">
<p dir="ltr">Aaron Honeycutt<br>
- Ubuntu Fl Loco South Lead<br>
- Kubuntu Council Member</p>
</div>
<br>
--<br>
Snapcraft mailing list<br>
<a moz-do-not-send="true"
href="mailto:Snapcraft@lists.snapcraft.io"
target="_blank">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a
moz-do-not-send="true"
href="https://lists.ubuntu.com/mailman/listinfo/snapcraft"
rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailm<wbr>an/listinfo/snapcraft</a><br>
<br>
</blockquote>
</div>
</div>
<br>
--<br>
Snapcraft mailing list<br>
<a moz-do-not-send="true"
href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a
moz-do-not-send="true"
href="https://lists.ubuntu.com/mailman/listinfo/snapcraft"
rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/snapcraft</a><br>
<br>
</blockquote>
</div>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>-- </span><br>
<span>Snapcraft mailing list</span><br>
<span><a moz-do-not-send="true"
href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a></span><br>
<span>Modify settings or unsubscribe at: <a
moz-do-not-send="true"
href="https://lists.ubuntu.com/mailman/listinfo/snapcraft">https://lists.ubuntu.com/mailman/listinfo/snapcraft</a></span><br>
</div>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<p><br>
</p>
</body>
</html>