Hi Raphael,

On 01-01-2022 21:37, Raphael Hertzog wrote:
On Fri, 31 Dec 2021, Paul Gevers wrote:
Otherwise I would like to suggest to create two entries, one with
"Pin: release a=foo" and one with "Pin: release n=foo" so that
we are sure to match on any of the 3 fields.

I'll have to check and think about this. I remember that I had lots of
issues with coming up with changes to autopkgtest that also worked for
Ubuntu, as they use the same Codename for the real Suite and the *-proposed
Suite (which they call pocket). I don't recall if that was with respect to
pinning or other aspects of autopkgtest and it's requirement to manipulate
where packages should be installed from. Before committing your proposal I
need to understand that I'm not breaking existing valid configurations too.

I saw a comment mentionning this, but it was related to the "--apt-pocket"
option and I didn't change that part, which still uses the "a=foo" syntax.

https://salsa.debian.org/ci-team/autopkgtest/-/blob/master/lib/adt_testbed.py#L1263

Right, thanks for referencing that line as it has the bug number where the relevant information was. As the --pin-packages option will already have the *-pocket in the name, I think this would work for Ubuntu too. CC-ing Iain for a sanity check on our reasoning.

Paul

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to