summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Fix the 'jobserver unavailable' regex to match gmake. (trunk r11974)Zac Medico2008-11-171-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=11975
* 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. (trunk r11972) svn path=/main/branches/2.1.6/; revision=11973
* 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. (trunk r11960) svn path=/main/branches/2.1.6/; revision=11961
* 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. (trunk r11958) svn path=/main/branches/2.1.6/; revision=11959
* 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/branches/2.1.6/; revision=11957
* 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. (trunk r11954) svn path=/main/branches/2.1.6/; revision=11955
* 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. (trunk r11951) svn path=/main/branches/2.1.6/; revision=11952
* Bug #246853 - Redirect all ouput from depgraph.display_problems() to stderr,Zac Medico2008-11-151-3/+27
| | | | | | | except for unsatisfied dependency output which goes to stdout for parsing by programs such as autounmask. (trunk r11947:11949) svn path=/main/branches/2.1.6/; revision=11950
* Bug #236207 - Replace some hardcoded colors with color codes, and useZac Medico2008-11-151-23/+33
| | | | | | portage.output.EOutput() where appropriate. (trunk r11935) svn path=/main/branches/2.1.6/; revision=11936
* Bug #173284 - Update config update counting code in chk_updated_cfg_files()Zac Medico2008-11-151-3/+3
| | | | | | so hidden directories are ignored. (trunk r11933) svn path=/main/branches/2.1.6/; revision=11934
* Bug #236714 - Handle PortagePackageException raised from Manifest.create().Zac Medico2008-11-151-0/+3
| | | | | | (trunk r11926) svn path=/main/branches/2.1.6/; revision=11927
* Make digestgen() handle PermissionDenied internally by returning failure, soZac Medico2008-11-151-1/+5
| | | | | | callers like repoman don't need exception handling. (trunk r11924) svn path=/main/branches/2.1.6/; revision=11925
* Bug #236683 - Fix PermissionDenied handling to report the exception type.Zac Medico2008-11-151-1/+1
| | | | | | (trunk r11922) svn path=/main/branches/2.1.6/; revision=11923
* Bug #243022 - Inside dblink.mergeme(), when merging a directory and a symlinkZac Medico2008-11-151-1/+2
| | | | | | | is in the way, verify that if points to a directory before accepting it, otherwise move it out of the way. (trunk r11920) svn path=/main/branches/2.1.6/; revision=11921
* Bug #216190 - Make dblink.treewalk() bail out rather than install a packageZac Medico2008-11-151-2/+23
| | | | | | with file paths containing newlines. (trunk r11918) svn path=/main/branches/2.1.6/; revision=11919
* Fix new* and do* ebuild helpers to generate consistent error messages forZac Medico2008-11-151-0/+12
| | | | | | | | missing files and generate an appropriate QA Notice when such an error is detected in the build log. Thanks to Diego 'Flameeyes' Pettenò <flameeyes@g.o> for the suggestion. (trunk r11916) svn path=/main/branches/2.1.6/; revision=11917
* For consistency with earlier portage-2.1.x releases, override SetArg.__str__()Zac Medico2008-11-141-0/+3
| | | | | | so that system and world sets don't show a leading @ character when displayed. svn path=/main/branches/2.1.6/; revision=11915
* Make the EbuildQuote check filter out matches that appear to be an argumentZac Medico2008-11-141-2/+14
| | | | | | | | to a message command. For example: false || ewarn "foo $WORKDIR/bar baz" Thanks to Diego 'Flameeyes' Pettenò <flameeyes@g.o> for reporting this issue (currently triggered by ruby-prof-0.7.0.ebuild). (trunk r11913) svn path=/main/branches/2.1.6/; revision=11914
* Remove --search set matching support.Zac Medico2008-11-131-21/+2
| | | | svn path=/main/branches/2.1.6/; revision=11888
* Refer to portage-2.1.6_rc1 in comment about resume opts being stored as a dict.Zac Medico2008-11-131-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=11887
* Update docs to not prefix system and world sets with the @ symbol.Zac Medico2008-11-132-4/+4
| | | | svn path=/main/branches/2.1.6/; revision=11885
* Remove preserve-libs support, it's API, and code that depends on it.Zac Medico2008-11-134-1315/+3
| | | | svn path=/main/branches/2.1.6/; revision=11881
* Disable set expansion inside expand_set_arguments() and emulate existingZac Medico2008-11-131-144/+31
| | | | | | | portage-2.1.x behavior which treats system and world mutually exclusive actions. svn path=/main/branches/2.1.6/; revision=11880
* Remove sets protection code from unmerge().Zac Medico2008-11-131-88/+1
| | | | svn path=/main/branches/2.1.6/; revision=11879
* Remove world_sets support from the WorldSet class, and hardcode "@system" asZac Medico2008-11-131-29/+1
| | | | | | the only nonatom. svn path=/main/branches/2.1.6/; revision=11878
* Update all portage.sets references to point to the new location, and hardcodeZac Medico2008-11-1311-21/+33
| | | | | | the SetConfig constructor with a config for just system and world sets. svn path=/main/branches/2.1.6/; revision=11877
* Make portage.sets private by renaming it to portage._sets.Zac Medico2008-11-138-0/+0
| | | | svn path=/main/branches/2.1.6/; revision=11876
* ACCEPT_LICENSE support depends on definition of license groupsZac Medico2008-11-131-13/+3
| | | | | | in the tree, so it's disabled for now (accept anything). svn path=/main/branches/2.1.6/; revision=11875
* Use apply_secpass_permissions() to avoid OperationNotPermitted errors whenZac Medico2008-11-131-3/+3
| | | | | | not allowed to chown files to root uid. svn path=/main/trunk/; revision=11873
* Use grabfile() instead of grablines(), to ignore empty lines.Zac Medico2008-11-131-4/+4
| | | | svn path=/main/trunk/; revision=11872
* Add quote from GLEP 42 about permission bits.Zac Medico2008-11-131-0/+4
| | | | svn path=/main/trunk/; revision=11871
* Misc fixes and cleanups in NewsManager.Zac Medico2008-11-131-68/+71
| | | | svn path=/main/trunk/; revision=11870
* Return early from NewsManager.updateItems() if the news path listdir callZac Medico2008-11-131-6/+4
| | | | | | fails. svn path=/main/trunk/; revision=11869
* Always return early from NewsManager.updateItems() if self.unread_path can'tZac Medico2008-11-131-10/+12
| | | | | | be created. svn path=/main/trunk/; revision=11868
* Use a simpler approach instead of implementing NewsItem.__getattr__().Zac Medico2008-11-121-5/+3
| | | | svn path=/main/trunk/; revision=11867
* * Add NewsItem.isValid() and DisplayRestriction.isValid() methods and useZac Medico2008-11-121-5/+33
| | | | | | | use them to check validity inside NewsManager.updateItems(). * Make DisplayInstalledRestriction.isValid() check validity of the atom. svn path=/main/trunk/; revision=11866
* Sort the return value from cpv_all() inside vardbapi._counter_hash() insteadZac Medico2008-11-121-2/+4
| | | | | | of sorting them in side cpv_all(). Thanks to Brian Harring for the suggestion. svn path=/main/trunk/; revision=11865
* Inside NewsManager.updateItems(), use a mutable set for skiplist and sort theZac Medico2008-11-121-3/+4
| | | | | | contents when writing the file. svn path=/main/trunk/; revision=11864
* Instead of raising a TypeError from the NewsItem constructor, check the pathZac Medico2008-11-121-6/+4
| | | | | | inside NewsManager.updateItems() before the NewsItem constructor is called. svn path=/main/trunk/; revision=11863
* Use a frozenset to optimize skiplist containment checks insideZac Medico2008-11-121-1/+1
| | | | | | NewsManager.updateItems(). svn path=/main/trunk/; revision=11862
* Bug #246451 - Inside SecuritySet._reduce(), use portdbapi.xmatch("match-all")Zac Medico2008-11-121-1/+1
| | | | | | | in order do be consistent with portage.glsa.getMinUpgrade() which also uses match-all. svn path=/main/trunk/; revision=11861
* Make post_emerge() exit early if it detects that the vdb state hasn't changed.v2.2_rc14Zac Medico2008-11-113-0/+26
| | | | | | | This works by comparing a hash of the COUNTER values for all packages in the vdb. svn path=/main/trunk/; revision=11859
* Allow --keep-going to continue in some cases when a runtime dependency hasZac Medico2008-11-111-2/+9
| | | | | | | failed to build or install. This involves pruning off the parts of the graph containing installed packages with unsatisfied dependencies. svn path=/main/trunk/; revision=11858
* Simplify code for cloning config instances inside Scheduler.merge().Zac Medico2008-11-111-1/+1
| | | | svn path=/main/trunk/; revision=11856
* Make FindPortdir() fall back to have_profile_dir() checks if it can't matchZac Medico2008-11-111-6/+20
| | | | | | | | the current location with anything from PORTDIR_OVERLAY. Assume that an overlay will contain at least a "repo_name" file while a master repo (portdir) will contain at least a "profiles.desc" file. svn path=/main/trunk/; revision=11855
* Make FindPortdir() return (None, None, None) on failure, instead of raisingZac Medico2008-11-111-1/+1
| | | | | | a potentially ambiguous ValueError. svn path=/main/trunk/; revision=11853
* Inside have_profile_dir(), check for existence of profiles.desc since thatZac Medico2008-11-111-1/+1
| | | | | | makes a little more sense thatn checking for package.mask. svn path=/main/trunk/; revision=11852
* Fix logic from previous commit in Scheduler._choose_pkg() to ensure thatZac Medico2008-11-111-1/+2
| | | | | | the --nodeps code is only triggered when --jobs > 1. svn path=/main/trunk/; revision=11848
* When in --nodeps mode, make Scheduler._set_digraph() discard the digraph andZac Medico2008-11-111-3/+4
| | | | | | make Scheduler._choose_pkg() always return the task at the front of the queue. svn path=/main/trunk/; revision=11847
* Inside depgraph.loadResumeCommand(), initialize self._scheduler_graph whenZac Medico2008-11-111-0/+1
| | | | | | | in --nodeps mode in order to avoid an AttributeError later when self.schedulerGraph() is called. svn path=/main/trunk/; revision=11846