summaryrefslogtreecommitdiffstats
path: root/pym/emerge
Commit message (Collapse)AuthorAgeFilesLines
* Move the emerge module to _emerge to make it privateZac Medico2007-10-162-7238/+0
| | | | | | | since it's mostly unsuitable for api consumers at this time. svn path=/main/trunk/; revision=8142
* Bug #195370 - Filter some more bogus matches due toZac Medico2007-10-121-1/+5
| | | | | | old-style virtuals. svn path=/main/trunk/; revision=8093
* Strip the leading path separator from USER_CONFIG_PATHZac Medico2007-10-111-1/+2
| | | | | | so that os.path.join works correctly. svn path=/main/trunk/; revision=8051
* In depgraph.select_dep(), check for existing nodes inZac Medico2007-10-111-1/+2
| | | | | | installed packages when necessary. svn path=/main/trunk/; revision=8050
* Make depgraph.select_dep() reject installed packagesZac Medico2007-10-111-1/+5
| | | | | | | | in the same cases that it used to so that a warning message is properly generated in depgraph.xcreate() when a package is unavailable but installed. svn path=/main/trunk/; revision=8045
* Raise a PackageNotFound exception instead of a ValueErrorZac Medico2007-10-111-2/+2
| | | | | | | in order to avoid ambiguity if an unexpected ValueError occurs. svn path=/main/trunk/; revision=8043
* Move some package selection code from depgraph.create()Zac Medico2007-10-111-53/+53
| | | | | | | to select_dep() so that all package selection is done in the same place. svn path=/main/trunk/; revision=8042
* Prevent bogus upgrade display when a new-style virtualZac Medico2007-10-101-4/+9
| | | | | | is first installed and it replaces an old-style virtual. svn path=/main/trunk/; revision=8039
* Comment about avoiding expensive metadata pullsZac Medico2007-10-101-0/+6
| | | | | | in depgraph.select_dep(). svn path=/main/trunk/; revision=8038
* Refactor depgraph.select_dep() to eliminate redundantZac Medico2007-10-101-151/+96
| | | | | | code that was duplicated for each package type. svn path=/main/trunk/; revision=8037
* Migrate depgraph.select_files() to use the filtered repoZac Medico2007-10-101-52/+38
| | | | | | | for expansion of greedy atoms. Also, use the list of repos to clean up the category expansion code. svn path=/main/trunk/; revision=8035
* Initialize the list of package repos inside theZac Medico2007-10-101-17/+16
| | | | | | depgraph constructor so it's always available. svn path=/main/trunk/; revision=8034
* Unify the masking reasons output so that the same codeZac Medico2007-10-091-64/+68
| | | | | | path is used for both ebuilds and binary packages. svn path=/main/trunk/; revision=8033
* Fix USE logic for built packages when populating the filtered repo.Zac Medico2007-10-091-6/+6
| | | | svn path=/main/trunk/; revision=8017
* Replace hardcoded path with new constantMarius Mauch2007-10-091-2/+2
| | | | svn path=/main/trunk/; revision=8016
* Fix InvalidDependString namespace and initialize USE beforeZac Medico2007-10-091-2/+4
| | | | | | visibility check. svn path=/main/trunk/; revision=8015
* When an ebuild has conditionals in it's LICENSE, calculateZac Medico2007-10-091-0/+3
| | | | | | USE before the visibility check. svn path=/main/trunk/; revision=8014
* In depgraph.xcreate(), installed packages are excludedZac Medico2007-10-091-0/+5
| | | | | | | | from the filtered tree. Clear out the history of atoms so that they can be processed again to satisfy dependencies with installed packages if necessary. svn path=/main/trunk/; revision=8013
* Bug #149816 - Implement visibility filtering support forZac Medico2007-10-091-87/+313
| | | | | | | | binary packages. This works by creating a virtual filtered repository that can be composed of multiple package types, including ebuilds, binary packages, and installed packages. svn path=/main/trunk/; revision=8012
* Fix package.license support so that SLOT atomsZac Medico2007-10-061-5/+7
| | | | | | will work. svn path=/main/trunk/; revision=7985
* Also look for sets.conf in overlaysMarius Mauch2007-10-061-2/+4
| | | | svn path=/main/trunk/; revision=7979
* handle empty sets properlyMarius Mauch2007-10-051-1/+11
| | | | svn path=/main/trunk/; revision=7974
* include sets in emerge --searchMarius Mauch2007-10-051-15/+35
| | | | svn path=/main/trunk/; revision=7963
* replace category sets in test configuration with user setsMarius Mauch2007-10-051-0/+2
| | | | svn path=/main/trunk/; revision=7959
* first version of set integration in emergeMarius Mauch2007-10-051-2/+18
| | | | svn path=/main/trunk/; revision=7956
* Add EAPI masking support for binary packages.Zac Medico2007-10-041-4/+18
| | | | svn path=/main/trunk/; revision=7913
* Bug #194398 - Do not log "exiting successfully" in emerge.logZac Medico2007-10-011-2/+5
| | | | | | | unless the status really is successful. Otherwise, log "exiting unsuccessfully". Thanks to David Watzke. svn path=/main/trunk/; revision=7900
* 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. svn path=/main/trunk/; revision=7875
* 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. svn path=/main/trunk/; revision=7873
* 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. svn path=/main/trunk/; revision=7871
* Move a newline to fix formatting.Zac Medico2007-09-271-1/+2
| | | | svn path=/main/trunk/; revision=7858
* Bug #194025 - Lock /var/db/pkg in post_merge() during theZac Medico2007-09-271-4/+10
| | | | | | | "Regenerating GNU info directory index" routine. svn path=/main/trunk/; revision=7853
* Bug #192706 - Do not print a summary at the end of --depcleanZac Medico2007-09-261-0/+3
| | | | | | if there is nothing to clean and --quiet is enabled. svn path=/main/trunk/; revision=7838
* When --deep is not enabled, many dependencies are dicarded andZac Medico2007-09-231-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). svn path=/main/trunk/; revision=7797
* Flush stderr and stdout if their file descriptors are in fd_pipes at the ↵Zac Medico2007-09-221-4/+0
| | | | | | beginning of spawn(). svn path=/main/trunk/; revision=7795
* Flush stdout before calling pkg_info() to ensure that output always shows in ↵Zac Medico2007-09-221-0/+4
| | | | | | the correct order. svn path=/main/trunk/; revision=7794
* When --with-bdeps=y is enabled for built packages, pull in build time deps asZac Medico2007-09-221-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. svn path=/main/trunk/; revision=7793
* Mask binary packages if their CHOST does not match the one defined in make.conf.Zac Medico2007-09-191-6/+22
| | | | svn path=/main/trunk/; revision=7792
* Bug #190781 - Don't include --oneshot in the options that --update implies.Zac Medico2007-09-181-2/+1
| | | | svn path=/main/trunk/; revision=7790
* Revert the workaround for bug #192341 since it will be much cleaner if we ↵Zac Medico2007-09-151-37/+0
| | | | | | fall back to spawning the chflags command when the freebsd module is unavailable. svn path=/main/trunk/; revision=7785
* Bug #192341 - Make emerge bail out on FreeBSD if the freebsd python moduleZac Medico2007-09-131-0/+37
| | | | | | | | | fails to import. Display a notification that "ignore-missing-freebsd-module" can be added to FEATURES in order to bypass the error. If that feature is enabled but the freebsd python module imported successfully, show a warning message since the user should remove if from FEATURES asap. svn path=/main/trunk/; revision=7780
* Bug #192346 - The emerge --help shows a -i option that does not exist.Zac Medico2007-09-131-1/+1
| | | | svn path=/main/trunk/; revision=7779
* 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