Summary: | etc-update should ignore ".svn" and ".cvs" directories (and maybe others) | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Thomas Schweikle <tps> |
Component: | Tools | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | remy |
Priority: | High | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 216231 | ||
Attachments: | make etc-update and dispatch-conf ignore hidden directories |
Description
Thomas Schweikle
2007-04-03 20:36:22 UTC
Not an infra bug. etc-update is part of portage. wtf is a ".cvs" directory ? cvs uses "CVS" wonder if we can just be like any other tool ... ignore directories that start with a . i dont think anything installs a . dir on purpose ... This might be related to #164529. But I still don't get what the problem really is (other than cosmetic and possibly in execution time). Assume people using svn, cvs, or others to configure systems. Some centralized system management software does the same. etc-update should ignore repository files. Well, yes, I'm also using Subversion for /etc, but I don't have any problem with etc-update. Could you describe precisely the behavior that's bothering you? I am having the same problem. I just had the case that etc-update updated a file in a .svn directory (/etc/php/apache2-php5/.svn/text-base/php.ini.svn-base) this messed up my whole subversion history because now subversion was missing a file (the one with the number in front that etc-update normally uses as temporary files), I had to completely wipe all .svn directories below /etc/, delete the old subversion repository and create a new one. the problem probably occurs when subversion starts to track local changes in one of the temporary files. I also agree that we need an option in etc-update.conf. e.g.: # versioning system users # ignore versioning system diectories e.g. .svn for subversion ignore_dirs=".svn" Created attachment 171777 [details, diff]
make etc-update and dispatch-conf ignore hidden directories
Both etc-update and dispatch-conf ignore hidden directories, in svn r11927:11929.
This is fixed in 2.2_rc15. |