summaryrefslogtreecommitdiffstats
path: root/bin/emerge
Commit message (Collapse)AuthorAgeFilesLines
* Bug #204425 - Remove --delete-after from the default PORTAGE_RSYNC_OPTS.Zac Medico2008-01-111-1/+0
| | | | | | | This allows the rsync program to choose the preferred --delete algorithm, or the user can choose one via PORTAGE_RSYNC_EXTRA_OPTS. (trunk r9163) svn path=/main/branches/2.1.2/; revision=9172
* Add support for showing binary package file sizes in emergeZac Medico2007-12-291-6/+14
| | | | | | --search output. (trunk r9094) svn path=/main/branches/2.1.2/; revision=9095
* In action_regen(), use writemsg() to send error messages toZac Medico2007-12-281-7/+6
| | | | | | stderr. (trunk r9066) svn path=/main/branches/2.1.2/; revision=9077
* - small UI cleanups. *should* not cause problems with lackZac Medico2007-12-281-6/+7
| | | | | | of missing newlines. (trunk r9050) svn path=/main/branches/2.1.2/; revision=9067
* Add support for --usepkg and --usepkgonly options together withZac Medico2007-12-211-4/+5
| | | | | | emerge --search. (trunk r9038) svn path=/main/branches/2.1.2/; revision=9039
* emerge --search enhancements:Zac Medico2007-12-211-26/+95
| | | | | | | | * support for searching installed packages * visibility filtering for both installed and binary packages (trunk r9026:9029) svn path=/main/branches/2.1.2/; revision=9030
* Tweak profile validation and warning logic a bit. (trunk r9015)Zac Medico2007-12-211-1/+3
| | | | svn path=/main/branches/2.1.2/; revision=9022
* Merge missing db keys from trunk, for bug #149816.Zac Medico2007-12-201-3/+6
| | | | svn path=/main/branches/2.1.2/; revision=8987
* Merge the unified package masking output from trunk for bug #149816.Zac Medico2007-12-201-78/+102
| | | | svn path=/main/branches/2.1.2/; revision=8986
* Bug #149816 - Implement visibility filtering for binary packages.Zac Medico2007-12-201-11/+24
| | | | | | | This is only the least invasive part of the implementation that is currently in trunk. svn path=/main/branches/2.1.2/; revision=8984
* Enable emerge search actions for binary packages when there isZac Medico2007-12-201-24/+93
| | | | | | no portage tree available. (trunk r8980) svn path=/main/branches/2.1.2/; revision=8981
* Make some adjustments so that it's possible to install binaryZac Medico2007-12-201-10/+1
| | | | | | | | | | | | | | | | | | | | | | | packages without having a portage tree: * Make portdbapi.aux_get() return early by raising a KeyError if it detects that there is no portage tree. * Move the ARCH and USERLAND sanity check to the last moment in doebuild() and only require these variables if an existing environment (such as environment.bz2) is unavailable. * Convert messages about missing portage tree to debug level warnings since quite often it's possible to function without a portage tree now. * Make binarytree.populate() stop relying on having a categories list since it may not be available if there is no portage tree. (trunk r8972:8976) svn path=/main/branches/2.1.2/; revision=8977
* Display the merge list with blockers any time that there areZac Medico2007-12-181-4/+7
| | | | | | | blockers, instead of telling the user to try again with --pretend. (trunk r8953) svn path=/main/branches/2.1.2/; revision=8954
* Add --buildpkgonly to the options lists that exempt fromZac Medico2007-12-131-2/+3
| | | | | | slot collisions and world file updates. (trunk r8917) svn path=/main/branches/2.1.2/; revision=8918
* Use the BAD color class instead of hardcoded red. (trunk r8904)Zac Medico2007-12-131-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=8905
* Bug #201848 - Mask ebuilds that do not define SLOT. (trunk r8894)Zac Medico2007-12-131-9/+16
| | | | svn path=/main/branches/2.1.2/; revision=8900
* Bug #202036 - In case of blockers, bail out earlier so that laterZac Medico2007-12-131-19/+20
| | | | | | code can assume there are no blockers. (trunk r8889) svn path=/main/branches/2.1.2/; revision=8890
* Instead of calling sys.exit when a ParseError occurs in the configZac Medico2007-12-111-1/+4
| | | | | | | | | constructor, raise a ParseError and make emerge and portageq handle the error. This way consumers of the portage api can handle the ParseError rather than have their application exit. Thanks to lxnay for reporting. (trunk r8884) svn path=/main/branches/2.1.2/; revision=8886
* To avoid false positives during the transitionZac Medico2007-12-061-1/+7
| | | | | | | | period, don't show ? if the installed package is missing a repository label. Stages starting with 2007.1 will come with repository lables. svn path=/main/branches/2.1.2/; revision=8855
* Show ? if the installed package is missing aZac Medico2007-12-051-5/+1
| | | | | | | | | repository label. The stable version of portage creates these labels now, so false positives won't be as common as they used to be. (trunk r8846) svn path=/main/branches/2.1.2/; revision=8847
* Synchronize self-reinstallation logic so that emerge will alwaysZac Medico2007-12-021-5/+1
| | | | | | | restart itself when dblink.merge() creates temporary copies of PORTAGE_{BIN,PYM}_PATH. (trunk r8803) svn path=/main/branches/2.1.2/; revision=8804
* Fix portage_exec namespace.Zac Medico2007-12-021-2/+1
| | | | svn path=/main/branches/2.1.2/; revision=8800
* Show the pid in the "starting parallel fetching" message. (trunk r8794)Zac Medico2007-12-011-1/+2
| | | | svn path=/main/branches/2.1.2/; revision=8795
* After each merge, collect status from child processesZac Medico2007-12-011-2/+34
| | | | | | | in order to clean up zombies (such as the parallel-fetch process). (trunk r8790:8792) svn path=/main/branches/2.1.2/; revision=8793
* In chk_updated_cfg_files(), avoid scanning for config files forZac Medico2007-11-281-0/+4
| | | | | | | | paths that aren't writable by the current user. This prevents Permission denied errors from being triggered later when trying to scan subdirectories that are inaccessible. (trunk r8726) svn path=/main/branches/2.1.2/; revision=8727
* --buildpkgonly will not merge anything, soZac Medico2007-11-261-0/+7
| | | | | | it cancels all binary package options. svn path=/main/branches/2.1.2/; revision=8685
* Bug #124041 - Make emerge show an informative warning message when oneZac Medico2007-11-261-4/+33
| | | | | | | | or more eclasses override eclasses from PORTDIR. The warning can be permanently disabled by setting PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf. (trunk r8668) svn path=/main/branches/2.1.2/; revision=8669
* * Load environment.bz2 for the pkg_config() phase.Zac Medico2007-11-251-1/+7
| | | | | | | * Run the "clean" phase if pkg_config() succeeds. (trunk r8651) svn path=/main/branches/2.1.2/; revision=8652
* In depgraph.altlist(), measure the bias of circularZac Medico2007-11-221-0/+20
| | | | | | | RDEPEND <-> PDEPEND relationships and use it to optimize merge order. (trunk r8593) svn path=/main/branches/2.1.2/; revision=8594
* Generate an eerror elog message when an ebuild prerm orZac Medico2007-11-211-21/+0
| | | | | | postrm phase fails. (trunk r8577) svn path=/main/branches/2.1.2/; revision=8580
* In the slot collision display, show a maximum of 3 parentsZac Medico2007-11-201-0/+14
| | | | | | | for each package in order to avoid flooding the display. (trunk r8500) svn path=/main/branches/2.1.2/; revision=8557
* Make the slot collision display show all collisions insteadZac Medico2007-11-201-21/+33
| | | | | | of just the first one. (trunk r8498) svn path=/main/branches/2.1.2/; revision=8556
* Fix blocker handling to properly handle SLOT atoms inZac Medico2007-11-201-1/+3
| | | | | | depgraph.validate_blockers(). (trunk r8495) svn path=/main/branches/2.1.2/; revision=8555
* For unsatisfied dependencies, shorten the per-package EAPI maskZac Medico2007-11-201-4/+23
| | | | | | | output and show an informative message whenever an EAPI mask is encountered. (trunk r8457) svn path=/main/branches/2.1.2/; revision=8544
* Simplify and fix bugs in is_valid_package_atom(). (trunk r8445)Zac Medico2007-11-061-11/+5
| | | | svn path=/main/branches/2.1.2/; revision=8446
* Remove the installed package masking hack from bug #149816 sinceZac Medico2007-11-061-5/+0
| | | | | | | installed packages should be able to satisfy dependencies whether they are masked or not (matches current trunk behavior). svn path=/main/branches/2.1.2/; revision=8441
* Allow multislot packages to be added to the world fileZac Medico2007-11-061-7/+30
| | | | | | | | | | | | | | | | via --noreplace. Having these atoms in the world file will trigger recommendations to run emaint in some cases, like when running `emerge -e world`. The atoms need to be in the world file to prevent multislot packages from being removed by --depclean though. (trunk r8436) Bug #198129 - Prevent SLOT atoms like sys-devel/binutils:0 from being inappropriately recorded in the world file when USE=multislot is enabled. (trunk r8437:8439) svn path=/main/branches/2.1.2/; revision=8440
* Optimize merge order to try and select nodes that only haveZac Medico2007-11-021-20/+28
| | | | | | | | | | | | | | | | | | | | | | unsatisfied PDEPEND slightly earlier. This solves a problem with xorg-server being merged too early during an all binary install (since DEPEND is ignored for binaries), triggering built_with_use() calls to fail as reported in bug #189966. Since DEPEND is discarded in cases like this, it is important to exploit the difference between PDEPEND and RDEPEND in order to optimize merge order. Without this optimization, the merge order is technically correct, but not as optimal as it should be and has lots of potential to trigger issues with built_with_use() or similar things that require better optimization of merge order. (trunk r8357:8359) Fix ignore_priority logic in depgraph.altlist() in order to handle some cases where it was possible for nodes to be selected without their PDEPENDs being propperly added to the asap_nodes list. (trunk r8360) svn path=/main/branches/2.1.2/; revision=8378
* Remove a few unused depgraph attributes. (trunk r8345)Zac Medico2007-11-021-12/+0
| | | | svn path=/main/branches/2.1.2/; revision=8372
* Optimize stdout_spinner.update() methods so that they don'tZac Medico2007-11-021-3/+22
| | | | | | | waste cpu time by flushing output to the tty too frequently. (trunk r8332) svn path=/main/branches/2.1.2/; revision=8371
* Make world atoms non-greedy for SLOTs in action_depclean()Zac Medico2007-11-021-71/+1
| | | | | | | and depgraph.xcreate() since users can simply add SLOT atoms to world for any specific SLOTs that they want to keep. svn path=/main/branches/2.1.2/; revision=8362
* In depgraph.create(), if a direct circular dependency isZac Medico2007-10-221-6/+9
| | | | | | | | not an unsatisfied buildtime dependency then drop it here since otherwise it can skew the merge order calculation in an unwanted way. (trunk r8233) svn path=/main/branches/2.1.2/; revision=8234
* Fix portage_exception namespace typo.Zac Medico2007-10-221-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=8232
* In depgraph.create(), don't ignore direct circular dependenciesZac Medico2007-10-221-36/+23
| | | | | | | | | | | | | | | anymore since altlist() is able to handle it properly in cases where the dependency is satisfied. If the dep is unsatisfied then it can not be ignored. (trunk r8225) Allow the depgraph to add old-style virtual providers but prefer any pre-existing providers over new ones that are added. This prevents things like ghc-6.4.2 from selecting itself to satisfy it's own virtual/ghc dependency (creating a circular dependency) in cases where it should select the default ghc-bin provider. (trunk r8185:8187) svn path=/main/branches/2.1.2/; revision=8229
* Bug #195370 - Filter some more bogus matches due toZac Medico2007-10-121-1/+5
| | | | | | old-style virtuals. (trunk r8093) svn path=/main/branches/2.1.2/; revision=8094
* Raise a PackageNotFound exception instead of a ValueErrorZac Medico2007-10-121-2/+2
| | | | | | | in order to avoid ambiguity if an unexpected ValueError occurs. (trunk r8043) svn path=/main/branches/2.1.2/; revision=8072
* Bug #195370 - Prevent bogus upgrade display when aZac Medico2007-10-121-4/+9
| | | | | | | new-style virtual is first installed and it replaces an old-style virtual. (trunk r8039) svn path=/main/branches/2.1.2/; revision=8070
* 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