summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update the FEATURES=mirror docs to more accurately reflect behavior.Zac Medico2007-11-021-2/+6
| | | | | | | | (trunk r8348) Bug #197594 - Document FEATURES="lmirror". (trunk r8373) svn path=/main/branches/2.1.2/; revision=8374
* Remove a few unused depgraph attributes. (trunk r8345)Zac Medico2007-11-021-12/+0
| | | | svn path=/main/branches/2.1.2/; revision=8372
* Optimize stdout_spinner.update() methods so that they don'tZac Medico2007-11-021-3/+22
| | | | | | | waste cpu time by flushing output to the tty too frequently. (trunk r8332) svn path=/main/branches/2.1.2/; revision=8371
* In portage.fetch(), condense digest check output to a singleZac Medico2007-11-021-2/+5
| | | | | | line for all digests. (trunk r8316) svn path=/main/branches/2.1.2/; revision=8370
* Optimize repoman visibility checks to access as littleZac Medico2007-11-022-9/+66
| | | | | | | | | | metadata as possible. (improves performance especially in cases where metadata needs to be generated). This works by starting at the lowest version since that's most likely to have keywords and it returns as soon as the first visible package is found. (trunk r8309) svn path=/main/branches/2.1.2/; revision=8369
* Optimize repoman to share portdbapi.cp_list() resultsZac Medico2007-11-021-0/+3
| | | | | | | | | | between all profiles since those results never change. The cached results also propagate to the xmatch match-all when appropriate (old-style virtuals are excluded since they are profile dependent). (trunk r8313) svn path=/main/branches/2.1.2/; revision=8368
* Sort all dbapi.cp_list() results in ascending order andZac Medico2007-11-021-15/+59
| | | | | | | | cache the results when possible. The order is preserved in dbapi.match() so those results are also sorted. (trunk r8329) svn path=/main/branches/2.1.2/; revision=8367
* Factor the KEYWORDS masking logic out of portdbapi.visible()Zac Medico2007-11-021-102/+156
| | | | | | | | | | | | | and move it to config._getMissingEeywords(). (trunk r7997) Factor package.mask and profile masking logic out of portdbapi.visible() and move it to config._getMaskAtom() and _getProfileMaskAtom(). (trunk r8001) These are prerequisites for important repoman optimizations that will be ported from trunk. svn path=/main/branches/2.1.2/; revision=8365
* Rewrite the dblink.getcontents() code to use str.split(" ")Zac Medico2007-11-021-23/+48
| | | | | | | | | | | for splitting CONTENTS lines so that even file paths that end with spaces can be handled. This patch makes the fix for bug #196836#c6 more complete. Some code for parsing old malformed symlink entries has been removed sinces it's probably not useful or worth maintaining anymore. (trunk r8337) svn path=/main/branches/2.1.2/; revision=8364
* If the title string is too big then xtermTitle() canZac Medico2007-11-021-0/+5
| | | | | | | misbehave by causing the terminal to echo some of the characters and generate a "beep" sound. (trunk r8289) svn path=/main/branches/2.1.2/; revision=8363
* Make world atoms non-greedy for SLOTs in action_depclean()Zac Medico2007-11-021-71/+1
| | | | | | | and depgraph.xcreate() since users can simply add SLOT atoms to world for any specific SLOTs that they want to keep. svn path=/main/branches/2.1.2/; revision=8362
* protect variables specified in PROFILE_ONLY_VARIABLES fromZac Medico2007-11-023-3/+19
| | | | | | being set by the user (trunk r8251:8253, r8255, and r8259) svn path=/main/branches/2.1.2/; revision=8361
* Don't show the "checking files for package collisions" messagev2.1.3.16Zac Medico2007-10-231-2/+3
| | | | | | when --quiet is enabled. (trunk r8248) svn path=/main/branches/2.1.2/; revision=8249
* Fix the version Id tag. (trunk r8243)Zac Medico2007-10-231-3/+2
| | | | svn path=/main/branches/2.1.2/; revision=8244
* Fix config.setinst() to return early when the givenZac Medico2007-10-231-0/+3
| | | | | | package already provides the virtual. (trunk r8240) svn path=/main/branches/2.1.2/; revision=8241
* Remove a redundant self.treeVirtuals deepcopy from theZac Medico2007-10-231-2/+1
| | | | | | config constructor. (trunk r8238) svn path=/main/branches/2.1.2/; revision=8239
* Bug #196652 - Check for useless ABOUT-NLS|COPYING|LICENSEZac Medico2007-10-231-1/+20
| | | | | | files in dodoc arguments. (trunk r8236) svn path=/main/branches/2.1.2/; revision=8237
* In depgraph.create(), if a direct circular dependency isZac Medico2007-10-221-6/+9
| | | | | | | | not an unsatisfied buildtime dependency then drop it here since otherwise it can skew the merge order calculation in an unwanted way. (trunk r8233) svn path=/main/branches/2.1.2/; revision=8234
* Fix portage_exception namespace typo.Zac Medico2007-10-221-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=8232
* Remove slashes that cause problems when unpacking files withZac Medico2007-10-221-4/+4
| | | | | | relative paths (bug #196565) (trunk r8200) svn path=/main/branches/2.1.2/; revision=8231
* Bug #196435 - Add some more references to quickpkg(1) sinceZac Medico2007-10-223-8/+22
| | | | | | sometimes people don't realize that it exists. (trunk r8185) svn path=/main/branches/2.1.2/; revision=8230
* In depgraph.create(), don't ignore direct circular dependenciesZac Medico2007-10-222-40/+35
| | | | | | | | | | | | | | | anymore since altlist() is able to handle it properly in cases where the dependency is satisfied. If the dep is unsatisfied then it can not be ignored. (trunk r8225) Allow the depgraph to add old-style virtual providers but prefer any pre-existing providers over new ones that are added. This prevents things like ghc-6.4.2 from selecting itself to satisfy it's own virtual/ghc dependency (creating a circular dependency) in cases where it should select the default ghc-bin provider. (trunk r8185:8187) svn path=/main/branches/2.1.2/; revision=8229
* Bug #196680 - Handle a CacheError inside mirror_cache() whenZac Medico2007-10-221-0/+4
| | | | | | reading from the source cache. (trunk r8222) svn path=/main/branches/2.1.2/; revision=8223
* Bug #196537 - Make portageq check that the <root> parameterZac Medico2007-10-211-7/+13
| | | | | | | is an existing directory and exit gracefully if not. (trunk r8195) svn path=/main/branches/2.1.2/; revision=8196
* Handle EnvironmentError instead of OSError since open()Zac Medico2007-10-181-4/+8
| | | | | | | | | | actually raises IOError. Also, treat a missing SLOT file as SLOT="" since it is currently possible to install an ebuild with an undefined SLOT even though repoman generates a SLOT.missing error with such an ebuild. (trunk r8174) svn path=/main/branches/2.1.2/; revision=8175
* Bug #195375 - Make dblink.treewalk() read inforoot/SLOT sinceZac Medico2007-10-181-1/+17
| | | | | | | | it differs from the expected SLOT value when when USE=multislot is enabled. A warning message will be shown if the slot differs and --quiet mode is not enabled. (trunk r8172) svn path=/main/branches/2.1.2/; revision=8173
* Adjust quote usage in collision-protect eerrorZac Medico2007-10-181-3/+3
| | | | | | output. (trunk r8170) svn path=/main/branches/2.1.2/; revision=8171
* Fix collision-protect so that it properly cancels theZac Medico2007-10-181-22/+26
| | | | | | preinst phase like it used to. (trunk r8168) svn path=/main/branches/2.1.2/; revision=8169
* Fix the normalize_needed regex to properly match //Zac Medico2007-10-171-1/+1
| | | | | | | anywhere in the path. Also add support for detection of . or .. where appropriate. (trunk r8166) svn path=/main/branches/2.1.2/; revision=8167
* Bug #196043 - Unify the ouput handling for file collisionsZac Medico2007-10-171-52/+54
| | | | | | | so that similar eerror messages are generated whether or not collision-protect is enabled. (trunk r8163) svn path=/main/branches/2.1.2/; revision=8165
* Always unlink the .installed flag prior to merge sinceZac Medico2007-10-171-1/+1
| | | | | | portage.movefile() never leaves intact. (trunk r6986) svn path=/main/branches/2.1.2/; revision=8164
* Add missing "to" to fix grammar. (trunk r8161)Zac Medico2007-10-171-1/+2
| | | | svn path=/main/branches/2.1.2/; revision=8162
* Bug #196043 - Update the file collision ewarn noticeZac Medico2007-10-171-9/+15
| | | | | | | | | | to try and clarify the cases when a bug should NOT be filed. Also, recommend the new `portageq owners / <filename>` command since it works properly even when paths are ambiguous due to symlinked directories. (trunk r8155) svn path=/main/branches/2.1.2/; revision=8160
* 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. (trunk r8154) svn path=/main/branches/2.1.2/; revision=8159
* 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. (trunk r8153) svn path=/main/branches/2.1.2/; revision=8158
* Fix a typo.Zac Medico2007-10-171-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=8157
* In dblink.getcontents(), use a regular expression to detectZac Medico2007-10-171-3/+14
| | | | | | | | | | 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%. (trunk r8150:8152) svn path=/main/branches/2.1.2/; revision=8156
* Fix --help summary so that "commit" mode shows. (trunk r8140)Zac Medico2007-10-151-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=8141
* Update emacs and vim docs to reference NOTE_2. (trunk r8138)Zac Medico2007-10-151-3/+3
| | | | svn path=/main/branches/2.1.2/; revision=8139
* Update NOTE_2 to document proper use of the using_editorZac Medico2007-10-151-1/+2
| | | | | | config option. (trunk r8136) svn path=/main/branches/2.1.2/; revision=8137
* Bug #195949 - Add one more using_editor conditional forZac Medico2007-10-151-2/+10
| | | | | | diff_command. (trunk r8130) svn path=/main/branches/2.1.2/; revision=8135
* Bug #195949 - Use a different diff_command sanity checkZac Medico2007-10-151-7/+14
| | | | | | when using_editor is true. (trunk r8129) svn path=/main/branches/2.1.2/; revision=8134
* Document the "manifest" mode. (trunk r8126)Zac Medico2007-10-151-0/+3
| | | | svn path=/main/branches/2.1.2/; revision=8133
* Sort the modes in the repoman --help output. (trunk r8125)Zac Medico2007-10-151-0/+3
| | | | svn path=/main/branches/2.1.2/; revision=8132
* Remove the checks for files in symlinked directoriesZac Medico2007-10-151-12/+3
| | | | | | | | | 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. (trunk r8120:8124) svn path=/main/branches/2.1.2/; revision=8131
* 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. (trunk r8119) svn path=/main/branches/2.1.2/; revision=8120
* Avoid an error message from find when "${D}"/usr/shareZac Medico2007-10-131-1/+1
| | | | | | does not exist. (trunk r8117) svn path=/main/branches/2.1.2/; revision=8118
* In the file collision eerror output, don't colorize theZac Medico2007-10-131-3/+2
| | | | | | | file paths since the escape codes look ugly in the log. (trunk r8113:8115) svn path=/main/branches/2.1.2/; revision=8116
* Handle the PortageException that can be raised fromZac Medico2007-10-131-1/+6
| | | | | | portage.mail.send_mail(). (trunk r8102) svn path=/main/branches/2.1.2/; revision=8103
* Make the file collision eerror message less verboseZac Medico2007-10-131-9/+11
| | | | | | when in --quiet mode. (trunk r8100) svn path=/main/branches/2.1.2/; revision=8101