Paul Wise <p...@debian.org> writes:
> On Fri, May 23, 2014 at 10:00 PM, Johannes Schauer  wrote:

>> In my code I counted all debian architectures as "valid" which are
>> listed on packages.debian.net. Is there a better way to retrieve
>> "valid" architectures in this context?

> Dpkg::Arch::get_valid_arches, which looks at /usr/share/dpkg/*table

I'm pretty sure that Lintian already uses that data to check whether
architectures are valid (I vaguely remember working on that code), but it
may well be that the existing check doesn't get the wildcards right.

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to debian-qa-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/877g5bj4za....@windlord.stanford.edu

Reply via email to