summaryrefslogtreecommitdiffstats
path: root/pym/emerge/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Bug #192321 - Clean dir.old cruft so that they don't prevent unmerge ofZac Medico2007-09-131-0/+10
| | | | | | otherwise empty directories. svn path=/main/trunk/; revision=7774
* Adjust for r7767Marius Mauch2007-09-111-5/+5
| | | | svn path=/main/trunk/; revision=7768
* In depgraph.altlist(), try to merge asap_nodes sooner by giving them an ↵Zac Medico2007-09-081-1/+2
| | | | | | exemption from the accept_root_node flag. (branches/2.1.2 r7762) svn path=/main/trunk/; revision=7763
* Fix a typo.Zac Medico2007-09-081-1/+1
| | | | svn path=/main/trunk/; revision=7761
* Fix a typo.Zac Medico2007-09-061-1/+1
| | | | svn path=/main/trunk/; revision=7729
* In the topological sort for merge order, try to avoid selecting root nodesZac Medico2007-09-051-2/+34
| | | | | | | | | | | | whenever possible. This helps ensure that the maximimum possible number of soft dependencies have been removed from the graph before their parent nodes have been selected. This is especially important when those dependencies are going to be rebuilt by revdep-rebuild or `emerge -e system` after the CHOST has been changed (like when building a stage3 from a stage2). With this patch, `emerge -e system` properly rebuilds dev-lang/python before sys-apps/file, which helps to avoid a potential build failure. svn path=/main/trunk/; revision=7728
* Move blocker handling from depgraph.create() to select_dep().Zac Medico2007-08-251-12/+11
| | | | svn path=/main/trunk/; revision=7701
* Remove pointless information from --info outputMarius Mauch2007-08-251-20/+0
| | | | svn path=/main/trunk/; revision=7695
* Call config.regenerate() after config.reload() so that the incrementals are ↵Zac Medico2007-08-241-0/+1
| | | | | | restacked. svn path=/main/trunk/; revision=7693
* Use a config.reload() method to explicitly reload /etc/profile.env when ↵Zac Medico2007-08-241-1/+1
| | | | | | setting up the ebuild environment. svn path=/main/trunk/; revision=7692
* Make depgraph.select_dep() node reuse work when in --usepkgonly mode.Zac Medico2007-08-231-54/+55
| | | | svn path=/main/trunk/; revision=7686
* Make depgraph.create() avoid metadata lookups for binary packages and ↵Zac Medico2007-08-231-2/+11
| | | | | | ebuilds in cases where an installed package has already been added to the graph. This greatly improves performance when the graph contains a large number of installed packages. svn path=/main/trunk/; revision=7680
* Fix a typo from r7663.Zac Medico2007-08-231-1/+1
| | | | svn path=/main/trunk/; revision=7676
* Skip --newuse checks for nodes that have already been added to the graph as ↵Zac Medico2007-08-221-0/+4
| | | | | | "merge" nodes. svn path=/main/trunk/; revision=7671
* Make depgraph.select_dep() reuse cached metadata from nodes that have ↵Zac Medico2007-08-221-6/+25
| | | | | | already been added to the graph. svn path=/main/trunk/; revision=7666
* Pass complete package metadata from depgraph.select_dep() into create() in ↵Zac Medico2007-08-221-40/+37
| | | | | | order to minimize aux_get calls. svn path=/main/trunk/; revision=7663
* Make --info detect more /etc/*-release files as suggested by grobian.Zac Medico2007-08-221-10/+18
| | | | svn path=/main/trunk/; revision=7659
* Try harder to figure out what OS we are runningAlec Warner2007-08-211-5/+12
| | | | svn path=/main/trunk/; revision=7652
* For bug #189219, use pkgcmp() to sort versions in selected/protected/omitted ↵Zac Medico2007-08-171-5/+7
| | | | | | unmerge display. svn path=/main/trunk/; revision=7639
* Fix existing_node logic inside depgraph.create().Zac Medico2007-08-161-20/+15
| | | | svn path=/main/trunk/; revision=7628
* Combine 2 locations in depgraph.create() where nodes are added to the ↵Zac Medico2007-08-161-19/+14
| | | | | | digraph. This ensures that dependencies on "rebuild" nodes always have their priority increased. svn path=/main/trunk/; revision=7627
* Always assign higher priority to dependencies on packages that are being ↵Zac Medico2007-08-161-11/+13
| | | | | | rebuilt (except when --emptytree is enabled since all packages are merged in that case). This optimizes merge order so that dependencies are rebuilt/updated as soon as possible. svn path=/main/trunk/; revision=7625
* For bug #188782, dependencies on packages specified as arguments are given ↵Zac Medico2007-08-151-24/+39
| | | | | | higher priority since the currently installed version has been rendered useless by ABI breakage. It's okay to increase the priority here even if the caller is not revdep-rebuild. svn path=/main/trunk/; revision=7604
* Make sure to skip info dir files with the .old extension.Zac Medico2007-08-141-1/+2
| | | | svn path=/main/trunk/; revision=7602
* For bug #188782, keep "nomerge" nodes in the graph during the merge order ↵Zac Medico2007-08-141-4/+2
| | | | | | calculation so that merge order is better in cases where installed packages have unsatisfied dependencies. svn path=/main/trunk/; revision=7599
* For bug #33585, leave the old info dir file in place if there is nothing to ↵Zac Medico2007-08-121-9/+35
| | | | | | generate. svn path=/main/trunk/; revision=7593
* For bug #187806, use mkstemp to create tmpservertimestampfile (instead of ↵Zac Medico2007-08-051-4/+4
| | | | | | using PORTAGE_TMPDIR). svn path=/main/trunk/; revision=7576
* Use == for comparison of portage_node since digraph.clone() makes a deepcopy ↵Zac Medico2007-08-041-1/+1
| | | | | | of the nodes. svn path=/main/trunk/; revision=7574
* Make sure that portage always has all of it's RDEPENDs installed first.Zac Medico2007-08-041-0/+7
| | | | svn path=/main/trunk/; revision=7572
* Make config updates get counted correctly for bug #187741.Zac Medico2007-08-041-1/+4
| | | | svn path=/main/trunk/; revision=7564
* Like older versions of portage, don't show the repo display if [0] is all ↵Zac Medico2007-08-011-2/+4
| | | | | | that will be shown. svn path=/main/trunk/; revision=7537
* For bug #187375, handle an ImportError when portage is downgraded to a ↵Zac Medico2007-08-011-2/+6
| | | | | | version without mod_echo. svn path=/main/trunk/; revision=7535
* Change the numeric value of DepPriority.MIN to be equal to that of a ↵Zac Medico2007-07-311-2/+2
| | | | | | satisfied PDEPEND since there is currently nothing with lower priority. svn path=/main/trunk/; revision=7528
* For bug #187142, properly pass a dbapi instance into setcpv() so that ↵Zac Medico2007-07-301-1/+1
| | | | | | USE_EXPAND wildcards work correctly. svn path=/main/trunk/; revision=7524
* Always pass a dbapi instance into a setcpv call.Zac Medico2007-07-301-1/+1
| | | | svn path=/main/trunk/; revision=7496
* For bug #137483, move the `emerge --help config` docs to the emerge man ↵Zac Medico2007-07-301-2/+3
| | | | | | page. Thanks to Arfrever Frehtes Taifersar Arahesis for this patch. svn path=/main/trunk/; revision=7430
* For bug #186480, while we transition to repository labels, avoid ? spam in ↵Zac Medico2007-07-271-1/+5
| | | | | | the repository display by ignoring a missing repository label for an installed package. (branches/2.1.2 r7409) svn path=/main/trunk/; revision=7410
* For bug #186826, always show --newuse flags that trigger reinstallation even ↵Zac Medico2007-07-271-16/+24
| | | | | | when not in --verbose mode. svn path=/main/trunk/; revision=7407
* For --buildpkgonly, say "built" instead of "merged" in the "These are the ↵Zac Medico2007-07-271-0/+2
| | | | | | packages that would be <action>" message. svn path=/main/trunk/; revision=7405
* For bug #186610, use `find <path>` to scan for config updates since `cd ↵Zac Medico2007-07-261-5/+5
| | | | | | <path>` could fail and cause the cwd to be scanned. svn path=/main/trunk/; revision=7402
* fix broken importAlec Warner2007-07-231-1/+1
| | | | svn path=/main/trunk/; revision=7370
* Fix the reverse dependency display for --prune when there is now real parent.Zac Medico2007-07-221-0/+5
| | | | svn path=/main/trunk/; revision=7351
* Make --update imply --oneshot since people often us it to update things when ↵Zac Medico2007-07-221-1/+3
| | | | | | they don't want to add them to world. Thanks to jakub for the suggestion. svn path=/main/trunk/; revision=7349
* Prevent a potential KeyError when removing world from the digraph for ↵Zac Medico2007-07-221-1/+2
| | | | | | --prune display. svn path=/main/trunk/; revision=7344
* Make --prune pull in the system set since that could pull in some slots that ↵Zac Medico2007-07-221-0/+3
| | | | | | wouldn't be pulled in otherwise. svn path=/main/trunk/; revision=7343
* Make --prune and --depclean return before calculating dependencies if atoms ↵Zac Medico2007-07-211-0/+9
| | | | | | are given but they don't match any packages. svn path=/main/trunk/; revision=7336
* Prune really uses all installed instead of world. It's not a real reverse ↵Zac Medico2007-07-211-0/+3
| | | | | | dependency so don't display it as such. svn path=/main/trunk/; revision=7334
* Just show [0] instead of [0=>0] in the repo display.Zac Medico2007-07-211-3/+6
| | | | svn path=/main/trunk/; revision=7332
* Hint about --nodeps if --prune doesn't find anything to prune. Also enable ↵Zac Medico2007-07-211-1/+7
| | | | | | reverse dependency display for global depclean. svn path=/main/trunk/; revision=7327
* Fix --prune so that it always correctly accounts for COUNTER when dealing ↵Zac Medico2007-07-201-3/+4
| | | | | | with packages in the same slot. svn path=/main/trunk/; revision=7313