summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
* When there are unresolved blockers, display the conflicting packages alongZac Medico2009-01-101-1/+81
| | | | | | | | | with the packages that pulled them in (similar to the slot conflict display). This is helpful for troubleshooting cases in which blockers don't solve automatically and the reasons are not apparent from the normal merge list display. svn path=/main/trunk/; revision=12408
* Revert r12405 since it will be more convenient to use a separate graph toZac Medico2009-01-101-8/+14
| | | | | | store blocked package edges. svn path=/main/trunk/; revision=12407
* Remove unused myblocker_parents variable inside depgraph._serialize_tasks().Zac Medico2009-01-101-1/+0
| | | | svn path=/main/trunk/; revision=12406
* Add Blocker -> Blocked Package edges to depgraph._unsolvable_blockers sinceZac Medico2009-01-101-14/+8
| | | | | | these edges will be useful for implementing an enhanced blocker display. svn path=/main/trunk/; revision=12405
* Don't assume that the package metadata contains a "repository" key.Zac Medico2009-01-091-1/+1
| | | | svn path=/main/trunk/; revision=12404
* When merging a package from an overlay, append 'from $repository' to theZac Medico2009-01-091-0/+9
| | | | | | | '>>> Emerging' message (where $repository is the repo_name of the source repository). Thanks to Jeroen Roovers <jer@g.o> for the suggestion. svn path=/main/trunk/; revision=12403
* Make die() to show a message indicating the repository that an ebuild cameZac Medico2009-01-093-16/+21
| | | | | | | | from, and do it during any phase for both ebuilds and binary packages. Now PORTAGE_REPO_NAME is initialized inside config.setcpv() for both ebuilds and binary packages, so it's always available inside ebuild.sh. svn path=/main/trunk/; revision=12402
* Bug #253563 - Replace hardcoded green/red color strings with GOOD/BAD. ThanksZac Medico2009-01-096-53/+52
| | | | | | to Vsevolod Kozlov <sevakda@gmail.com> for the initial patch. svn path=/main/trunk/; revision=12401
* Add some blank lines around the messages that suggest --without-mask andZac Medico2009-01-081-5/+16
| | | | | | --include-dev. Thanks to Ryan Hill <dirtyepic@g.o> for the suggestion. svn path=/main/trunk/; revision=12400
* Bug #253745 - Remove collision-protect from the sample FEATURES list sinceZac Medico2009-01-081-1/+1
| | | | | | protect-owned is enabled by default now. svn path=/main/trunk/; revision=12399
* Bug #253800 - Fix FETCHCOMMAND examples for SRC_URI arrow compatibility.Zac Medico2009-01-081-7/+8
| | | | svn path=/main/trunk/; revision=12398
* Bug #253745 - Note that you need to ensure that neither protect-owned norZac Medico2009-01-081-1/+4
| | | | | | | collision-protect are enabled if you want to disable collision protection completely. svn path=/main/trunk/; revision=12397
* Bug #250469 - Fix unpack() so that deb2targz is called in a way such thatZac Medico2009-01-071-3/+17
| | | | | | $DISTDIR write access is not required. svn path=/main/trunk/; revision=12389
* Bug #254114 - Fix ValueError triggered by missing COUNTER. Also, fix brokenZac Medico2009-01-071-4/+18
| | | | | | mtime check inside FakeVartree._sync(). svn path=/main/trunk/; revision=12388
* For completeness, ensure that any INODE_* are unset before beginning.Zac Medico2009-01-071-0/+2
| | | | svn path=/main/trunk/; revision=12387
* Fix quoting for variable assignment with eval, from previous commit.Zac Medico2009-01-071-1/+1
| | | | svn path=/main/trunk/; revision=12386
* Bug #252354 - Ensure that hardlinked files are not processed multiple timesZac Medico2009-01-071-5/+22
| | | | | | when necessary. svn path=/main/trunk/; revision=12385