[elbe-devel] [PATCH 2/4] elbexml: Handle mirror's options

Olivier Dion dion at linutronix.de
Thu Jul 16 17:02:59 CEST 2020


On Wed, 15 Jul 2020, Torben Hohn <torben.hohn at linutronix.de> wrote:
> On Tue, Jun 30, 2020 at 12:05:17PM -0400, Olivier Dion wrote:
>> This also remove the global 'noauth'.  It should be passed as a
>> <option> tag instead for individual mirror.
>
> You remove noauth, and dont remove it from dbsfed.xsd
> This also breaks the current support for 

We can emit warning in the preprocessor when <noauth> is used and add
trusted=yes to the mirrors.  Does noauth applied to _all_ mirrors?

> <binary> [arch=amd64] http://LOCALMACHINE/custom/xxx_amd64_qtrepo
> jessie main </binary>

This is trivial to parse in the preprocessor.  Just detecting embedded
option in a binary, then insert a <option> tag.

> which is used by some projects.
>
> We can break old features, but i want a deprecation phase, in which the
> proprocessor supports this.
>
>
> we also need these option on <binary> tags.
>
>
> when multiarch is used, we get problems, when a repo does not contain
> armhf packages, and is not marked with [arch=amd64] 
>
>
> i am still puzzled, whether its no easier, to just
>
> add <primary_options>arch=amd64 trusted=yes</primary_options>
>
> and just parse the url, so that we can a trusted=yes when no auth is
> used.

-- 
Olivier Dion
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen


More information about the elbe-devel mailing list