Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45926 - There is no default /etc/portage/package.keywords
Summary: There is no default /etc/portage/package.keywords
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-27 13:55 UTC by M. Creidieki Crouch
Modified: 2005-10-31 05:29 UTC (History)
1 user (show)

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


Attachments
Proposed default /etc/portage/package.keywords (package.keywords,1.17 KB, text/plain)
2004-03-27 13:56 UTC, M. Creidieki Crouch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description M. Creidieki Crouch 2004-03-27 13:55:31 UTC
It would be useful if there were a default /etc/portage/package.keywords file, explaining the purpose of the file and they syntax. I have written a sample file, which you are welcome to use; I will include it.
Comment 1 M. Creidieki Crouch 2004-03-27 13:56:42 UTC
Created attachment 28169 [details]
Proposed default /etc/portage/package.keywords

I wasn't sure what to call ~ARCH and ARCH, so I called them "stable" and
"testing". That may need to be changed.
Comment 2 SpanKY gentoo-dev 2004-03-27 22:46:23 UTC
thats what the manpage is for, `man portage`
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2004-03-28 01:23:16 UTC
Plus default files mean that etc-update catches it, making it possible for users to overwrite their /etc/portage files. #41658 is working on better documentation for /etc/portage, hopefully improving the visibility of /etc/portage to the userbase.
Comment 4 Dennis Nienhüser (RETIRED) gentoo-dev 2004-05-11 01:51:47 UTC
I think it's right not to create /etc/portage/package.keywords etc., but IMO package.keywords.example and so on would be useful. Quite a few people complain they can't use package.keywords as this file doesn't exist on their systems.
Comment 5 Aaron Peterson 2004-08-02 00:25:45 UTC
I protest -- requesting reopening of bug, because this is basic meaning behind / compromise.

And propose a possible compromise for the issue of etc-update screwing with things.

provide 
/etc/portage/package.keywords.example
/etc/portage/package.use.example
/etc/portage/package.mask.example
/etc/portage/package.unmask.example

**********
screw man portage, and any documentation that is too long to see on one screen.

Yay system exploration, and the discoverable user interface.

I will create a duplicate of this bug if it is not reopened in a few days, as it is very important to me, and I believe to many peoples use of Gentoo.  If this stops 4 /etc/portage questions per day on IRC, it will pay for itself.. in ... like 5 days.

*****************
/etc/portage/package.keywords.example
#add or remove arches (x86 sparc amd64 ppc ppc64 etc)
#[operator] pkg-grp/pkg-name[version-number] arch ~arch -arch -~arch


/etc/portage/package.use.example
# operator can be = >= or <=
# useflags are  -useflags or useflags (no +'s)
#[operator] pkg-grp/pkg-name[version-number] useflags -flagsnotwanted
#yada yada

/etc/portage/package.mask.example
#yada yada


/etc/portage/package.unmask.example
#fill in to override /usr/portage/profiles/package.mask
#by copying the related line into this file
Comment 6 Jasper Thrussell 2004-10-24 17:43:53 UTC
At the very least we should create the /etc/portage directory, a lot of users are confused by the fact that it doesn't exist by default. 
Comment 7 M. Creidieki Crouch 2004-10-24 20:10:48 UTC
Is there any developer policy on configuration files (when they should exist, what they should contain, comments, etc.)?  I was looking for this after I originally filed the bug, and I couldn't find any.  I think that the creation of that sort of policy would go a long way towards fixing these sorts of issues.
Comment 8 SpanKY gentoo-dev 2004-10-25 16:01:56 UTC
policy is to let package maintainers maintain their package as they see fit
Comment 9 Jesse 2005-10-31 05:29:40 UTC
it's a shame this was voted down; I was just about to post another request for
this when I found this marked as wontfix.