Most of the interaction will be with MyApps, but the final upload has to go to Click-Updown, because uploading to MyApps directly is a waste of resources (you'd double up the time and total bandwidth required + causing more unnecessary strain on the MyApps servers if we have to proxy all uploads through it).
On Tue, Sep 3, 2013 at 9:34 AM, Łukasz Czyżykowski < [email protected]> wrote: > Why not limit the interaction to just MyApps, and let devportal to worry > about interacting with updown? > > > On 2 September 2013 15:02, Ricardo Kirkner > <[email protected]>wrote: > >> Hello everyone, >> >> I'd like to start the work to allow uploading click packages to the >> AppStore directly from within the SDK by proposing some ideas and getting >> feedback on them. >> >> The current goal, as we understand it is to: >> - allow developers to upload a new click package directly from the SDK >> - allow developers to upload an update to an existing click app directly >> from the SDK >> >> In order to meet these initial goals I propose the following approach: >> >> 1. Provide an API in the Click-Updown service that >> - allows uploading a click app >> - is authenticated >> - will verify the uploaders credentials to correspond to an existing >> Ubuntu One account >> - will verify the requested application already exists in the MyApps >> catalog >> - will verify that the uploader is the application owner (or has the >> equivalent permissions) >> >> 2. Write a reference implementation library that knows how to interact >> with >> - the Ubuntu One account API to validate the user's credentials and embed >> them properly into the upload request >> - the Click-Updown API to submit the upload request >> >> 3. Write a reference implementation script that will allow simple >> uploading of click packages from the CLI >> >> Limitations >> ---------------- >> >> In the first iteration, the click app must already exist in the MyApps >> catalog, and the user will be requested to create it through the web if >> that is not the case. In future iterations this might be extended to allow >> registering the app directly from within the SDK. >> >> The initial version of these APIs will only support uploading of click >> packages, but not publishing them automatically. Changes the to state of a >> click app must be performed by following the existing web-based review >> flows. >> >> >> Let me know what you think of this and of any other details that might be >> relevant to provide the simplest and most useful experience to developers. >> >> Ricardo >> >> -- >> Mailing list: https://launchpad.net/~ubuntu-appstore-developers >> Post to : [email protected] >> Unsubscribe : https://launchpad.net/~ubuntu-appstore-developers >> More help : https://help.launchpad.net/ListHelp >> >> >
-- Mailing list: https://launchpad.net/~ubuntu-appstore-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-appstore-developers More help : https://help.launchpad.net/ListHelp

