Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2766 - package.mask file is icky
Summary: package.mask file is icky
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 2765
  Show dependency tree
 
Reported: 2002-05-16 01:44 UTC by Arcady Genkin (RETIRED)
Modified: 2011-10-30 22:22 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arcady Genkin (RETIRED) gentoo-dev 2002-05-16 01:44:02 UTC
IMO the package mask file should be gone when Portage is rewritten.

1. It's inefficient to parse the entire 700+ line file just to determine
maskedness of one package.
2. Users that use rsync to synchronise can't keep packages permanently unmasked.
3. Users that use CVS or anonCVS to synchronise get collisions in the file.
4. Because the file is so large, it's easy to screw it up by having multiple
entries which conflict or some such.

Instead, I propose allowing an *optional* file named "MASK" (or whatever) in the
ebuild directory of each package.  This way it would be easy to see what
versions of the package are masked, if any, right from the ebuild directory for
that package.
Comment 1 George Shapovalov (RETIRED) gentoo-dev 2002-05-23 02:46:49 UTC
Hi Arcady

Please take a look at #1523
http://bugs.gentoo.org/show_bug.cgi?id=1523
First part of it (for which I already provided some code) introduces ebuild
stability levels. This can be used to do just what you want (and many more).

Eventually I think we should shift to new ebuild processing model and the fact
you come up with the suggestion similar to the first part of mine gives me at
least some feedback :). Should I say I will appreciate more specific comments as
well? ;)

BTW, should this bug be marked as a duplicate of #1523?


George
Comment 2 George Shapovalov (RETIRED) gentoo-dev 2002-05-23 02:48:58 UTC
added myself to CC
Comment 3 Thomas Raschbacher gentoo-dev 2003-01-19 08:23:13 UTC
stability levels sounds good to me ..

hmm.. what about a MASK directory with extra files for each category? (maybe xml
or just simple text)

greetings
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2003-07-15 00:25:10 UTC
Please add a "mask_overlay"/pinning mechanism then, including a tool to add, remove and get status reports of package masks too, to deal with it in a transparent way.

I guess, I'm not the only one who misses a local overlay for the package mask file. I made a simple script for myself for this purpose, but adding the own lines every time after syncing to package.mask is not the way it should work.
Comment 5 Nicholas Jones (RETIRED) gentoo-dev 2003-07-16 02:08:53 UTC
/etc/portage/package.mask
/etc/portage/package.unmask

ACCEPT_KEYWORDS