← Back to team overview

ubuntu-appstore-developers team mailing list archive

Re: Architecture support for click packages

 

Alright, this is an update on the current status of the architecture
support for click packages in the server-side, before I land this code.

When uploading a new version of the application the developer now has to
specify which architectures are supported by the provided binary. Right now
this is a multiple selection widget listing all architectures available,
and the developer has to select at least one.

Based on the selected architectures for the uploaded binary, the click
package filename will end either in
- _all.click if more than one architecture was selected
- _<arch>.click if a single architecture was selected

For existing applications, where we don't have the architecture data
stored, the files will still be ending in _unknown.click. We can address
that later if we need to change them.

Once we have click package introspection working, we should be able to
extract architecture information from the click package directly, and
remove the selection widget.


The only thing that bothers me slightly is that if we have apps A and B,
where A supports armhf and amd64, and B supports amd64 and i386, both click
package names will end in _all.click (so it's not possible to tell the arch
list from the name, only if it's single or multi arch).

Again, any thoughts on this are welcome.



On Wed, Sep 25, 2013 at 9:07 AM, Ricardo Kirkner <
ricardo.kirkner@xxxxxxxxxxxxx> wrote:

> Thank you all for your input. This has saved me a lot of work as I was
> starting to follow the wrong path.
>
> I will let you know how things look server-side when this is ready, and we
> can always ammend things if necessary.
>
> cheers,
> Ricardo
>
>
> On Wed, Sep 25, 2013 at 9:05 AM, Jamie Strandboge <jamie@xxxxxxxxxxxxx>wrote:
>
>> On 09/25/2013 06:28 AM, Sergio Schvezov wrote:
>> > On Tue, Sep 24, 2013 at 10:13 PM, Jamie Strandboge <jamie@xxxxxxxxxxxxx
>> > <mailto:jamie@xxxxxxxxxxxxx>> wrote:
>>
>> > The answer to that is easy, I told Jamie about the arch entry and it
>> was based
>> > on this conversation:
>> > http://irclogs.ubuntu.com/2013/06/28/%23ubuntu-devel.html#t14:37
>> >
>>
>> So moving this along, based on this thread, it seems clear that Colin is
>> free to
>> implement the architecture field in whatever way is best. A heads up when
>> all
>> this lands would be great.
>>
>> --
>> 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