summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bug #196043 - Implement a `portageq owners <root> [<filename>]+`Zac Medico2007-10-171-1/+66
| | | | | | | | | command that is suitable for identifying all packages that own one or more files when a file collision has occurred. This uses dblink.isowner() so that the query works properly even when paths are ambiguous due to symlinked directories. svn path=/main/trunk/; revision=8154
* Optimize dblink.isowner() to use fewer stat calls byZac Medico2007-10-171-15/+38
| | | | | | | | | | only collecting stat results for parent directories. This provides equivalent accuracy to the previous approach but will perform much better when used to scan all installed packages for owners in the event of a file collision. svn path=/main/trunk/; revision=8153
* Only re.compile() the normalize_needed pattern onceZac Medico2007-10-161-2/+4
| | | | | | rather than for each dblink constructor call. svn path=/main/trunk/; revision=8152
* In dblink.getcontents(), use a regular expression to detectZac Medico2007-10-161-2/+12
| | | | | | | | | | | when path normalization is required. Also, only join with ${ROOT} when necessary. This allows unnecessary normpath and join calls to be optimized away in the general case, reducing the cpu time for `equery belongs <filename>` by about 50%. M pym/portage/dbapi/vartree.py svn path=/main/trunk/; revision=8151
* Use EmergeConfig instead of portage.config in RootConfigMarius Mauch2007-10-161-17/+12
| | | | svn path=/main/trunk/; revision=8150
* Move clean_world() into WorldSetMarius Mauch2007-10-162-35/+33
| | | | svn path=/main/trunk/; revision=8149
* use skipfile rather than timestamp to ignore processed filesMarius Mauch2007-10-161-36/+25
| | | | svn path=/main/trunk/; revision=8148
* Also use EmergeConfig() in MergeTaskMarius Mauch2007-10-161-15/+16
| | | | svn path=/main/trunk/; revision=8147
* fix typoMarius Mauch2007-10-161-1/+1
| | | | svn path=/main/trunk/; revision=8146
* Replace getlist() with PackageSet.getAtoms()Marius Mauch2007-10-161-33/+2
| | | | svn path=/main/trunk/; revision=8145
* subclass portage.config to include a setconfig instance to avoid adding one ↵Marius Mauch2007-10-162-26/+40
| | | | | | more parameter to most of the emerge functions svn path=/main/trunk/; revision=8144
* Add debug mode to display the libraries that cause the package to be includedMarius Mauch2007-10-161-2/+11
| | | | svn path=/main/trunk/; revision=8143
* Move the emerge module to _emerge to make it privateZac Medico2007-10-163-6/+6
| | | | | | | since it's mostly unsuitable for api consumers at this time. svn path=/main/trunk/; revision=8142
* Fix --help summary so that "commit" mode shows.Zac Medico2007-10-151-1/+1
| | | | svn path=/main/trunk/; revision=8140
* Update emacs and vim docs to reference NOTE_2.Zac Medico2007-10-151-3/+3
| | | | svn path=/main/trunk/; revision=8138
* Update NOTE_2 to document proper use of the using_editorZac Medico2007-10-151-1/+2
| | | | | | config option. svn path=/main/trunk/; revision=8136
* Bug #195949 - Add one more using_editor conditional forZac Medico2007-10-151-2/+10
| | | | | | diff_command. svn path=/main/trunk/; revision=8130
* Bug #195949 - Use a different diff_command sanity checkZac Medico2007-10-151-7/+14
| | | | | | when using_editor is true. svn path=/main/trunk/; revision=8129
* remove unused tmpfs variableMarius Mauch2007-10-152-18/+0
| | | | svn path=/main/trunk/; revision=8128
* Document the "manifest" mode.Zac Medico2007-10-151-0/+3
| | | | svn path=/main/trunk/; revision=8126
* Sort the modes in the repoman --help output.Zac Medico2007-10-151-0/+3
| | | | svn path=/main/trunk/; revision=8125
* Add a note to clarify os.walk() behavior with respectZac Medico2007-10-141-0/+3
| | | | | | to symlinks to directories. svn path=/main/trunk/; revision=8124
* Remove the checks for files in symlinked directoriesZac Medico2007-10-141-13/+2
| | | | | | | | | from the collision protect code since it hasn't been needed ever since the followSymlinks parameter was disabled for portage.listdir() calls in order to prevent infinite recursion loops. svn path=/main/trunk/; revision=8121
* In some cases, openpty can be slow when it fails. Therefore,Zac Medico2007-10-131-7/+16
| | | | | | stop trying to use it after the first failure. svn path=/main/trunk/; revision=8119
* Avoid an error message from find when "${D}"/usr/shareZac Medico2007-10-131-1/+1
| | | | | | does not exist. svn path=/main/trunk/; revision=8117
* Remove unused import.Zac Medico2007-10-131-1/+0
| | | | svn path=/main/trunk/; revision=8115
* In the file collision eerror output, don't colorize theZac Medico2007-10-131-2/+2
| | | | | | file paths since the escape codes look ugly in the log. svn path=/main/trunk/; revision=8114
* Handle the PortageException that can be raised fromZac Medico2007-10-131-1/+6
| | | | | | portage.mail.send_mail(). svn path=/main/trunk/; revision=8102
* Make the file collision eerror message less verboseZac Medico2007-10-131-9/+11
| | | | | | when in --quiet mode. svn path=/main/trunk/; revision=8100
* Remove a chdir() call that's no longer needed for theZac Medico2007-10-131-10/+0
| | | | | | collision-protect symlink code. svn path=/main/trunk/; revision=8098
* Use os.listdir() instead of portage.listdir() in dblink.mergeme().Zac Medico2007-10-131-1/+1
| | | | svn path=/main/trunk/; revision=8097
* In dblink.treewalk(), use os.walk() instead of portage.listdir()Zac Medico2007-10-131-13/+15
| | | | | | | in order to avoid cacheddir() bloat when listing the files to be merged from ${D}. svn path=/main/trunk/; revision=8096
* Bug #195370 - Filter some more bogus matches due toZac Medico2007-10-121-1/+5
| | | | | | old-style virtuals. svn path=/main/trunk/; revision=8093
* Remove a redundant call to elog_process().Zac Medico2007-10-121-2/+0
| | | | svn path=/main/trunk/; revision=8091
* s:this package wants:this package will:Zac Medico2007-10-121-1/+1
| | | | svn path=/main/trunk/; revision=8089
* Bug #195527 - Add some more information to the file collisionZac Medico2007-10-121-4/+10
| | | | | | | | | | | | eerror message to try and prevent user confusion: - Hint that `equery belongs <filename>` can be used to find the installed package that owns a file. - Advise then NOT to file a bug without reporting exactly which two packages install the same file(s). svn path=/main/trunk/; revision=8087
* Bug #195527 - Unconditionally detect file collisions and logZac Medico2007-10-121-10/+43
| | | | | | | | them as eerror messages via elog. This will allow us to collect more file collision data but it won't be quite as annoying as enabling collision-protect by default would be. svn path=/main/trunk/; revision=8086
* Use writemsg() to send exception string to stderr.Zac Medico2007-10-121-1/+2
| | | | svn path=/main/trunk/; revision=8058
* Pass into the PackageIndex constructor a list of packageZac Medico2007-10-122-19/+24
| | | | | | metadata keys that inherit a default value from the header. svn path=/main/trunk/; revision=8055
* Pass default package metadata values into the PackageIndexZac Medico2007-10-122-16/+28
| | | | | | constructor for optional things like EAPI and SLOT. svn path=/main/trunk/; revision=8054
* Sync code between binarytree.inject() and populate().Zac Medico2007-10-121-15/+20
| | | | svn path=/main/trunk/; revision=8053
* Split USE evaluation code out of binarytree.inject() soZac Medico2007-10-112-34/+29
| | | | | | that it can be reused in populate(). svn path=/main/trunk/; revision=8052
* Strip the leading path separator from USER_CONFIG_PATHZac Medico2007-10-111-1/+2
| | | | | | so that os.path.join works correctly. svn path=/main/trunk/; revision=8051
* In depgraph.select_dep(), check for existing nodes inZac Medico2007-10-111-1/+2
| | | | | | installed packages when necessary. svn path=/main/trunk/; revision=8050
* typo fixMarius Mauch2007-10-111-1/+1
| | | | svn path=/main/trunk/; revision=8049
* Do not use aux_get to parse the NEEDED file as we need to distinguish spaces ↵Marius Mauch2007-10-111-2/+2
| | | | | | and newlines svn path=/main/trunk/; revision=8048
* Update todo listMarius Mauch2007-10-111-1/+4
| | | | svn path=/main/trunk/; revision=8047
* Add a set to group all consumers of missing libraries as a simple ↵Marius Mauch2007-10-112-13/+45
| | | | | | revdep-rebuild replacement svn path=/main/trunk/; revision=8046
* Make depgraph.select_dep() reject installed packagesZac Medico2007-10-111-1/+5
| | | | | | | | in the same cases that it used to so that a warning message is properly generated in depgraph.xcreate() when a package is unavailable but installed. svn path=/main/trunk/; revision=8045
* implement new set to group all consumers of preserved librariesMarius Mauch2007-10-112-4/+40
| | | | svn path=/main/trunk/; revision=8044