summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* A cpv can be returned from dbapi.match() as an old-style virtual match evenZac Medico2008-10-051-6/+25
| | | | | | | | | | | in cases when the package does not actually PROVIDE the virtual. Filter out any such false matches inside depgraph._select_package() and _show_unsatisfied_dep(). Thanks to Ned Ludd <solar@g.o> for reporting this issue which was discovered when attempting to install virtual/libc on uclibc profile. Apparently the uclibc ebuilds need to be fixed to properly set PROVIDE when the metadata cache is generated. svn path=/main/trunk/; revision=11622
* Handle AttributeError in case os.getloadavg does not exist, like when pythonZac Medico2008-10-041-2/+2
| | | | | | is built agains uclibc. svn path=/main/trunk/; revision=11621
* Fix depgraph._add_pkg() to ensure that the existing package in the graphZac Medico2008-10-041-1/+10
| | | | | | | | | | matches the required atom in cases when a different package has been passed in. This solves a problem with silently unsatisfied USE deps that was reported by Jorge Manuel B. S. Vicetto <jmbsvicetto@g.o>. Now the unsatisfied dependency will result in a "slot conflict" rather than be silently ignored. svn path=/main/trunk/; revision=11618
* Make depgraph._add_pkg() take a Dependency instance. This provides access toZac Medico2008-10-041-14/+21
| | | | | | | | the atom which pulled in the package, which may be needed in order to verify that a different package that's been added to the graph is capable of satisfying the atom. svn path=/main/trunk/; revision=11617
* Remove pointless copying of the owners dict inside display_preserved_libs().Zac Medico2008-10-021-3/+1
| | | | svn path=/main/trunk/; revision=11611
* In JobStatusDisplay._update(), set _displayed = True when ruturning early dueZac Medico2008-10-021-0/+1
| | | | | | | to stdout not being a tty. This fixes a problem excess output which was reported by Daniel Robbins. svn path=/main/trunk/; revision=11609
* Optimize display_preserved_libs() by using a single getFileOwnerMap() to lookZac Medico2008-10-021-3/+17
| | | | | | up all the files. svn path=/main/trunk/; revision=11608
* Fix broken logic in Scheduler._main_loop() which would allow the main loop toZac Medico2008-10-021-1/+1
| | | | | | | exit while one or more merges are still scheduled. Thanks to Patrick Lauer for reporting. svn path=/main/trunk/; revision=11607
* Call elog_process before calling the "clean" phase for --buildpkgonly mode.Zac Medico2008-10-021-0/+1
| | | | svn path=/main/trunk/; revision=11606
* Bug #239272 - Handle InvalidAtom exception insideZac Medico2008-10-011-4/+10
| | | | | | depgraph.validate_blockers(). svn path=/main/trunk/; revision=11604
* Handle InvalidDependString from portdbapi.getFetchMap() insideZac Medico2008-09-301-5/+11
| | | | | | search.output(). Thanks to agaffney for reporting. svn path=/main/trunk/; revision=11602
* Bug #239006 - In FakeVartree._aux_get_wrapper(), fall back to vdb metadataZac Medico2008-09-291-1/+3
| | | | | | if the live ebuild's EAPI is unsupported. svn path=/main/trunk/; revision=11600
* For compatibility with long-standing --columns behavior, do not displayZac Medico2008-09-281-0/+5
| | | | | | | "uninstall" or satsified "blocks" nodes in the merge list when --columns is enabled. Thanks to solar for the suggestion. svn path=/main/trunk/; revision=11594
* Properly process set arguments inside set expressionsMarius Mauch2008-09-281-38/+48
| | | | svn path=/main/trunk/; revision=11583
* implement set arguments to reconfigure and create package sets on the ↵Marius Mauch2008-09-281-1/+27
| | | | | | commandline svn path=/main/trunk/; revision=11581
* Another correctness fix in BlockerDB.findInstalledBlockers().Zac Medico2008-09-271-1/+1
| | | | svn path=/main/trunk/; revision=11576
* Fix code inside BlockerDB.findInstalledBlockers() to correctly strip multipleZac Medico2008-09-271-2/+2
| | | | | | | "!" characters when necessary. The code seemed to work fine anyway so this is more a correctness fix than a bug fix. svn path=/main/trunk/; revision=11575
* Mask packages with deprecated EAPIs in order to prevent them from beingZac Medico2008-09-271-4/+7
| | | | | | | | installed. Such packages will still behave normally if they are already installed, but preventing new installation will remind people to update the EAPIs in their overlays if necessary. svn path=/main/trunk/; revision=11573
* In the --depclean docs, there's no need to advise the user to use --oneshotZac Medico2008-09-272-2/+2
| | | | | | | when updating @system @world since @system now has world-candidate set to False by default. svn path=/main/trunk/; revision=11564
* Add PROPERTIES to all of the metadata caches.Zac Medico2008-09-261-1/+1
| | | | svn path=/main/trunk/; revision=11561
* Add back code removed in r11553 and fix logic to avoid IndexError.v2.2_rc10Zac Medico2008-09-261-1/+5
| | | | svn path=/main/trunk/; revision=11556
* Fix a potential IndexError inside display_preserved_libs().Zac Medico2008-09-261-3/+1
| | | | svn path=/main/trunk/; revision=11553
* Fix message: s/One or packages/One or more packages/. Thanks to MarijnZac Medico2008-09-251-2/+2
| | | | | | Schouten <hkBst@g.o> for reporting. svn path=/main/trunk/; revision=11546
* change set expression syntax: operators now have a @ suffix (IOW: all ↵Marius Mauch2008-09-251-6/+9
| | | | | | operands must be prefixed with @) to maintain compability with existing set names containing hyphens svn path=/main/trunk/; revision=11544
* implement simple expression logic for apckage sets to generate unions, ↵Marius Mauch2008-09-251-18/+58
| | | | | | intersections and differences of two or more package sets svn path=/main/trunk/; revision=11543
* move set expansion code into its own functionMarius Mauch2008-09-251-56/+65
| | | | svn path=/main/trunk/; revision=11542
* relocate the post_emerge call so it gets called in more situations.Marius Mauch2008-09-251-18/+30
| | | | svn path=/main/trunk/; revision=11541
* Import cPickle as pickle instead of vice versa. Eases 2to3's job becauseZac Medico2008-09-231-6/+6
| | | | | | | cPickle won't exist in py3k and 2to3 does s/cPickle/pickle. Thanks to Ali Polatel <hawking@g.o> for this patch. svn path=/main/trunk/; revision=11536
* remove deprecation warnings and compat code for 2.1 changes to rsync and ↵Marius Mauch2008-09-221-52/+2
| | | | | | action argument syntax svn path=/main/trunk/; revision=11534
* don't attempt to unmerge a set that doesn't exist anymoreMarius Mauch2008-09-221-0/+2
| | | | svn path=/main/trunk/; revision=11533
* Add a new --list-sets action, as requested by jmbsvicetto.v2.2_rc9Zac Medico2008-09-212-7/+16
| | | | svn path=/main/trunk/; revision=11531
* Implement SRC_URI arrows for EAPI 2. The portdbapi.getfetchlist() methodZac Medico2008-09-201-6/+5
| | | | | | | | | | is now deprecated and there is a new getFetchMap() method that returns a dict which maps each file name to a set of alternative URIs. The portage.fetch() function uses introspection to detect when such a dict is passed in and handles it appropriately, while maintaining backward compatibility if a list of uris is passed in. svn path=/main/trunk/; revision=11522
* Implement the new EAPI 2 blocker behavior, including !!atom sytax whichZac Medico2008-09-191-15/+29
| | | | | | forbids temporary simultaneous installation of conflicting packages. svn path=/main/trunk/; revision=11517
* Fix broken reference to self.files inside SpawnProcess._start().Zac Medico2008-09-151-1/+1
| | | | svn path=/main/trunk/; revision=11514
* Improve error messages for issues with the SYNC variable inside action_sync().Zac Medico2008-09-151-4/+11
| | | | svn path=/main/trunk/; revision=11513
* When reloading the emerge config due to global updates in action_sync(),Zac Medico2008-08-271-0/+1
| | | | | | | | correctly update the local root_config reference. This should fix a KeyError: 'porttree' exception that's been reported to be triggered after --sync. svn path=/main/trunk/; revision=11475
* Prevent [None] in repo display. Thanks to grobian.Zac Medico2008-08-241-1/+1
| | | | svn path=/main/trunk/; revision=11470
* Add a new src_prepare phase function which is called in-between src_unpackZac Medico2008-08-231-3/+7
| | | | | | | and src_configure (and bump EAPI to 2_pre3). Thanks to Ciaran McCreesh for the suggestion. svn path=/main/trunk/; revision=11454
* For consistency, show [0] in the repo display instead of suppressing it. NowZac Medico2008-08-221-16/+38
| | | | | | | | the repo display and [0] will only be suppressed when [0] is all that would show for every package. Thanks to Joe Peterson <lavajoe@g.o> for the suggestion. svn path=/main/trunk/; revision=11449
* Fix spelling of overriding for bug #235250.Zac Medico2008-08-201-1/+1
| | | | svn path=/main/trunk/; revision=11443
* Make dblink call back to the scheduler for "clean" and "cleanrm" phases, toZac Medico2008-08-201-1/+1
| | | | | | handle output redirection. Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=11441
* Make sure EBUILD_PHASE is properly unset when calling misc-functions.sh.Zac Medico2008-08-201-0/+1
| | | | svn path=/main/trunk/; revision=11440
* When in background mode, redirect "adjusting permissions" messages forZac Medico2008-08-191-18/+23
| | | | | | | features directories like CCACHE_DIR and DISTCC_DIR. Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=11439
* The following error is known to occur with Linux kernel versionsZac Medico2008-08-181-1/+19
| | | | | | | | | | | | | | | less than 2.6.24: select.error: (4, 'Interrupted system call') This error has been observed after a SIGSTOP, followed by SIGCONT. Treat it similar to EAGAIN if timeout is None, otherwise just return without any events. Thanks to Jeremy Olexa <darkside@g.o> for reporting and testing this patch. svn path=/main/trunk/; revision=11436
* * Truncate status display output when necessary to avoid line overflow andZac Medico2008-08-181-3/+24
| | | | | | | | unwanted terminal scroll. * When the load average goes above 10, save space by showing fewer decimal places in the output. svn path=/main/trunk/; revision=11434
* Don't assume that the "world" set is an instance of WorldSet, allowing theZac Medico2008-08-181-13/+33
| | | | | | user to substitute some other set type if desired. svn path=/main/trunk/; revision=11433
* Pass atom instances into action_depclean() instead of the plain strings.Zac Medico2008-08-151-2/+4
| | | | svn path=/main/trunk/; revision=11415
* Validate atoms from command line args before calling action_depclean().Zac Medico2008-08-151-0/+28
| | | | svn path=/main/trunk/; revision=11414
* In order to avoid an unhandled InvalidAtom exception, validate atoms fromZac Medico2008-08-151-0/+14
| | | | | | | command line arguments before passing them to unmerge(). Thanks to Cardoe for reporting. svn path=/main/trunk/; revision=11413
* * Replace vartree.dep_match() call with normal dbapi.match() call.Zac Medico2008-08-151-3/+1
| | | | | | | * Don't silently swallow unexpected KeyError exceptions from dbapi.match() inside unmerge(). svn path=/main/trunk/; revision=11412