summaryrefslogtreecommitdiffstats
path: root/bin/emerge
Commit message (Collapse)AuthorAgeFilesLines
* Add EAPI masking support for binary packages. (trunk r7913)Zac Medico2007-10-051-4/+19
| | | | svn path=/main/branches/2.1.2/; revision=7935
* Bug #194398 - Do not log "exiting successfully" in emerge.logZac Medico2007-10-051-2/+5
| | | | | | | unless the status really is successful. Otherwise, log "exiting unsuccessfully". Thanks to David Watzke. (trunk r7900) svn path=/main/branches/2.1.2/; revision=7927
* Bug #193548 - When scanning for config updates and an errorZac Medico2007-09-281-4/+6
| | | | | | | occurs, send find's stdout to /dev/null so that only an error message is shown. (trunk r7875) svn path=/main/branches/2.1.2/; revision=7876
* When scanning for config updates, treat a symlink to an existingZac Medico2007-09-281-0/+9
| | | | | | directory as if it's just a normal directory. (trunk r7873) svn path=/main/branches/2.1.2/; revision=7874
* Bug #193548 - When emerge spawns find to search for config updates,Zac Medico2007-09-281-1/+2
| | | | | | show the find output if there is an error. (trunk r7871) svn path=/main/branches/2.1.2/; revision=7872
* Bug #192706 - Do not print a summary at the end of --depclean ifZac Medico2007-09-281-0/+3
| | | | | | there is nothing to clean and --quiet is enabled. (trunk r7838) svn path=/main/branches/2.1.2/; revision=7868
* Fix portage.exception namespace typo.Zac Medico2007-09-271-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7860
* Move a newline to fix formatting. (trunk r7858)Zac Medico2007-09-271-1/+2
| | | | svn path=/main/branches/2.1.2/; revision=7859
* Bug #194025 - Lock /var/db/pkg in post_merge() during theZac Medico2007-09-271-3/+10
| | | | | | "Regenerating GNU info directory index" routine. (trunk r7853) svn path=/main/branches/2.1.2/; revision=7854
* When --deep is not enabled, many dependencies are dicarded andZac Medico2007-09-261-13/+25
| | | | | | | | | | | | | | left out of the digraph. This patch prevents dependencies from being discarded in some cases where the are needed in order to optimize merge order. It also modifies the DepPriority.rebuild attribute so that it only applies to build time dependencies. This leads to better merge order in some cases when --deep is not enabled. For example, `emerge xf86-input-keyboard xorg-server` will now properly merge xorg-server before xf86-input-keyboard (problem from bug #192254, comment #5). (trunk r7797) svn path=/main/branches/2.1.2/; revision=7825
* When --with-bdeps=y is enabled for built packages, pull in build time deps asZac Medico2007-09-261-6/+16
| | | | | | | | | | requested, but marked them as "satisfied" since they are not strictly required. This allows more freedom in the merge order calculation for solving circular dependencies. Don't convert to PDEPEND since that could make --with-bdeps=y less effective if it is used to adjust merge order to prevent built_with_use() calls from failing. (trunk r7793) svn path=/main/branches/2.1.2/; revision=7823
* Mask binary packages if their CHOST does not match the oneZac Medico2007-09-261-6/+22
| | | | | | defined in make.conf. (trunk r7792) svn path=/main/branches/2.1.2/; revision=7822
* Bug #190781 - Don't include --oneshot in the options thatZac Medico2007-09-261-2/+1
| | | | | | --update implies. (trunk r7790) svn path=/main/branches/2.1.2/; revision=7821
* Bug #192321 - Clean dir.old cruft so that they don't prevent unmergeZac Medico2007-09-261-0/+10
| | | | | | of otherwise empty directories. (trunk r7774) svn path=/main/branches/2.1.2/; revision=7814
* In depgraph.altlist(), try to merge asap_nodes sooner by giving them an ↵v2.1.3.9Zac Medico2007-09-081-1/+2
| | | | | | exemption from the accept_root_node flag. svn path=/main/branches/2.1.2/; revision=7762
* In the topological sort for merge order, try to avoid selecting root nodesZac Medico2007-09-061-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. (trunk r7727:7729) svn path=/main/branches/2.1.2/; revision=7745
* Move blocker handling from depgraph.create() to select_dep(). (trunk r7701)Zac Medico2007-09-061-12/+11
| | | | svn path=/main/branches/2.1.2/; revision=7733
* Remove pointless information from --info output (trunk r7695)Zac Medico2007-09-061-6/+0
| | | | svn path=/main/branches/2.1.2/; revision=7731
* Make depgraph.select_dep() node reuse work when in --usepkgonly mode. (trunk ↵Zac Medico2007-08-231-54/+55
| | | | | | r7686) svn path=/main/branches/2.1.2/; revision=7687
* 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. (trunk r7680) svn path=/main/branches/2.1.2/; revision=7681
* Fix a typo from r7663. (trunk r7676)Zac Medico2007-08-231-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7677
* Make depgraph.select_dep() reuse cached metadata from nodes that have ↵Zac Medico2007-08-221-6/+25
| | | | | | already been added to the graph. (trunk r7666) svn path=/main/branches/2.1.2/; revision=7670
* Pass complete package metadata from depgraph.select_dep() into create() in ↵Zac Medico2007-08-221-40/+37
| | | | | | order to minimize aux_get calls. (trunk r7663) svn path=/main/branches/2.1.2/; revision=7667
* For bug #189219, use pkgcmp() to sort versions in selected/protected/omitted ↵Zac Medico2007-08-171-5/+7
| | | | | | unmerge display. (trunk r7639) svn path=/main/branches/2.1.2/; revision=7640
* Combine 2 locations in depgraph.create() where nodes are added to the ↵Zac Medico2007-08-161-35/+25
| | | | | | digraph. This ensures that dependencies on "rebuild" nodes always have their priority increased. (trunk r7626:7628) svn path=/main/branches/2.1.2/; revision=7629
* 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. (trunk r7625) svn path=/main/branches/2.1.2/; revision=7626
* 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. (trunk r7604) svn path=/main/branches/2.1.2/; revision=7605
* Make sure to skip info dir files with the .old extension. (trunk r7602)Zac Medico2007-08-141-1/+2
| | | | svn path=/main/branches/2.1.2/; revision=7603
* 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. (trunk r7599) svn path=/main/branches/2.1.2/; revision=7600
* For bug #33585, leave the old info dir file in place if there is nothing to ↵Zac Medico2007-08-121-9/+35
| | | | | | generate. (trunk r7593) svn path=/main/branches/2.1.2/; revision=7594
* For bug #187806, use mkstemp to create tmpservertimestampfile (instead of ↵Zac Medico2007-08-051-4/+4
| | | | | | using PORTAGE_TMPDIR). (trunk r7576) svn path=/main/branches/2.1.2/; revision=7577
* Use == for comparison of portage_node since digraph.clone() makes a deepcopy ↵Zac Medico2007-08-041-1/+1
| | | | | | of the nodes. (trunk r7574) svn path=/main/branches/2.1.2/; revision=7575
* Make sure that portage always has all of it's RDEPENDs installed first. ↵Zac Medico2007-08-041-0/+7
| | | | | | (trunk r7572) svn path=/main/branches/2.1.2/; revision=7573
* Make config updates get counted correctly for bug #187741. (trunk r7564)Zac Medico2007-08-041-1/+4
| | | | svn path=/main/branches/2.1.2/; revision=7565
* 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. (trunk r7537) svn path=/main/branches/2.1.2/; revision=7538
* For bug #187375, handle an ImportError when portage is downgraded to a ↵Zac Medico2007-08-011-2/+6
| | | | | | version without mod_echo. (trunk r7535) svn path=/main/branches/2.1.2/; revision=7536
* 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. (trunk r7528) svn path=/main/branches/2.1.2/; revision=7529
* For bug #187142, properly pass a dbapi instance into setcpv() so that ↵Zac Medico2007-07-301-1/+1
| | | | | | USE_EXPAND wildcards work correctly. (trunk r7524) svn path=/main/branches/2.1.2/; revision=7525
* Always pass a dbapi instance into a setcpv call. (trunk r7496)Zac Medico2007-07-301-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7499
* 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. (trunk r7430) svn path=/main/branches/2.1.2/; revision=7431
* For bug #186480, while we transition to repository lables, avoid ? spam in ↵Zac Medico2007-07-271-1/+5
| | | | | | the repository display by ignoring a missing repository label for an installed package. svn path=/main/branches/2.1.2/; revision=7409
* For bug #186826, always show --newuse flags that trigger reinstallation even ↵Zac Medico2007-07-271-16/+24
| | | | | | when not in --verbose mode. (trunk r7407) svn path=/main/branches/2.1.2/; revision=7408
* For --buildpkgonly, say "built" instead of "merged" in the "These are the ↵Zac Medico2007-07-271-0/+2
| | | | | | packages that would be <action>" message. (trunk r7405) svn path=/main/branches/2.1.2/; revision=7406
* 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. (trunk r7402) svn path=/main/branches/2.1.2/; revision=7403
* Fix the reverse dependency display for --prune when there is now real ↵Zac Medico2007-07-221-0/+5
| | | | | | parent. (trunk r7351) svn path=/main/branches/2.1.2/; revision=7352
* 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. (trunk r7349) svn path=/main/branches/2.1.2/; revision=7350
* Prevent a potential KeyError when removing world from the digraph for ↵Zac Medico2007-07-221-1/+2
| | | | | | --prune display. (trunk r7344) svn path=/main/branches/2.1.2/; revision=7347
* 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. (trunk r7343) svn path=/main/branches/2.1.2/; revision=7346
* 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. (trunk r7336) svn path=/main/branches/2.1.2/; revision=7337
* 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. (trunk r7334) svn path=/main/branches/2.1.2/; revision=7335