Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299982 - repoman should handle cvs ignored files better
Summary: repoman should handle cvs ignored files better
Status: RESOLVED OBSOLETE
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-07 00:32 UTC by SpanKY
Modified: 2017-03-16 00:39 UTC (History)
0 users

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 SpanKY gentoo-dev 2010-01-07 00:32:01 UTC
often times, a `cvs up` will generate files that start with .# ... repoman should completely ignore these instead of failing with:
  file.name                     1
   /usr/local/gentoo-x86/net-misc/ssvnc/.#adsf: char '#'

if you have a custom ~/.cvsrc that ignores more stuff, then repoman will ignore those files too, so the -f flag should be added to `cvs -n up`.

as for the implicit list of files, repoman still adds them to the Manifest.  so if you have a foo.rej in the dir, repoman will not complain about it being added to cvs, but it will add it to the Manifest.  the list can be found here:
http://www.cvsnt.org/manual/html/cvsignore.html

since these file patterns arent specific to cvs (i dont think we should let people commit *.rej/*.orig/.* files to the tree), perhaps it'd be better to have repoman itself manage the ignored files and run `cvs -n up` with -I! ...
Comment 1 SpanKY gentoo-dev 2010-08-24 18:51:38 UTC
although perhaps the issue is this:

pym/portage/cvstree.py:
ignore_list = re.compile("(^|/)(RCS(|LOG)|SCCS|CVS(|\.adm)|cvslog\..*|tags|TAGS|\.(make\.state|nse_depinfo)|.*~|(\.|)#.*|,.*|_$.*|.*\$|\.del-.*|.*\.(old|BAK|bak|orig|rej|a|olb|o|obj|so|exe|Z|elc|ln)|core)$")

repoman should not be hashing files that the scm itself is actively ignoring
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2017-03-16 00:39:25 UTC
CVS specific... obsoleting