← Back to team overview

ubuntu-appstore-developers team mailing list archive

Re: Architecture support for click packages

 

On Fri, Sep 27, 2013 at 6:05 PM, Martin Albisetti
<martin.albisetti@xxxxxxxxxxxxx> wrote:
> On Fri, Sep 27, 2013 at 5:17 PM, Ricardo Kirkner
>> Also, for proper filtering I suppose the full architecture list is to be
>> sent to the click index, right? So that we can have queries per specific
>> arch, disregarding of the filename (ie, even if the name contains 'all' or
>> 'multi', the click index would know the package supports armhf and amd64,
>> for example)
>
> Yes, absolutely sent to click index.

I'm making a click-scope branch to send the architecture as part of
the search query.

I first tried getting the architecture via uname, but I can only get
the linux arch (armv7l on my nexus 4, x86_64 on my desktop)

The right way seems to be with "dpkg --print-architecture", which
returns armhf and amd64 as expected.
Any objections to the scope using that?

cheers,
-- 
alecu


Follow ups

References