On Fr, 2015-06-26 at 18:55 +0200, Marc Haber wrote:
(...)
> the rather terse "Debian" in the normal Debian archives. This leads to
> pin lines like
>
> Pin: release n=sid-test-unstable, o=Mini-Buildd archive zg on
> spinturn.zugschlus.de
>
> which is like asking for trouble in my opinion regarding the spaces in
> the origin value. Do I need to quote the string?
No. You even must not.
> Do I need to quote
> the spaces?
No. You even must not.
> Will it work when the "o=" part is not last in the line?
Yes.
> Will it work when I use an additional space before the comma
> separating the next pin item in the pin line?
Yes ;).
I cannot proof this with actual documentaion ;), but is has worked so
for years and years: it seems apt splits the string on ",", and then
removes leading and tailing whitespaces on the items.
> All this could be avoided by using a much shorter default value for
> Origin, or making the Origin configurable. As far as I understand the
> new mini-buildd logic, this field should be part of the "distribution"
> object inside mini-buildd's configuration.
Agreed anyway (that this should be configurable).
The default value needs to be more complicated, as we want to generate a
different Origin by default for any mini-buildd instance.
Hth,
S
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org