summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* In digestgen(), don't call fetch for files that already exist but haveZac Medico2008-12-091-3/+3
| | | | | | invalid zero-size in the manifest. svn path=/main/trunk/; revision=12188
* Simplify the code from bug #250166.Zac Medico2008-12-091-28/+15
| | | | svn path=/main/trunk/; revision=12187
* Bug #250166 - To avoid accidental regeneration of digests with the incorrectZac Medico2008-12-091-1/+22
| | | | | | | | | | files (such as partially downloaded files), trigger the fetch code if the file exists and it's size doesn't match the current manifest entry. If there really is a legitimate reason for the digest to change, `ebuild --force digest` can be used to avoid triggering this code (or else the old digests can be manually removed from the Manifest). svn path=/main/trunk/; revision=12186
* When in --debug mode, make the depgraph call self.digraph.debug_print() toZac Medico2008-12-092-5/+13
| | | | | | | | display the final digraph state. This should help when troubleshooting problems with blockers that don't resolve automatically, by making it easier to see what pulled in unwanted packages. svn path=/main/trunk/; revision=12185
* For py3k compat, remove Package.__cmp__() and related cmp() function call.Zac Medico2008-12-091-8/+1
| | | | svn path=/main/trunk/; revision=12183
* Fix deprecated_profile_check() to account for PORTAGE_CONFIGROOT. Thanks toZac Medico2008-12-082-4/+9
| | | | | | Jeremy Olexa <darkside@g.o> for the initial patch. svn path=/main/trunk/; revision=12181
* Avoid TypeError in BlockerCache.__iter__() that's triggered withZac Medico2008-12-081-0/+3
| | | | | | FEATURES=python-trace. Thanks to Fabian Groffen <grobian@g.o> for reporting. svn path=/main/trunk/; revision=12180
* Bug #250212 - Add a new 'upstream.workaround' qa category, and use it forZac Medico2008-12-082-2/+2
| | | | | | | the EMakeParallelDisabled check. Thanks to Mike Auty <ikelos@g.o> for this patch. svn path=/main/trunk/; revision=12179
* Bug #249586 - Use writemsg() to send output to stderr instead of stdout.Zac Medico2008-12-071-10/+15
| | | | svn path=/main/trunk/; revision=12176
* If pkg_nofetch needs to be spawned inside fetch() and it happens thatZac Medico2008-12-071-0/+29
| | | | | | | | | | | PORTAGE_BUILDDIR doesn't exist, like when called by digestgen(), use mkdtemp to create a private temporary directory so that pkg_nofetch can be spawned (directory needed to satisfy safe $PWD requirement of bug #239560). This is more user friendly since before the pkg_nofetch phase would simply be skipped in this case. Thanks to Petteri Räty <betelgeuse@g.o> for reporting. svn path=/main/trunk/; revision=12174
* Validate $ROOT inside the --resume merge list in order to avoid a pottentialZac Medico2008-12-061-0/+12
| | | | | | | KeyError due to a stale merge list that was for a different $ROOT setting. Thanks to Ned Ludd <solar@g.o> for reporting. svn path=/main/trunk/; revision=12166
* Make fixpackages use a new "#" symbol for /var/db updates (previously '*'v2.2_rc17Zac Medico2008-12-051-2/+11
| | | | | | which means 'binary update' was used). svn path=/main/trunk/; revision=12159
* Make fixpackages less noisy by only generting '*' characters for packagesZac Medico2008-12-042-5/+14
| | | | | | that are modified by updates. svn path=/main/trunk/; revision=12157
* Bug #249805 - Add some more PreservedLibsRegistry.pruneNonExisting() calls,Zac Medico2008-12-042-0/+7
| | | | | | | to avoid a KeyError from LinkageMap.findConsumers() triggered inside display_preserved_libs(). svn path=/main/trunk/; revision=12152
* Make sure depgraph._slot_conflict_explanation() doesn't display the sameZac Medico2008-12-041-1/+1
| | | | | | atom more than once. svn path=/main/trunk/; revision=12150
* Bug #249185 - For common cases in which USE deps trigger SLOT conflicts, giveZac Medico2008-12-041-18/+98
| | | | | | a short explanation and suggest a course of action to solve the problem. svn path=/main/trunk/; revision=12148
* Break references between the depgraph and the dropped tasks insideZac Medico2008-12-031-0/+1
| | | | | | | Scheduler._calc_resume_list(), since the tasks are now saved for display at the end. svn path=/main/trunk/; revision=12146
* When --keep-going drops packages due to unsatisfied dependencies, includeZac Medico2008-12-031-0/+1
| | | | | | | them in the list of packgaes that "failed to build or install" that's displayed at the end. svn path=/main/trunk/; revision=12144
* Fix depgraph._dep_check_composite_db._visible() to reject installed packagesZac Medico2008-12-021-7/+7
| | | | | | | | | that are masked. This is necessary for correct choices in || deps when we want to ensure that installed masked packages are not preferred over other available choices that are not masked. Thanks to Jan Kundrát <jkt@g.o> for reporting this issue and testing the patch. svn path=/main/trunk/; revision=12138
* Bug #249185 - For more useful output in cases when one or more USE depsZac Medico2008-12-011-50/+122
| | | | | | | | trigger "SLOT conflicts", show the specific atoms that triggered the conflict. TODO: Distiguish between various possible causes and tailor messages to suit them. svn path=/main/trunk/; revision=12125
* Change depgraph._slot_collision_info() from a set to a dict that containsZac Medico2008-11-301-11/+16
| | | | | | | sets of packages pulled into a given slot. This will make the data easier to analyze when implementing a fix for bug #249185. svn path=/main/trunk/; revision=12124
* Add a sanity check inside depgraph._add_pkg() to ensure that the dependenciesZac Medico2008-11-291-1/+5
| | | | | | of the same package are never processed more than once. svn path=/main/trunk/; revision=12122
* Use stat st_dev attributes instead of the older approach.Zac Medico2008-11-271-2/+1
| | | | svn path=/main/trunk/; revision=12117
* Don't call prepare_build_dirs() inside doebuild() when called for parallelZac Medico2008-11-271-1/+4
| | | | | | fetching. svn path=/main/trunk/; revision=12115
* For bug #235642, include the stat mode, uid, and gid bits in the hardlink key.Zac Medico2008-11-261-1/+2
| | | | svn path=/main/trunk/; revision=12113
* In movefile(), ignore the hardlink_candidates parameter when it's an empty list.Zac Medico2008-11-261-1/+1
| | | | svn path=/main/trunk/; revision=12111
* Bug #235642 - Create hardlinks when merging identical files. This works by ↵Zac Medico2008-11-262-7/+58
| | | | | | | | | using a tuple of (md5, st_size) as a key to a list of hardlink candidates. Multiple candidates are used in case some happen to be merged to separate devices. svn path=/main/trunk/; revision=12109
* Make Scheduler.merge() bail out early if PORTAGE_TMPDIR is not properly set.Zac Medico2008-11-261-0/+16
| | | | svn path=/main/trunk/; revision=12103
* Add some more clarification to the 'ebuild phase exited unexpectedly' message.Zac Medico2008-11-261-3/+14
| | | | svn path=/main/trunk/; revision=12101
* Bug #248782 - Handle permission error in EbuildFetchonly.execute() if ↵Zac Medico2008-11-261-1/+6
| | | | | | | | PORTAGE_TMPDIR is not writable. svn path=/main/trunk/; revision=12092
* Remove world and system targets for emerge --help since it no longer works ↵Zac Medico2008-11-251-29/+0
| | | | | | | | now that they are sets rather than actions. svn path=/main/trunk/; revision=12086
* Also add 2 spaces after newline, for alignment.Zac Medico2008-11-241-1/+1
| | | | svn path=/main/trunk/; revision=12079
* Add one newline, to wrap the "Global Updates" key to less than 80 columns.Zac Medico2008-11-241-1/+1
| | | | svn path=/main/trunk/; revision=12077
* Add support for parsing EAPI labels in contained in 'eapi' files in theZac Medico2008-11-241-0/+11
| | | | | | | | | profiles, and bail out if the profile contains an unsupported EAPI value in any one of it's directories. We don't necessarily have to use this but at least it gives us some way to make emerge bail out early if a profile contains unsupported EAPI features. svn path=/main/trunk/; revision=12068
* Inside profile_check(), call validate_ebuild_environment() to generateZac Medico2008-11-241-0/+2
| | | | | | some extra profile warnings when appropriate. svn path=/main/trunk/; revision=12066
* Make emerge detect an invalid profile an bail out for anything exceptZac Medico2008-11-242-1/+21
| | | | | | | | --help, --info, --sync, and --version actions. When bailing out, suggest to revert back to the previous profile configuration advise the user which actions are allowed with an invalid profile. svn path=/main/trunk/; revision=12065
* Fix the code from bug #245358 so that it's guaranteed to traverse all theZac Medico2008-11-231-6/+8
| | | | | | way to a root node, even when circular deps are encountered. svn path=/main/trunk/; revision=12051
* Bug #247548 - Remove 'last' and 'lfull' commands since nobody uses them.Zac Medico2008-11-231-1/+1
| | | | | | Thanks to Alec Warner <antarus@g.o>. svn path=/main/trunk/; revision=12049
* When displaying anscestors of an unstatisfied dependency (code from bugZac Medico2008-11-231-0/+5
| | | | | | | #245358), avoid a potential infinite loop and memory leak triggered by circular dependencies. Thanks to Peter Weller <welp@g.o> for reporting. svn path=/main/trunk/; revision=12045
* Add new @unavailable package set which contains all installedZac Medico2008-11-221-0/+27
| | | | | | | packages for which there are no visible ebuilds corresponding to the same $CATEGORY/$PN:$SLOT. svn path=/main/trunk/; revision=12043
* Add some hints about bash binary corruption and hardware malfunction to theZac Medico2008-11-221-1/+3
| | | | | | message that's displayed when bash exits unexpectedly. svn path=/main/trunk/; revision=12041
* Make sure the dict returned from _parse_data() contains all of _known_keys.Zac Medico2008-11-221-0/+3
| | | | svn path=/main/trunk/; revision=12028
* Add missing '%' symbol (for binary package moves) to the key that's displayedZac Medico2008-11-221-1/+1
| | | | | | by _global_updates(). Thanks to Andrew Gaffney <agaffney@g.o> for reporting. svn path=/main/trunk/; revision=12026
* Fix some cases in dep_zapdeps() where blocker atoms are inappropriately testedZac Medico2008-11-221-1/+4
| | | | | | | for availablity. Thanks to Jorge Manuel B. S. Vicetto <jmbsvicetto@g.o> for reporting. svn path=/main/trunk/; revision=12024
* Bug #247776 - Show a warning message if CONFIG_PROTECT is empty.Zac Medico2008-11-211-0/+9
| | | | svn path=/main/trunk/; revision=12022
* Bug #248059 - Make --depclean more tolerant of invalid atoms in dependenciesZac Medico2008-11-212-7/+14
| | | | | | of packages that will be uninstalled anyway. svn path=/main/trunk/; revision=12020
* Bug #248059 - In action_depclean(), ignore invalid atoms in deps of packagesZac Medico2008-11-211-1/+4
| | | | | | to be uninstalled. svn path=/main/trunk/; revision=12018
* In EbuildProcess._start(), don't open the log file during the clean phaseZac Medico2008-11-211-1/+5
| | | | | | | | since the open file can result in an nfs lock on $T/build.log which prevents the clean phase from removing $T. Thanks to Jeremy Olexa <darkside@g.o> for reporting. svn path=/main/trunk/; revision=12016
* In JobStatusDisplay, always flush the output stream after writing to it.Zac Medico2008-11-211-0/+4
| | | | svn path=/main/trunk/; revision=12014
* When given an ambiguous ebuild name to install, format the list of choicesZac Medico2008-11-211-8/+37
| | | | | | | in emerge --search format if --quiet mode is not enabled, otherwise just show a brief list. Thanks to Markus Meier <maekke@g.o> for the suggestion. svn path=/main/trunk/; revision=12012