← Back to team overview

ubuntu-appstore-developers team mailing list archive

Click Package Support Tool(s)

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

During the course of developing, testing and supporting the various
components of the Click App Store, I've had cause on numerous
occasions to verify that a Click Package is downloadable.  Obviously
we can do this using a handset, but sometimes, for whatever reason,
this isn't possible.  But Click downloads require an OAuth-signed
request, and it's a pain having to set this up every time.

To aid in this, I hacked together a little script so that I can very
easily download Click Packages from the command line on my dev
machine.  It takes care of the SSO login and the OAuth stuff, and
saves your details in a read-only file in your XDG config directory
(~/.config by default) so subsequent runs only need your e-mail
address and a package name.  The downloaded file will be saved in your
home directory.

It currently makes an assumption about where to find the package
details, and isn't tested or particularly well structured, but I
thought it might already be useful for others, so I dropped it on
Launchpad[0].  As time allows I hope to scrub it up a bit and add
other scripts that I find myself using frequently.

Cheers,

JT

[0] https://code.launchpad.net/~jamestait/+junk/click-support-tools
- -- 
James Tait, BSc. | https://launchpad.net/~jamestait/
Software Engineer, Canonical Online Services, Web and Ops Team
Ubuntu - Linux for human beings | www.ubuntu.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlJ3j8YACgkQyDo4xMNTLiZbEgCgriFQFFajniQonWq6V8MM8pbN
zkwAn2X5Vx57+KaEmvzVZe1yIhnQEbRG
=Wszn
-----END PGP SIGNATURE-----


Follow ups