summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Inside depgraph.loadResumeCommand(), always enable deep traversal ofZac Medico2009-01-221-7/+14
| | | | | | | dependencies. This is necessary for correct --keep-going or --resume operation in case a package from a group of circularly dependent packages fails. svn path=/main/trunk/; revision=12548
* Inside depgraph.loadResumeCommand(), when appropriate, complete the graphZac Medico2009-01-221-1/+7
| | | | | | before analyzing any unsatisfied deps that may exist. svn path=/main/trunk/; revision=12547
* Make depgraph._add_dep() ignore fewer dependencies when not in --deep mode, byZac Medico2009-01-221-0/+1
| | | | | | | making it so that it will always account for dependencies on packages that are already installed. svn path=/main/trunk/; revision=12546
* Make listdir(ignorecvs=True) ignore .git directories. Thanks to ChristianZac Medico2009-01-221-2/+5
| | | | | | Ruppert for the suggestion. svn path=/main/trunk/; revision=12545
* Fix interaction between ignorelist and ignorecvs parameters inside cacheddir().Zac Medico2009-01-221-4/+7
| | | | | | Thanks to Christian Ruppert for reporting. svn path=/main/trunk/; revision=12544
* Bug #199408 - Always enable the skip_masked and skip_unsatisfied for theZac Medico2009-01-211-7/+5
| | | | | | | resume_depgraph() function. This will cause emerge --resume to automatically drop masked packages (without the need to specify --skipfirst). svn path=/main/trunk/; revision=12543
* In depgraph.loadResumeCommand(), account for unsatisfied dependencies ofZac Medico2009-01-211-5/+29
| | | | | | | installed packages if they are in the subgraph of dependencies of a package which is scheduled to be installed. svn path=/main/trunk/; revision=12542
* Inside depgraph.loadResumeCommand(), ignore unsatisified dependencies thatZac Medico2009-01-211-2/+8
| | | | | | | | | | are pulled in by installed packages. This is needed in order to avoid having --keep-going bail out needlessly when one of a group of circularly dependent packages fails to install after one or more of the group have already been installed. TODO: Add sanity checks to make sure that it's really safe to ignore all the deps that can be ignored by this code. svn path=/main/trunk/; revision=12541
* When in --keep-going mode, don't suppress the list of failed packages displayZac Medico2009-01-191-1/+2
| | | | | | | at the end when there is only one failure, since the failure may have occurred much earlier and the related output may not be visible any longer. svn path=/main/trunk/; revision=12540
* Bug #255358 - Add new RDEPEND.implicit warning to detect the caes where DEPENDv2.2_rc23Zac Medico2009-01-183-1/+34
| | | | | | | is set and RDEPEND is unset in the ebuild, since this triggers implicit RDEPEND=$DEPEND assignment. svn path=/main/trunk/; revision=12529
* Fix false positive in the 'unused local USE-description' warning. Thanks toZac Medico2009-01-161-1/+1
| | | | | | Alexis Ballier <aballier@g.o> for reporting. svn path=/main/trunk/; revision=12524
* Identify which package has unused local USE descriptions, in case more thanZac Medico2009-01-161-1/+2
| | | | | | one package is being scanned. Thanks to Thomas Sachau <tommy@g.o> for reporting. svn path=/main/trunk/; revision=12523
* Revert chown behavior change from the previous commit, so that chown willZac Medico2009-01-161-11/+16
| | | | | | not be called on a pre-existing file. svn path=/main/trunk/; revision=12522
* Bug #255101 - Fix 'Permission denied' error handling inZac Medico2009-01-162-10/+19
| | | | | | | NewsManager.getUnreadItems(). If there's no permission to lock the unread file, skip the lock and try to read the file anyway. svn path=/main/trunk/; revision=12521
* Call depgraph._set_args() inside _load_favorites(), to eliminate duplicateZac Medico2009-01-141-21/+1
| | | | | | code. svn path=/main/trunk/; revision=12520
* Drop the kernel version from the commit message for all platforms. Thanks toZac Medico2009-01-141-2/+0
| | | | | | Fabian Groffen <grobian@g.o> for the suggestion. svn path=/main/trunk/; revision=12519
* Don't show the running Linux kernel version in the commit message, since itZac Medico2009-01-141-1/+3
| | | | | | | might leak information that would be useful to attackers. Thanks to Ned Ludd <solar@g.o> for the suggestion. svn path=/main/trunk/; revision=12518
* Fix repoman conditionals inside _expand_new_virtuals() to usev2.2_rc22Zac Medico2009-01-141-3/+2
| | | | | | config.local_config instead of checking for portdbapi type. svn path=/main/trunk/; revision=12514
* Add some more variables to config._env_blacklist to ensure that they neverZac Medico2009-01-141-3/+6
| | | | | | leak in from the calling environment. svn path=/main/trunk/; revision=12503
* Make sure spawn() always initializes opt_name because later code assumes ↵Zac Medico2009-01-141-0/+3
| | | | | | that it is. svn path=/main/trunk/; revision=12502
* In spawn(), put the full cpv in opt_name, instead of just $PF. Thanks toZac Medico2009-01-141-1/+2
| | | | | | Diego Pettenò <flameeyes@g.o> for the suggestion. svn path=/main/trunk/; revision=12501
* Bug #254825 - Add a note about the need to use `ebuild --force <ebuild file>Zac Medico2009-01-141-0/+5
| | | | | | manifest` to update distfiles digests. svn path=/main/trunk/; revision=12500
* Inside digestgen(), don't unnecessarily call fetch() in cases when the thereZac Medico2009-01-141-1/+6
| | | | | | are no hashes for comparison and the file already exists in $DISTDIR. svn path=/main/trunk/; revision=12499
* Bug #254825 - Improve messages that are displayed when manifest generationZac Medico2009-01-141-11/+40
| | | | | | bails out due to a changed distfile digest. svn path=/main/trunk/; revision=12498
* Bug #254860 - Add another missing str -> atom conversion insideZac Medico2009-01-131-1/+1
| | | | | | _expand_new_virtuals(). svn path=/main/trunk/; revision=12497
* Use a new 'usersync' feature to control dropping of privileges for --sync,Zac Medico2009-01-132-1/+6
| | | | | | | since it's fairly common for people to have inconsistent permissions between $PORTDIR and contained files/directories. svn path=/main/trunk/; revision=12496
* Bug #254860 - Inside _expand_new_virtuals(), generate instances of AtomZac Medico2009-01-131-3/+4
| | | | | | | instead of plain strings, so calling code can assume that only Atom instances will be returned when strict mode is enabled. svn path=/main/trunk/; revision=12495
* Simplify depgraph._select_pkg_from_graph() by using match_pkgs().Zac Medico2009-01-131-11/+4
| | | | svn path=/main/trunk/; revision=12494
* When selecting greedy package inside depgraph._greedy_slots(), make surev2.2_rc21Zac Medico2009-01-121-1/+2
| | | | | | the selected packages have the same cp as the highest selected version. svn path=/main/trunk/; revision=12490
* Mention the blocker_lookahead parameter in the depgraph._greedy_slots()Zac Medico2009-01-121-4/+4
| | | | | | docstring. svn path=/main/trunk/; revision=12488
* When checking for conflicts between packages inside depgraph._greedy_slots(),Zac Medico2009-01-121-4/+4
| | | | | | never double-check any of the pairs. svn path=/main/trunk/; revision=12486
* Invalidate some more caches inside depgraph._set_args().Zac Medico2009-01-121-0/+6
| | | | svn path=/main/trunk/; revision=12484
* Fix comment about the greedy slots code.Zac Medico2009-01-121-2/+2
| | | | svn path=/main/trunk/; revision=12429
* Bug #241808 - When loading options for --resume, discard the --color optionZac Medico2009-01-111-1/+1
| | | | | | so it doesn't override the current setting. svn path=/main/trunk/; revision=12428
* Make the greedy slot atom code from bug #150361 look ahead for conflictsZac Medico2009-01-111-40/+164
| | | | | | | | | | | | between the packages that will be pulled in. If a conflict is discovered, drop the greedy slot atom for the older slot. This solves a problem reported by kde4 users when running `emerge -u <atom>` for a package that has the kdeprefix flag disabled. In this case, the newer slot blocks the older slot. In order to allow the older slot to be automatically uninstalled, the atom for the older slot needs to be excluded from the graph. Thanks to Maciej Mrozowski for testing this patch. svn path=/main/trunk/; revision=12427
* Fix a TypeError which occurs in pretend commit mode when vcs is None. ThanksZac Medico2009-01-111-1/+6
| | | | | | to Fabian Groffen <grobian@g.o> for reporting. svn path=/main/trunk/; revision=12426
* If necessary, use /proc/loadavg to emulate os.getloadavg().Zac Medico2009-01-111-8/+28
| | | | svn path=/main/trunk/; revision=12422
* When displaying parents of unsolved blockers, prefer parents that are notZac Medico2009-01-101-2/+2
| | | | | | directly involved in a conflict. svn path=/main/trunk/; revision=12421
* When displaying parents of unsolved blockers, reduce noise by pruning packagesZac Medico2009-01-101-0/+15
| | | | | | that are only pulled in by other conflict packages. svn path=/main/trunk/; revision=12420
* Enable use.{mask,force} and package.use.{mask,forc} as-directory in profiles.Zac Medico2009-01-101-8/+7
| | | | svn path=/main/trunk/; revision=12419
* Bug #254421 - Make dir_get_metadata() handle 'Connection refused' socket.errorZac Medico2009-01-101-1/+9
| | | | | | from ftplib connection attempt. svn path=/main/trunk/; revision=12418
* Inside action_sync(), check for the git binary when necessary and bail outZac Medico2009-01-101-0/+7
| | | | | | | with a helpful message if it doesn't exist. Thanks to Caleb Cushing <xenoterracide@gmail.com> for the initial patch. svn path=/main/trunk/; revision=12417
* Add a "quiet" parameter to the EOutput constructor, and also flushZac Medico2009-01-101-2/+4
| | | | | | stderr/stdout stream in the constructor. svn path=/main/trunk/; revision=12416
* Use ebegin/eend to indicate when waiting for a lock and when it's acquired.Zac Medico2009-01-102-14/+18
| | | | | | Thanks to Petteri Räty <belegeuse@g.o> for the suggestion. svn path=/main/trunk/; revision=12415
* Inside config._getKeywords(), ignore -* in KEYWORDS, to prevent it fromZac Medico2009-01-101-1/+1
| | | | | | causing preceeding values to be discarded. svn path=/main/trunk/; revision=12414
* Add a new 'metadata.warning' category and a check which detects local USEZac Medico2009-01-102-0/+15
| | | | | | | descriptions that are not used in any ebuilds. Thanks to Markus Meier <maekke@g.o> for the initial patch. svn path=/main/trunk/; revision=12413
* Fix broken code inside config._getKeywords().Zac Medico2009-01-101-1/+1
| | | | svn path=/main/trunk/; revision=12412
* Enable package.keywords as-directory in profiles.Zac Medico2009-01-101-1/+1
| | | | svn path=/main/trunk/; revision=12411
* Bug #55321 - Add support for package.keywords in profiles. In profiles,Zac Medico2009-01-102-3/+53
| | | | | | | | package.keywords modifies effective KEYWORDS values for a given ebuild. This behavior is notably different from /etc/portage/package.keywords, which instead modifies effective ACCEPT_KEYWORDS. svn path=/main/trunk/; revision=12410
* * Enable the recursive option in profile package.use parsing.Zac Medico2009-01-102-15/+15
| | | | | | * Enable package.umask in all the same locations as package.mask. svn path=/main/trunk/; revision=12409