Bug#596097: apt: Please support setting a pin of 100 from within an archive (NotAutomaticButUpdates)
On Mi, 2010-09-08 at 18:31 +0200, Alexander Wirt wrote:
> Package: apt
> Version: 0.8.3
> Severity: wishlist
>
> Hi,
>
> for backports.debian.org we use the NotAutomatic Flag to prevent users
> from installing every backport. Unfortunatly that has the drawback of
> preventing updates from installed backports. Even if our docs trys to
> force users of pinning backports to 100 several don't read the docs or
> don't understand it.
>
> It would be great if apt would support a Flag like:
> NotAutomaticButUpdates or so which pins a remote repo to 100. If
> needed I can provide a patch but my C++ isn't so fluid, so I would
> prefer if I don't have to :).
You could also see it as a chance to become a bit more fluid in C++.
>
> For backward compability it would be nice NotAutomatic and
> NotAutomaticButUpdates would both work.
>
> Also it would be great if we could get the change into Squeeze :).
My opinion: It may break some applications making use of NotAutomatic
flags if you suddenly add a third type of sources (0, NotAutomatic,
NotAutomaticButUpdates). But the breakage is probably not that hard.
I'd like to have per-source default pin priorities instead of yet
another NotAutomatic flag, but that's too complicated and breaks the
ABI.
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
Reply to: