Bug#121132: [patch] Proposed regex pinning feature
On Sat, Mar 28, 2009 at 06:19:49PM +0000, Duncan Gibb wrote:
> Hi
>
> The attached patch adds a very basic and crufty extension to apt policy
> such that pinnings can use regex matching. If the name given on the
> "Package:" line in the apt preference file begins and ends with '/', it
> is interpreted as a regular expression (with ^ and $ pre- and post-fixed
> for a semblance of safety).
>
> So you can write, for example:
>
> Package: /.*openoffice\.org.*/
> Pin: release a=unstable
> Pin-Priority: 900
I would like to have something like this instead:
Package: openoffice.org-*
This is also similar to what seems to be available for
versions already (according to apt_preferences(5)):
Pin: version 5.8*
--
Julian Andres Klode - Free Software Developer
Debian Developer - Contributing Member of SPI
Ubuntu Member - Fellow of FSFE
Website: http://jak-linux.org/ XMPP: juliank@jabber.org
Debian: http://www.debian.org/ SPI: http://www.spi-inc.org/
Ubuntu: http://www.ubuntu.com/ FSFE: http://www.fsfe.org/
Reply to: