summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* For bug #211833, be explicit that the pkg_prerm() and pkg_postrm() removalZac Medico2008-04-281-1/+2
| | | | | | phases are the ones that are skipped. (trunk r10024) svn path=/main/branches/2.1.2/; revision=10025
* As suggested by Chr. Schaefer in bug #211833, comment #15, note thatZac Medico2008-04-281-5/+7
| | | | | | | removal of the environment.bz2 file is preferred since it may allow the removal phases to execute successfully. (trunk r10022) svn path=/main/branches/2.1.2/; revision=10023
* Add comma to ("__weakref__",) so that it's a tuple instead of a string.Zac Medico2008-04-281-1/+1
| | | | | | Thanks to ferringb. (trunk r10020) svn path=/main/branches/2.1.2/; revision=10021
* Try to format the elog message better for bug #211833, separatingZac Medico2008-04-281-9/+23
| | | | | | paragraphs for easier reading. (trunk r10018) svn path=/main/branches/2.1.2/; revision=10019
* Use write_atomic() for manifest updates. (trunk r10016)Zac Medico2008-04-281-4/+2
| | | | svn path=/main/branches/2.1.2/; revision=10017
* Fix PackageVirtualDbapi.cpv_inject() to make sure packages with duplicateZac Medico2008-04-281-0/+6
| | | | | | cpv or slot are handled correctly. (trunk r10014) svn path=/main/branches/2.1.2/; revision=10015
* Bug #211833 - When an ebuild removal phase fails, notify the user thatZac Medico2008-04-281-1/+8
| | | | | | | | removal of environment.bz2 file will cause the ebuild to be sourced and eclasses from the current portage tree will be used when necessary. (trunk r10009) svn path=/main/branches/2.1.2/; revision=10013
* Bug #218854 - Fix depgraph._iter_atoms_for_pkg() so that argument atomsZac Medico2008-04-281-8/+59
| | | | | | only match the highest visible slot. (trunk r10006:10008) svn path=/main/branches/2.1.2/; revision=10012
* Fix the EbuildQuote check to ignore "echo" and the elog functions sinceZac Medico2008-04-281-1/+4
| | | | | | people might not want quotes in those cases. (trunk r10006) svn path=/main/branches/2.1.2/; revision=10011
* * Remove the only remaining sys.exit() calls inside the depgraph class.Zac Medico2008-04-281-5/+9
| | | | | | | * Fix _unknown_internal_error() to work with zero arguments. (trunk r10005) svn path=/main/branches/2.1.2/; revision=10010
* Never uninstall sys-apps/portage except through replacement. (trunk r10003)Zac Medico2008-04-271-0/+4
| | | | svn path=/main/branches/2.1.2/; revision=10004
* Bug #219369 - Enable automatic upgrage or downgrade to a versionZac Medico2008-04-271-0/+20
| | | | | | | | with visible KEYWORDS when the installed version is masked by KEYWORDS, but never reinstall the same exact version only due to a KEYWORDS mask. (trunk r10001) svn path=/main/branches/2.1.2/; revision=10002
* Take the classes that initialize variables in __slots__ with keywordZac Medico2008-04-271-42/+31
| | | | | | | constructor arguments and make them all derive from a new SlotObject class. (trunk r9994) svn path=/main/branches/2.1.2/; revision=9995
* Create a digraph.difference_update() method and use it to amortize theZac Medico2008-04-272-6/+30
| | | | | | cost of removing nodes from the digraph.order list. (trunk r9992) svn path=/main/branches/2.1.2/; revision=9993
* Remove unnecessary "mydbapi" variable in depgraph.display(). (trunk r9990)Zac Medico2008-04-271-14/+3
| | | | svn path=/main/branches/2.1.2/; revision=9991
* Bug #172812 - When a package needs to be uninstalled in advance ratherZac Medico2008-04-271-24/+77
| | | | | | | | | | | than through replacement, show the corresponding [blocks] entries in the displayed list. In order to show more structure in the --tree display, expand Package -> Uninstall edges into Package -> Blocker -> Uninstall edges. Also, create edges between a package's own blockers and it's Uninstall task since it's blockers become irrelevant as soon as it's uninstalled. (trunk r9983) svn path=/main/branches/2.1.2/; revision=9989
* Add a PackageVirtualDbapi.copy() method. (trunk r9982)Zac Medico2008-04-271-0/+9
| | | | svn path=/main/branches/2.1.2/; revision=9988
* Use digraphs to clean up blocker reference counting in the depgraph.Zac Medico2008-04-272-45/+69
| | | | | | (trunk r9981) svn path=/main/branches/2.1.2/; revision=9987
* Don't assume that altlist() will succeed inside display_problems().Zac Medico2008-04-271-1/+1
| | | | | | (trunk r9980) svn path=/main/branches/2.1.2/; revision=9986
* * Add a Blocker class to use instead of tuples.Zac Medico2008-04-271-5/+24
| | | | | | | | * Fix the Task constructor to properly traverse __slots__ of all inherited classes. (trunk r9979) svn path=/main/branches/2.1.2/; revision=9985
* Refactor the way that depgraph.altlist(), _complete_graph(), andZac Medico2008-04-271-28/+22
| | | | | | | | validate_blockers() interact with eachother. This simplifies things by eliminating the need for recursive calls to validate_blockers(). (trunk r9977) svn path=/main/branches/2.1.2/; revision=9984
* Don't duplicate "system" in xterm titles either.Zac Medico2008-04-251-2/+2
| | | | svn path=/main/branches/2.1.2/; revision=9975
* Don't show "world" twice in the xterm titles. Thanks to armin76 for reporting.Zac Medico2008-04-251-1/+3
| | | | svn path=/main/branches/2.1.2/; revision=9974
* s/be only/only be/ (trunk r9972)Zac Medico2008-04-251-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=9973
* Add some more spinner.update() calls in possibly time consuming loops.Zac Medico2008-04-251-0/+4
| | | | | | (trunk r9968) svn path=/main/branches/2.1.2/; revision=9969
* Bug #172812 - If any Uninstall tasks need to be executed in orderZac Medico2008-04-252-65/+114
| | | | | | | | | to avoid a conflict, complete the graph with any dependencies that may have been initially neglected (to ensure that unsafe Uninstall tasks are properly identified and blocked from execution). (trunk r9962:9965) svn path=/main/branches/2.1.2/; revision=9966
* Add a note about automatic uninstallation to solve blockers. (trunk r9959)Zac Medico2008-04-241-0/+8
| | | | svn path=/main/branches/2.1.2/; revision=9960
* Combine --nodeps spinner logic. (trunk r9953)Zac Medico2008-04-241-5/+4
| | | | svn path=/main/branches/2.1.2/; revision=9958
* Bug #172812 - Automatically uninstall packages to avoid blocker conflicts.Zac Medico2008-04-244-114/+393
| | | | | | (trunk r9944:9956) svn path=/main/branches/2.1.2/; revision=9957
* Make dir_get_metadata() retry if a httplib.ResponseNotReady exceptionZac Medico2008-04-221-0/+8
| | | | | | occurs. (trunk r9943) svn path=/main/branches/2.1.2/; revision=9944
* Bug #218439 - Improve alignment in short emerge --help options output.Zac Medico2008-04-211-5/+6
| | | | | | (trunk r9939:9941) svn path=/main/branches/2.1.2/; revision=9942
* In show_slot_collision_notice(), refer to the problem as a "slot conflict"Zac Medico2008-04-211-2/+3
| | | | | | since that's how I'm refering to it in the docs. (trunk r9938) svn path=/main/branches/2.1.2/; revision=9939
* In action_metadata(), properly put the source cache in readonly mode.Zac Medico2008-04-211-1/+1
| | | | | | (trunk r9936) svn path=/main/branches/2.1.2/; revision=9937
* Document FEATURES="metadata-transfer" changes some more. (trunk r9934)Zac Medico2008-04-213-1/+11
| | | | svn path=/main/branches/2.1.2/; revision=9935
* Fix portage version, should be >=2.1.5. (trunk r9932)Zac Medico2008-04-211-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=9933
* * Make portdbapi.aux_get() automatically pull pre-generated metadataZac Medico2008-04-214-34/+62
| | | | | | | | | | | | | | | | | | | | | | | | directly from the metadata/cache/ directory when metadata-transfer is not enabled in FEATURES. This makes all cache modules behave similar to existing metadata_overlay module, except when FEATURES="metadata-transfer" has been explicitly enabled. * Remove metadata-transfer from FEATURES in make.globals so that it's no longer enabled by default. Users will be happy about this since the "Updating Portage cache" part of emerge --sync can be more time consuming than the rsync run itself. It's also nicer when when using PORTDIR over nfs or bind mounted in a chroot since there's no need to run emerge --metadata. * Update FEATURES="metadata-transfer" docs to warn users of the rsync tree to modify eclases in PORTDIR_OVERLAY if necessary instead of doing it directly in the rsync tree. * Relevant updates to /etc/portage/modules docs. (trunk r9930) svn path=/main/branches/2.1.2/; revision=9931
* Bug #218559 - Make portdbapi automatically add sandbox write access toZac Medico2008-04-202-5/+10
| | | | | | | self.depcachedir when appropriate. This makes the portageq blanket sandbox exemption unnecessary. (trunk r9928) svn path=/main/branches/2.1.2/; revision=9929
* Add a new part for "Dependency Resolution". (trunk r9926)Zac Medico2008-04-195-0/+205
| | | | svn path=/main/branches/2.1.2/; revision=9927
* Bug #218202 - Make sure the spinner is quiet in --nodep mode. (trunk r9924)Zac Medico2008-04-181-0/+2
| | | | svn path=/main/branches/2.1.2/; revision=9925
* Make the ccache userpriv permission check from bug #162542 less sensitiveZac Medico2008-04-181-3/+1
| | | | | | | by skipping permission checks on files and just checking the directories. (trunk r9922) svn path=/main/branches/2.1.2/; revision=9923
* Remove redundant version sorting in _expand_new_virtuals() since theZac Medico2008-04-161-15/+6
| | | | | | dbapi match results are already sorted. (trunk r9920) svn path=/main/branches/2.1.2/; revision=9921
* Fix portdbapi.getfetchlist() so that it doesn't unnecessarily calculateZac Medico2008-04-161-1/+1
| | | | | | USE when the "all" parameter is True. (trunk r9918) svn path=/main/branches/2.1.2/; revision=9919
* If the mysettings parameter is not passed in to portdbapi.getfetchlist()Zac Medico2008-04-161-1/+1
| | | | | | | then substitue self.doebuild_settings since that one is mutable which is necessary in case setcpv() needs to be called. (trunk r9916) svn path=/main/branches/2.1.2/; revision=9917
* Bug #217905 - Fix portdbapi.getfetchlist() to correctly calculateZac Medico2008-04-161-1/+2
| | | | | | USE when the useflags parameter is not passed in. (trunk r9914) svn path=/main/branches/2.1.2/; revision=9915
* Handle potential InvalidDependString exceptions from visible(). (trunk r9912)Zac Medico2008-04-161-4/+11
| | | | svn path=/main/branches/2.1.2/; revision=9913
* Inside dblink.unmerge(), call self.updateprotect() just in case anythingZac Medico2008-04-151-0/+1
| | | | | | has changed since the dblink instance was constructed. (trunk r9910) svn path=/main/branches/2.1.2/; revision=9911
* The dependency resolver now has a feedback mechanism that helps make atomZac Medico2008-04-151-0/+7
| | | | | | | selections more consistent with previous selections that have been added to the graph. This solves some common cases of bug #1343. (trunk r9906) svn path=/main/branches/2.1.2/; revision=9907
* Comment some more on the significance of passing the graph_db and parentZac Medico2008-04-151-1/+8
| | | | | | | into depgraph._select_atoms() to solve some cases of bug #1343 while avoiding unresolvable direct circular dependencies. (trunk r9904) svn path=/main/branches/2.1.2/; revision=9905
* Add support to depgraph._select_atoms() to take a "parent" parameterZac Medico2008-04-152-3/+45
| | | | | | | | | | | | and use that to try and avoid unresolvable direct circular dependencies when necessary. Also, make atom selection more consistent with the graph to solve some cases of bug #1343. This improves the fix from bug #141118 to work in cases when a virtual is not yet installed but it has been pulled into the graph. For example, see the case of Bug #163801#c17, where we want kaffe to satisfy virtual/jdk-1.4 without an extra jvm being pulled in unnecessarily. (trunk r9901) svn path=/main/branches/2.1.2/; revision=9903
* Revert part of atom selection consistency improvement from r9873 since itZac Medico2008-04-151-1/+12
| | | | | | | | | | in some cases it triggers unresolvable direct circular dependencies. For example, this happens with gwydion-dylan which depends on either itself or gwydion-dylan-bin. In case gwydion-dylan is not yet installed, gwydion-dylan-bin needs to be selected in order to avoid a an unresolvable direct circular dependency. (trunk r9900) svn path=/main/branches/2.1.2/; revision=9902