summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
* When the set configuration is incomplete, notify the user that this usuallyZac Medico2009-01-061-5/+19
| | | | | | means /usr/share/portage/config/sets.conf is missing or corrupt. svn path=/main/trunk/; revision=12384
* Fix _setitem() to write the same format that's currently distributed in theZac Medico2009-01-061-5/+40
| | | | | | rsync tree. svn path=/main/trunk/; revision=12383
* Remove print statement from previous commit.Zac Medico2009-01-051-1/+0
| | | | svn path=/main/trunk/; revision=12382
* Do not hardlink files unless they are in the sameZac Medico2009-01-051-2/+11
| | | | | | | | | | | | directory, since otherwise tar may not be able to extract a tarball of the resulting hardlinks due to 'Invalid cross-device link' errors (depends on layout of mount points). Also, don't hardlink zero-byte files since it doesn't save any space. Thanks to Daniel Robbins for reporting these issues which were noticed by funtoo users when attempting to extract stage tarballs. svn path=/main/trunk/; revision=12381
* When dropping privileges inside action_sync(), set the umask to preserveZac Medico2009-01-041-0/+4
| | | | | | the group write bit if appropriate. svn path=/main/trunk/; revision=12380
* Bug #253467 - Don't allow alien $A values to leak into the ebuild environment.Zac Medico2009-01-041-5/+7
| | | | svn path=/main/trunk/; revision=12379
* Inside action_sync(), when running as root, detect if $PORTDIR has non-rootZac Medico2009-01-041-7/+31
| | | | | | uid/gid bits and drop privileges to match the existing bits if appropriate. svn path=/main/trunk/; revision=12378
* Fix the 'Unrecognized configure options' check for compatibility withZac Medico2009-01-031-1/+1
| | | | | | | output produced by Autoconf 2.63. Thanks to Arfrever Frehtes Taifersar Arahesis for reporting. svn path=/main/trunk/; revision=12377
* Bug #253336 - Set PORTAGE_VERBOSE=1 so that files are displayed as they areZac Medico2009-01-031-0/+2
| | | | | | merge. svn path=/main/trunk/; revision=12376
* - tell the user where we unpacked the sourceNed Ludd2009-01-021-1/+1
| | | | svn path=/main/trunk/; revision=12375
* export STRIP_MASK automaticallyMike Frysinger2009-01-011-0/+1
| | | | svn path=/main/trunk/; revision=12374