← Back to team overview

ubuntu-appstore-developers team mailing list archive

Re: Click Package Support Tool(s)

 

Sorry, I meant on the desktop.




Michael

—
Sent from Mailbox for iPhone

On Mon, Nov 4, 2013 at 9:01 AM, Jamie Strandboge <jamie@xxxxxxxxxxxxx>
wrote:

> On 11/04/2013 07:41 AM, Michael Spencer wrote:
>> 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.
>> 
> Note, application confinement blocks access to installing click apps by other
> click apps. This would of course work fine if you only use this app privately or
> integrate it into the Ubuntu image (and therefore it is unconfined).
> -- 
> Jamie Strandboge                 http://www.ubuntu.com/
> -- 
> Mailing list: https://launchpad.net/~ubuntu-appstore-developers
> Post to     : ubuntu-appstore-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-appstore-developers
> More help   : https://help.launchpad.net/ListHelp

Follow ups

References