summaryrefslogtreecommitdiff
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Remove inappropriate backslash escaping inside _db_escape_string().Zac Medico2008-11-201-1/+2
| | | | svn path=/main/trunk/; revision=12010
* Inside _parse_data(), don't rely on the magic 22 line count for the flat_listZac Medico2008-11-201-27/+18
| | | | | | | format, since it doesn't make a significant performance difference and it places an artificial limit on the number of keys that can be stored. svn path=/main/trunk/; revision=12008
* Bug #247370 - Use a private PORTAGE_TMPDIR for --fetchonly mode in orderZac Medico2008-11-202-8/+15
| | | | | | | | | | | do avoid locking the normal build dir location (similar to bug #245231). The EbuildFetchPretend class is renamed to EbuildFetchonly and it's used for --fetchonly mode regardless of whether --pretend is enabled. Also, fix stdout/stderr flushing in JobStatusDisplay.displayMessage() and portage.spawn() to ensure output always occurs in the correct order when displaying pkg_nofetch() output in --fetchonly mode. svn path=/main/trunk/; revision=12006
* Remove --fetchonly --resume time.sleep() call which is an artifact from theZac Medico2008-11-191-5/+0
| | | | | | previous parallel-fetch implementation. svn path=/main/trunk/; revision=12001
* Bug #245716 - When generating QA notices for 'command not found' messages inZac Medico2008-11-191-1/+3
| | | | | | | the build log, exclude messages that are emitted from configure scripts since those are normal in some cases. svn path=/main/trunk/; revision=11999
* Move the repo_name check/warning into a function.Zac Medico2008-11-181-23/+27
| | | | svn path=/main/trunk/; revision=11995
* When warning about 'missing repo_name', also give the exact path where theZac Medico2008-11-181-9/+17
| | | | | | | | entry should exist, and explain that it should be a plain text file containing a unique name of the first line. This should give the users enough information to correct the problem without needing to seek help. svn path=/main/trunk/; revision=11994
* Make serialize_eclasses() sort eclass names.Zac Medico2008-11-181-2/+2
| | | | svn path=/main/trunk/; revision=11992
* For emerge --metadata runs, update _eclasses_ metadata to insert local eclassZac Medico2008-11-182-19/+40
| | | | | | paths. svn path=/main/trunk/; revision=11990
* Store the _eclasses_ field instead of INHERITED.Zac Medico2008-11-171-8/+0
| | | | svn path=/main/trunk/; revision=11986
* Bug #139134 - Make the flat_hash and metadata modules write the _mtime_Zac Medico2008-11-172-2/+3
| | | | | | | | | | field inside the file instead of mangling the mtime of the cache entry file. Also, fix FsBased._ensure_access() to properly skip the utime() call when no mtime is passed in. Theses cache changes are compatible with current stable portage (2.1.4.x), which uses the _mtime_ field contained in the file when available. svn path=/main/trunk/; revision=11984
* Fix the 'jobserver unavailable' regex to match gmake.Zac Medico2008-11-171-1/+1
| | | | svn path=/main/trunk/; revision=11974
* Add a QA Notice for 'jobserver unavailable' from make in the build log. ThanksZac Medico2008-11-161-0/+15
| | | | | | to Diego 'Flameeyes' Pettenò <flameeyes@g.o> for the suggestion. svn path=/main/trunk/; revision=11972
* When a "slot conflict" occurs due to USE dependencies, display the usualZac Medico2008-11-161-1/+4
| | | | | | | slot conflict output together with the unsatisfied USE dependency output, since both might be useful. svn path=/main/trunk/; revision=11960
* Fix logic inside PollScheduler._can_add_job() so that load average isZac Medico2008-11-151-1/+1
| | | | | | properly considered when a single job is running. svn path=/main/trunk/; revision=11958
* Make NewsManager.updateItems() and getUnreadItems() return early ifZac Medico2008-11-151-5/+11
| | | | | | | PermissionDenied errors are encountered when attempting to read the skip or unread files. svn path=/main/trunk/; revision=11956
* Inside depgraph._add_pkg(), handle the case where multiple differentZac Medico2008-11-151-0/+14
| | | | | | | | | instances of the same version (typically one installed and another not yet installed) have been pulled into the graph due to a USE dependency. The "slot collision" display is not helpful in a case like this, so display it as an unsatisfied dependency. Thanks to Peter Volkov <pva@g.o> for reporting. svn path=/main/trunk/; revision=11954
* Check the return value from depgraph._add_pkg() when adding library consumersZac Medico2008-11-151-2/+5
| | | | | | inside action_depclean(). svn path=/main/trunk/; revision=11953
* Bug #246821 - Avoid TypeError from binarytree.isremote() by returning earlyZac Medico2008-11-151-1/+1
| | | | | | if self._remotepkgs is None due to PORTAGE_BINHOST being unset. svn path=/main/trunk/; revision=11951
* Make depgraph.display_problems() send unsatisfied dependency ouput to stdout,Zac Medico2008-11-151-4/+6
| | | | | | for parsing by programs such as autounmask. svn path=/main/trunk/; revision=11949