summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix NewsManager.getUnreadItems() so that it works properlyZac Medico2007-10-211-13/+16
| | | | | | for an unprivileged user in readonly mode. svn path=/main/trunk/; revision=8215
* Bug #196427 - Prevent various news related tracebacksZac Medico2007-10-212-3/+11
| | | | | | | from occuring when running emerge as an unprivileged user in --pretend mode. svn path=/main/trunk/; revision=8214
* note that sets can't contain other setsMarius Mauch2007-10-211-1/+1
| | | | svn path=/main/trunk/; revision=8207
* add some notes about restrictions wrt package setsMarius Mauch2007-10-212-0/+11
| | | | svn path=/main/trunk/; revision=8206
* fix commentMarius Mauch2007-10-211-1/+1
| | | | svn path=/main/trunk/; revision=8204
* ignore "permission denied" errors when changing perms of news skipfile that ↵Marius Mauch2007-10-211-1/+10
| | | | | | happen when running with user priviledges in pretend mode svn path=/main/trunk/; revision=8202
* restore proper call logicMarius Mauch2007-10-211-1/+3
| | | | svn path=/main/trunk/; revision=8201
* Remove slashes that cause problems when unpacking files with relative paths ↵Marius Mauch2007-10-211-4/+4
| | | | | | (bug #196565) svn path=/main/trunk/; revision=8200
* Remove uneeded "arg" and "addme" parameters where possible.Zac Medico2007-10-211-7/+4
| | | | svn path=/main/trunk/; revision=8199
* Use a "depth" parameter to track depth of recursion relativeZac Medico2007-10-211-25/+23
| | | | | | to the nearest argument atom. svn path=/main/trunk/; revision=8198
* Split the "arg" parameter out of depgraph.select_dep() soZac Medico2007-10-211-25/+26
| | | | | | | that it's used purely for processing atoms that are pulled in by parent packages. svn path=/main/trunk/; revision=8197
* Bug #196537 - Make portageq check that the <root> parameterZac Medico2007-10-211-7/+13
| | | | | | is an existing directory and exit gracefully if not. svn path=/main/trunk/; revision=8195
* Make depgraph.xcreate() use the filtered repo to determineZac Medico2007-10-211-13/+13
| | | | | | | availablility of system/world atoms so that the raise_on_missing parameter can be removed from depgraph.select_dep(). svn path=/main/trunk/; revision=8194
* Raise an InvalidDependString exception if necessary whenZac Medico2007-10-211-41/+24
| | | | | | | the depgraph is populating the filtered repo so that we don't have to check the return value. svn path=/main/trunk/; revision=8193
* Rename variable for consistency.Zac Medico2007-10-211-2/+2
| | | | svn path=/main/trunk/; revision=8192
* Split the atom selection logic out of depgraph.select_dep().Zac Medico2007-10-211-39/+41
| | | | svn path=/main/trunk/; revision=8191
* Split the package selection logic out of depgraph.select_dep().Zac Medico2007-10-201-173/+181
| | | | svn path=/main/trunk/; revision=8190
* Split the masked packages display out of depgraph.select_dep().Zac Medico2007-10-201-91/+95
| | | | svn path=/main/trunk/; revision=8189
* Use a simple Package class to bundle package dataZac Medico2007-10-201-22/+37
| | | | | | for depgraph.create() calls. svn path=/main/trunk/; revision=8188
* Allow the depgraph to add old-style virtual providers butZac Medico2007-10-202-4/+28
| | | | | | | prefer any pre-existing providers over new ones that are added. svn path=/main/trunk/; revision=8187
* Remove the config.setinst() call from depgraph.select_dep()Zac Medico2007-10-201-28/+0
| | | | | | | | | | | since it's never really guaranteed to work as intended. It's supposed to help ensure that the correct old-style virtual is preferred but it will often fail to do so, making it necessary for the user to manually force the preference. Proper backtracking (bug #1343) will solve the problem more reliably. svn path=/main/trunk/; revision=8186
* Bug #196435 - Add some more references to quickpkg(1) sinceZac Medico2007-10-193-8/+22
| | | | | | sometimes people don't realize that it exists. svn path=/main/trunk/; revision=8185
* Refactor _merge_logentries() to make it a little more efficient.Zac Medico2007-10-191-7/+6
| | | | svn path=/main/trunk/; revision=8184
* Use a list to buffer strings in _combine_logentries() and doZac Medico2007-10-191-5/+5
| | | | | | a single concatenation at the end for better efficiency. svn path=/main/trunk/; revision=8183
* Prevent _combine_logentries() from generating redundantZac Medico2007-10-191-1/+4
| | | | | | | consecutive 'TYPE: phase' lines that show in summary.log when the python-based elog functions are used. svn path=/main/trunk/; revision=8182
* Fix broken call to renamed _combine_logentries().Zac Medico2007-10-191-1/+1
| | | | svn path=/main/trunk/; revision=8181
* Don't show each character of the log message on a newZac Medico2007-10-191-0/+2
| | | | | | | | line when displaying messages that came from one of the python-based elog functions. This might not be the correct solution but it seems to work for now. svn path=/main/trunk/; revision=8180
* Bug #196427 - Don't display news notifications when in --pretend mode.Zac Medico2007-10-191-1/+1
| | | | svn path=/main/trunk/; revision=8179
* Pass the whole cpv to elog instead of just ${PF}.Zac Medico2007-10-191-1/+1
| | | | svn path=/main/trunk/; revision=8178
* The ERROR color code is currently undefined, so make eerrorZac Medico2007-10-191-1/+1
| | | | | | use BAD like the bash version does. svn path=/main/trunk/; revision=8177
* Use the python version of eerrorMarius Mauch2007-10-191-6/+3
| | | | svn path=/main/trunk/; revision=8176
* 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. svn path=/main/trunk/; revision=8174
* 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. svn path=/main/trunk/; revision=8172
* Adjust quote usage in collision-protect eerrorZac Medico2007-10-181-3/+3
| | | | | | output. svn path=/main/trunk/; revision=8170
* Fix collision-protect so that it properly cancels theZac Medico2007-10-181-23/+27
| | | | | | preinst phase like it used to. svn path=/main/trunk/; revision=8168
* 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. svn path=/main/trunk/; revision=8166
* Bug #196043 - Unify the ouput handling for file collisionsZac Medico2007-10-171-53/+55
| | | | | | | so that similar eerror messages are generated whether or not collision-protect is enabled. svn path=/main/trunk/; revision=8163
* Add missing "to" to fix grammer.Zac Medico2007-10-171-1/+2
| | | | svn path=/main/trunk/; revision=8161
* 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. svn path=/main/trunk/; revision=8155
* 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