summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix false positive in the 'unused local USE-description' warning. Thanks toZac Medico2009-01-181-1/+1
| | | | | | Alexis Ballier <aballier@g.o> for reporting. (trunk r12524) svn path=/main/branches/2.1.6/; revision=12536
* Identify which package has unused local USE descriptions, in case more thanZac Medico2009-01-181-1/+2
| | | | | | | one package is being scanned. Thanks to Thomas Sachau <tommy@g.o> for reporting. (trunk r12523) svn path=/main/branches/2.1.6/; revision=12535
* Revert chown behavior change from the previous commit, so that chown willZac Medico2009-01-181-11/+16
| | | | | | not be called on a pre-existing file. (trunk r12522) svn path=/main/branches/2.1.6/; revision=12534
* Bug #255101 - Fix 'Permission denied' error handling inZac Medico2009-01-182-10/+19
| | | | | | | NewsManager.getUnreadItems(). If there's no permission to lock the unread file, skip the lock and try to read the file anyway. (trunk r12521) svn path=/main/branches/2.1.6/; revision=12533
* Call depgraph._set_args() inside _load_favorites(), to eliminate duplicateZac Medico2009-01-181-21/+1
| | | | | | code. (trunk r12520) svn path=/main/branches/2.1.6/; revision=12532
* Drop the kernel version from the commit message for all platforms. Thanks toZac Medico2009-01-181-2/+0
| | | | | | Fabian Groffen <grobian@g.o> for the suggestion. (trunk r12519) svn path=/main/branches/2.1.6/; revision=12531
* Don't show the running Linux kernel version in the commit message, since itZac Medico2009-01-181-1/+3
| | | | | | | might leak information that would be useful to attackers. Thanks to Ned Ludd <solar@g.o> for the suggestion. (trunk r12518) svn path=/main/branches/2.1.6/; revision=12530
* Fix repoman conditionals inside _expand_new_virtuals() to usev2.1.6.6Zac Medico2009-01-141-3/+2
| | | | | | config.local_config instead of checking for portdbapi type. (trunk r12514) svn path=/main/branches/2.1.6/; revision=12515
* Add some more variables to config._env_blacklist to ensure that they neverZac Medico2009-01-141-3/+6
| | | | | | leak in from the calling environment. (trunk r12503) svn path=/main/branches/2.1.6/; revision=12513
* Make sure spawn() always initializes opt_name because later code assumes ↵Zac Medico2009-01-141-0/+3
| | | | | | | | that it is. (trunk r12502) svn path=/main/branches/2.1.6/; revision=12512
* 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. (trunk r12501) svn path=/main/branches/2.1.6/; revision=12511
* 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. (trunk r12500) svn path=/main/branches/2.1.6/; revision=12510
* 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. (trunk r12499) svn path=/main/branches/2.1.6/; revision=12509
* Bug #254825 - Improve messages that are displayed when manifest generationZac Medico2009-01-141-11/+40
| | | | | | bails out due to a changed distfile digest. (trunk r12498) svn path=/main/branches/2.1.6/; revision=12508
* Bug #254860 - Add another missing str -> atom conversion insideZac Medico2009-01-141-1/+1
| | | | | | _expand_new_virtuals(). (trunk r12497) svn path=/main/branches/2.1.6/; revision=12507
* Use a new 'usersync' feature to control dropping of privileges for --sync,Zac Medico2009-01-142-1/+6
| | | | | | | since it's fairly common for people to have inconsistent permissions between $PORTDIR and contained files/directories. (trunk r12496) svn path=/main/branches/2.1.6/; revision=12506
* Bug #254860 - Inside _expand_new_virtuals(), generate instances of AtomZac Medico2009-01-141-3/+4
| | | | | | | instead of plain strings, so calling code can assume that only Atom instances will be returned when strict mode is enabled. (trunk r12495) svn path=/main/branches/2.1.6/; revision=12505
* Simplify depgraph._select_pkg_from_graph() by using match_pkgs(). (trunk r12494)Zac Medico2009-01-141-11/+4
| | | | svn path=/main/branches/2.1.6/; revision=12504
* When selecting greedy package inside depgraph._greedy_slots(), make surev2.1.6.5Zac Medico2009-01-121-1/+2
| | | | | | | the selected packages have the same cp as the highest selected version. (trunk r12490) svn path=/main/branches/2.1.6/; revision=12491
* Mention the blocker_lookahead parameter in the depgraph._greedy_slots()Zac Medico2009-01-121-4/+4
| | | | | | docstring. (trunk r12488) svn path=/main/branches/2.1.6/; revision=12489
* When checking for conflicts between packages inside depgraph._greedy_slots(),Zac Medico2009-01-121-4/+4
| | | | | | never double-check any of the pairs. (trunk r12486) svn path=/main/branches/2.1.6/; revision=12487
* Invalidate some more caches inside depgraph._set_args(). (trunk r12484)Zac Medico2009-01-121-0/+6
| | | | svn path=/main/branches/2.1.6/; revision=12485
* Replace @world with plain 'world'.Zac Medico2009-01-121-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=12483
* Bug #241808 - When loading options for --resume, discard the --color optionZac Medico2009-01-121-1/+1
| | | | | | so it doesn't override the current setting. (trunk r12428) svn path=/main/branches/2.1.6/; revision=12482
* Fix comment about the greedy slots code. (trunk r12429)Zac Medico2009-01-121-2/+2
| | | | svn path=/main/branches/2.1.6/; revision=12481
* Make the greedy slot atom code from bug #150361 look ahead for conflictsZac Medico2009-01-121-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. (trunk r12427) svn path=/main/branches/2.1.6/; revision=12480
* Fix a TypeError which occurs in pretend commit mode when vcs is None. ThanksZac Medico2009-01-121-1/+6
| | | | | | to Fabian Groffen <grobian@g.o> for reporting. (trunk r12426) svn path=/main/branches/2.1.6/; revision=12479
* If necessary, use /proc/loadavg to emulate os.getloadavg(). (trunk r12422)Zac Medico2009-01-121-8/+28
| | | | svn path=/main/branches/2.1.6/; revision=12478
* When displaying parents of unsolved blockers, prefer parents that are notZac Medico2009-01-121-2/+2
| | | | | | directly involved in a conflict. (trunk r12421) svn path=/main/branches/2.1.6/; revision=12477
* When displaying parents of unsolved blockers, reduce noise by pruning packagesZac Medico2009-01-121-0/+15
| | | | | | that are only pulled in by other conflict packages. (trunk r12420) svn path=/main/branches/2.1.6/; revision=12476
* Enable use.{mask,force} and package.use.{mask,forc} as-directory in profiles.Zac Medico2009-01-121-8/+7
| | | | | | (trunk r12419) svn path=/main/branches/2.1.6/; revision=12475
* Bug #254421 - Make dir_get_metadata() handle 'Connection refused' socket.errorZac Medico2009-01-121-1/+9
| | | | | | from ftplib connection attempt. (trunk r12418) svn path=/main/branches/2.1.6/; revision=12474
* Inside action_sync(), check for the git binary when necessary and bail outZac Medico2009-01-121-0/+7
| | | | | | | with a helpful message if it doesn't exist. Thanks to Caleb Cushing <xenoterracide@gmail.com> for the initial patch. (trunk r12417) svn path=/main/branches/2.1.6/; revision=12473
* Add a "quiet" parameter to the EOutput constructor, and also flushZac Medico2009-01-121-2/+4
| | | | | | stderr/stdout stream in the constructor. (trunk r12416) svn path=/main/branches/2.1.6/; revision=12472
* Use ebegin/eend to indicate when waiting for a lock and when it's acquired.Zac Medico2009-01-122-14/+18
| | | | | | Thanks to Petteri Räty <belegeuse@g.o> for the suggestion. (trunk r12415) svn path=/main/branches/2.1.6/; revision=12471
* Inside config._getKeywords(), ignore -* in KEYWORDS, to prevent it fromZac Medico2009-01-121-1/+1
| | | | | | causing preceeding values to be discarded. (trunk r12414) svn path=/main/branches/2.1.6/; revision=12470
* Add a new 'metadata.warning' category and a check which detects local USEZac Medico2009-01-122-0/+15
| | | | | | | descriptions that are not used in any ebuilds. Thanks to Markus Meier <maekke@g.o> for the initial patch. (trunk r12413) svn path=/main/branches/2.1.6/; revision=12469
* Bug #55321 - Add support for package.keywords in profiles. In profiles,Zac Medico2009-01-122-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. (trunk r12409:12412) svn path=/main/branches/2.1.6/; revision=12468
* * Enable the recursive option in profile package.use parsing.Zac Medico2009-01-122-15/+15
| | | | | | * Enable package.umask in all the same locations as package.mask. (trunk r12409) svn path=/main/branches/2.1.6/; revision=12467
* When there are unresolved blockers, display the conflicting packages alongZac Medico2009-01-121-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. (trunk r12408) svn path=/main/branches/2.1.6/; revision=12466
* Remove unused myblocker_parents variable inside depgraph._serialize_tasks().Zac Medico2009-01-121-1/+0
| | | | | | (trunk r12406) svn path=/main/branches/2.1.6/; revision=12465
* Don't assume that the package metadata contains a "repository" key.Zac Medico2009-01-121-1/+1
| | | | | | (trunk r12404) svn path=/main/branches/2.1.6/; revision=12464
* When merging a package from an overlay, append 'from $repository' to theZac Medico2009-01-121-0/+9
| | | | | | | | '>>> Emerging' message (where $repository is the repo_name of the source repository). Thanks to Jeroen Roovers <jer@g.o> for the suggestion. (trunk r12403) svn path=/main/branches/2.1.6/; revision=12463
* Make die() to show a message indicating the repository that an ebuild cameZac Medico2009-01-123-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. (trunk r12402) svn path=/main/branches/2.1.6/; revision=12462
* Bug #253563 - Replace hardcoded green/red color strings with GOOD/BAD. ThanksZac Medico2009-01-126-53/+52
| | | | | | to Vsevolod Kozlov <sevakda@gmail.com> for the initial patch. (trunk r12401) svn path=/main/branches/2.1.6/; revision=12461
* Add some blank lines around the messages that suggest --without-mask andZac Medico2009-01-121-5/+16
| | | | | | | --include-dev. Thanks to Ryan Hill <dirtyepic@g.o> for the suggestion. (trunk r12400) svn path=/main/branches/2.1.6/; revision=12460
* Bug #253745 - Remove collision-protect from the sample FEATURES list sinceZac Medico2009-01-121-1/+1
| | | | | | protect-owned is enabled by default now. (trunk r12399) svn path=/main/branches/2.1.6/; revision=12459
* Bug #253800 - Fix FETCHCOMMAND examples for SRC_URI arrow compatibility.Zac Medico2009-01-121-7/+8
| | | | | | (trunk r12398) svn path=/main/branches/2.1.6/; revision=12458
* Bug #253745 - Note that you need to ensure that neither protect-owned norZac Medico2009-01-121-1/+4
| | | | | | | collision-protect are enabled if you want to disable collision protection completely. (trunk r12397) svn path=/main/branches/2.1.6/; revision=12457
* Bug #250469 - Fix unpack() so that deb2targz is called in a way such thatZac Medico2009-01-121-3/+17
| | | | | | $DISTDIR write access is not required. (trunk r12389) svn path=/main/branches/2.1.6/; revision=12456