snappy source foo

Leo Arias leo.arias at canonical.com
Sat Oct 31 05:43:10 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 2015-10-30 23:30, Dustin Kirkland wrote:
> I don't care so much about the source code to xkcd-webserver, but
> what I really want to know is how to package something that's
> *really* similar.  And for that, I really just want to clone the
> packaging.

Is that an example, or is that the package you are after?
If it's the package, then:

$ git clone  git at github.com:ubuntu-core/snappy-testdata.git
$ cd snappy-testdata/python-xkcd-webserver/
$ ls
bin  meta  README  www
$ snappy build
Generated 'xkcd-webserver_0.5_all.snap' snap
$ ls
bin  meta  README  www  xkcd-webserver_0.5_all.snap

These examples are not yet using snapcraft. I really love how
snapcraft gives us reproducible builds. And I think the snappy source
command you mention would be great. With a little more metadata about
the environment, we would be able to verify that the source
corresponds to the snap, which will be essential for me once my house
is totally under the control of smart ubuntu devices.

pura vida

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWNFTuAAoJEIUvYw0No8DgHJcP/2LKMIM6CFRkDOnxx8w4ZvMR
QwKeE3VyeqRDwbCgA/olGkl9TR56S/eb8GkNVJSMjZk7nmrQkx0snioP55rJDv8Q
K8FEkEdK44tYGtUUqPnJY3y7tI+UbmAPtH7W+MojCGEajP/Lo3MgNhnrbL+sZpim
3pwLZ4xxsptfV4Y7LdEVrZ28pa/0n2YzyFU9mfJOg3zXfiT8u0oT9//Guz0hFH1H
d1PfdtJUtSLMCttOEACcXlj0WCYSSsRRPUyrXimsMcvgZKSWIWtdRF/eXSjykSdf
uqqbn83nDpr6sWd/zB6F4wQVo9hF4bjo9Pp4m0Ki+RzonNLias4hXFlU1Ht1FPI+
dfyDvrDn0JrJyebIIk09MlWabF1IJsX9c1iizIrb6xmuFsQfhHd0H4Y9nfOtI3Kp
Nit4oxjuE51fzC3PHZG55pckpmcwWKmp2kiOVEqAln48gveqqEO4rjZzLXvVr1jd
IDyKfRw1AiKbYh14H/lWArQUwkc6XQE5k9OJ7nP9JVXixJV/I1xQ+9Y4Tcu5vRbl
i/qKbFsCvwsTgZhRa2MfpU9Qoicaq1cqkPBotdy3ie6HgRbeVbpvB7guplec1MZF
UDUSWJdGbnDK57sA4pRrsgqjQOAp0uJ7KdXDgB6nUMqQJiRxVu8OB63UXAm1nkdv
PaMGFRGeni6Wx6x8OY2V
=JGn3
-----END PGP SIGNATURE-----



More information about the snappy-devel mailing list