← Back to team overview

ubuntu-appstore-developers team mailing list archive

Re: Click Package Support Tool(s)

 

On 11/4/13, 6:15 AM, James Tait wrote:
-----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

Thanks for publishing this, it looks like it will be useful for my app that I am writing to view and install Click apps from the app store.

~ Michael



Follow ups

References