Bug#858406: allow the local admin to mark repositories and use marks for pinning
On Wed 2017-03-22 13:52:39 -0400, Julian Andres Klode wrote:
> On Tue, Mar 21, 2017 at 10:19:27PM -0400, Daniel Kahn Gillmor wrote:
>> I'm proposing a new apt source option "pinmark", set by the sysadmin, which
>> can then be used directly in the pinning.
>
> Back when I thought about this, I wanted to just call it "id".
I'd be fine with "id" :)
>> and then being able to place a specific pin based on the mark:
>>
>> Package: *
>> Pin: mark sketch
>> Pin-Priority: -10
>
> And here it would be
>
> Pin: source i=sketch
> (source id=sketch?)
Are there other things that use "Pin: source" ? i don't see them in
apt_preferences(8). If there are not, what is the advantage of adding
the level of indirection, as opposed to "Pin: id sketch"?
> or "Package: ?source-id(sketch)" when we get aptitude style
> patterns.
So you'd mix the constraint from the Pin: line into the Package: line
itself? How would it interact with another Pin: line(s) in the same
prefs stanza?
--dkg
Reply to: