summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix --jobs parallel scheduling to ensure that temporary simultaneousZac Medico2008-11-101-39/+35
| | | | | | | | | installation of conflicting packages is avoided when appropriate (especially for !!atom blockers), but allowed in specific cases that require it. This is accomplished by reversing specific uninstall edges in the digraph, while possibly leaving some edges in there original state. svn path=/main/trunk/; revision=11845
* Revert r11839 since it's not necessarily desired to invert all uninstallZac Medico2008-11-101-4/+5
| | | | | | | edges. TODO: Invert only the specific edges that the depgraph has decided are necessary and allowed to be inverted. svn path=/main/trunk/; revision=11844
* In the LinkageMap.findConsumers() docstring, add a note about incompatibilityZac Medico2008-11-101-1/+6
| | | | | | with symlinks created by binutils-config. svn path=/main/trunk/; revision=11843
* * Use noiselevel=-1 for preserve-libs ">>> needed" and "<<< !needed" messagesZac Medico2008-11-091-3/+5
| | | | | | | so that they're show even without --verbose mode. * Sort files for the ">>> needed" display. svn path=/main/trunk/; revision=11842
* Remove unused formatter code in show_invalid_depstring_notice().Zac Medico2008-11-091-3/+0
| | | | svn path=/main/trunk/; revision=11841
* Make show_invalid_depstring_notice() send output to stderr via writemsg_level().Zac Medico2008-11-091-12/+5
| | | | svn path=/main/trunk/; revision=11840
* Inside Scheduler._reverse_uninstall_edges(), iover all nodes rather than justZac Medico2008-11-091-1/+4
| | | | | | | | | | the merge list, because some uninstall nodes may not be in the merge list since they will be performed as part of an upgrade within a slot. This solves a problem with Scheduler._choose_pkg() not parallelizing in some cases when it should, due to an uninstall node not having it's edge reversed like it's supposed to. svn path=/main/trunk/; revision=11839