summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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. svn path=/main/trunk/; revision=9994
* 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. svn path=/main/trunk/; revision=9992
* Remove unnecessary "mydbapi" variable in depgraph.display().Zac Medico2008-04-271-14/+3
| | | | svn path=/main/trunk/; revision=9990
* 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. svn path=/main/trunk/; revision=9983
* Add a PackageVirtualDbapi.copy() method.Zac Medico2008-04-261-0/+9
| | | | svn path=/main/trunk/; revision=9982
* Use digraphs to clean up blocker reference counting in the depgraph.Zac Medico2008-04-262-45/+69
| | | | svn path=/main/trunk/; revision=9981
* Don't assume that altlist() will succeed inside display_problems().Zac Medico2008-04-261-1/+1
| | | | svn path=/main/trunk/; revision=9980
* * Add a Blocker class to use instead of tuples.Zac Medico2008-04-261-5/+24
| | | | | | | * Fix the Task constructor to properly traverse __slots__ of all inherited classes. svn path=/main/trunk/; revision=9979
* add LibraryPackageMap replacement using NEEDED.2 filesMarius Mauch2008-04-261-1/+71
| | | | svn path=/main/trunk/; revision=9978
* Refactor the way that depgraph.altlist(), _complete_graph(), andZac Medico2008-04-251-28/+22
| | | | | | | validate_blockers() interact with eachother. This simplifies things by eliminating the need for recursive calls to validate_blockers(). svn path=/main/trunk/; revision=9977
* Bug #219251 - Fix typo in PORTDIR_OVERLAY when searching for sets.conf files.Zac Medico2008-04-251-1/+1
| | | | | | Thanks to Manuel Nickschas <sputnick@quassel-irc.org> for fixing this. svn path=/main/trunk/; revision=9976
* s/be only/only be/Zac Medico2008-04-251-1/+1
| | | | svn path=/main/trunk/; revision=9972
* remove debug outputMarius Mauch2008-04-251-1/+0
| | | | svn path=/main/trunk/; revision=9971
* as NEEDED files don't conain enough formation for e.g. preserve-libsto work ↵Marius Mauch2008-04-252-5/+12
| | | | | | properly and we don't want to change the format of existing files create another file including additional information svn path=/main/trunk/; revision=9970
* Add some more spinner.update() calls in possibly time consuming loops.Zac Medico2008-04-251-0/+4
| | | | svn path=/main/trunk/; revision=9968
* remove unused functionMarius Mauch2008-04-251-8/+0
| | | | svn path=/main/trunk/; revision=9967
* Bug #172812 - If any Uninstall tasks need to be executed in orderZac Medico2008-04-252-60/+111
| | | | | | | | 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). svn path=/main/trunk/; revision=9965
* Update description of "complete" depgraph param.Zac Medico2008-04-241-3/+1
| | | | svn path=/main/trunk/; revision=9964
* Rename the "consistent" depgraph parameter to "complete" since what itZac Medico2008-04-241-5/+5
| | | | | | | really means is that the graph will be complete in the sense that no known dependencies are neglected. svn path=/main/trunk/; revision=9963
* Add a note about automatic uninstallation to solve blockers.Zac Medico2008-04-241-0/+8
| | | | svn path=/main/trunk/; revision=9959
* Fix interaction between automatic uninstall and options like --pretend,Zac Medico2008-04-241-1/+3
| | | | | | --fetchonly, and --buildpkgonly. svn path=/main/trunk/; revision=9956
* Handle potential InvalidDependString exceptions when match packages toZac Medico2008-04-241-14/+21
| | | | | | system and world atoms in depgraph.altlist(). svn path=/main/trunk/; revision=9955
* Fix broken mtimedb resume list handling for automatic uninstall tasks.Zac Medico2008-04-241-5/+7
| | | | svn path=/main/trunk/; revision=9954
* Combine --nodeps spinner logic.Zac Medico2008-04-241-5/+4
| | | | svn path=/main/trunk/; revision=9953
* Bug #172812 - When automatically uninstalling packages, build the nextZac Medico2008-04-241-8/+13
| | | | | | package in the merge list before executing scheduled uninstall tasks. svn path=/main/trunk/; revision=9952
* Split out a _dequeue_uninstall_tasks() method.Zac Medico2008-04-241-7/+12
| | | | svn path=/main/trunk/; revision=9951
* Reset the state variables for leaf node selection in depgraph.altlist()Zac Medico2008-04-241-0/+6
| | | | | | when appropriate. svn path=/main/trunk/; revision=9950
* Bug #172812 - Protect packages from being removed from the world fileZac Medico2008-04-231-3/+4
| | | | | | during automatic uninstallation. svn path=/main/trunk/; revision=9949
* Bug #172812 - Document new automatic uninstallation behavior in theZac Medico2008-04-231-3/+30
| | | | | | "Conflict Avoidance" section. svn path=/main/trunk/; revision=9948
* s/unmerge/uninstall/ for consistency.Zac Medico2008-04-231-1/+1
| | | | svn path=/main/trunk/; revision=9947
* Bug #172812 - Automatically uninstall packages to avoid blocker conflicts.Zac Medico2008-04-233-84/+274
| | | | | | | | | | | | | | | | | | | The intention is to only uninstall packages that would be removed by --depclean (after the updates) anyway. To prevent automatic uninstallation of packages that the user probably wants to keep, the following types of packages will not be automatically unmerged: * Installed packages that have been pulled into the current dependency graph. Note that this check is not necessarily complete unless the --complete-graph option is enabled, making other sanity checks necessary. * Installed packages matched by atoms from the system set. For safety, these are unmerged after being replaced by another version. * Installed packages matched by atoms from the world set, if there is no matching replacement in the current dependency graph. svn path=/main/trunk/; revision=9946
* Bug #172812 - Add an Uninstall class derived from the Package class, forZac Medico2008-04-221-24/+57
| | | | | | packages that may need to be uninstalled to avoid conflicts. svn path=/main/trunk/; revision=9945
* Make dir_get_metadata() retry if a httplib.ResponseNotReady exceptionZac Medico2008-04-221-0/+8
| | | | | | occurs. svn path=/main/trunk/; revision=9943
* Swap --nospinner and --oneshot for alphabetical ordering.Zac Medico2008-04-211-1/+1
| | | | svn path=/main/trunk/; revision=9941
* Bug #218439 - Improve alignment in short emerge --help options output.Zac Medico2008-04-211-5/+6
| | | | svn path=/main/trunk/; revision=9940
* 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. svn path=/main/trunk/; revision=9938
* In action_metadata(), properly put the source cache in readonly mode.Zac Medico2008-04-211-1/+1
| | | | svn path=/main/trunk/; revision=9936
* Document FEATURES="metadata-transfer" changes some more.Zac Medico2008-04-213-1/+11
| | | | svn path=/main/trunk/; revision=9934
* Fix portage version, should be >=2.1.5.Zac Medico2008-04-211-1/+1
| | | | svn path=/main/trunk/; revision=9932
* * Make portdbapi.aux_get() automatically pull pre-generated metadataZac Medico2008-04-214-32/+58
| | | | | | | | | | | | | | | | | | | | | | 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. svn path=/main/trunk/; revision=9930
* 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. svn path=/main/trunk/; revision=9928
* Add a new part for "Dependency Resolution".Zac Medico2008-04-185-0/+205
| | | | svn path=/main/trunk/; revision=9926
* Bug #218202 - Make sure the spinner is quiet in --nodep mode.Zac Medico2008-04-181-0/+2
| | | | svn path=/main/trunk/; revision=9924
* 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. svn path=/main/trunk/; revision=9922
* Remove redundant version sorting in _expand_new_virtuals() since theZac Medico2008-04-161-15/+6
| | | | | | dbapi match results are already sorted. svn path=/main/trunk/; revision=9920
* Fix portdbapi.getfetchlist() so that it doesn't unnecessarily calculateZac Medico2008-04-161-1/+1
| | | | | | USE when the "all" parameter is True. svn path=/main/trunk/; revision=9918
* 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. svn path=/main/trunk/; revision=9916
* Bug #217905 - Fix portdbapi.getfetchlist() to correctly calculateZac Medico2008-04-161-1/+2
| | | | | | USE when the useflags parameter is not passed in. svn path=/main/trunk/; revision=9914
* Handle potential InvalidDependString exceptions from visible().Zac Medico2008-04-161-4/+11
| | | | svn path=/main/trunk/; revision=9912
* Inside dblink.unmerge(), call self.updateprotect() just in case anythingZac Medico2008-04-151-0/+1
| | | | | | has changed since the dblink instance was constructed. svn path=/main/trunk/; revision=9910