On Tue, Mar 25, 2014 at 11:09 AM, Ricardo Kirkner <ricardo.kirk...@canonical.com> wrote: > Good news.. > > The API has been updated to scan new uploads and the reference client > implementation (lp:click-toolbelt) has also been updated to use the new API. > A new release (0.3) of click-toolbelt has also been published to PyPI.
Great \o/ > The new API is served at the same endpoint as the old upload api, but takes > an extra query string parameter to indicate that scanning is desired (this > was done to keep the endpoint backwards compatible until we decide to remove > the old approach completely). That is, POSTing to > > https://myapps.developer.ubuntu.com/dev/api/click-upload/<package_name>/?extract=1 > > will cause the uploaded binary file to be scanned to validate the package > and extract the new arch, framework and version number. If a metadata file > is also provided during the upload, it will be used to extract the > changelog. > > For more details on how to use the api, please look at the reference client > (click-toolbelt). I branched lp:click-toolbelt and looked good. Ideally can we get this packaged in the archives for the sdk et.al. to use? -- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp