summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* Bug #55321 - Add support for package.keywords in profiles. In profiles,Zac Medico2009-01-121-3/+32
| | | | | | | | 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-121-15/+14
| | | | | | * 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-122-15/+8
| | | | | | | | 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
* Bug #254114 - Fix ValueError triggered by missing COUNTER. Also, fix brokenZac Medico2009-01-121-4/+18
| | | | | | mtime check inside FakeVartree._sync(). (trunk r12388) svn path=/main/branches/2.1.6/; revision=12455
* Fix _setitem() to write the same format that's currently distributed in theZac Medico2009-01-121-5/+40
| | | | | | rsync tree. (trunk r12383) svn path=/main/branches/2.1.6/; revision=12453
* Remove print statement from previous commit. (trunk r12382)Zac Medico2009-01-121-1/+0
| | | | svn path=/main/branches/2.1.6/; revision=12452
* Do not hardlink files unless they are in the sameZac Medico2009-01-121-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. (trunk r12381) svn path=/main/branches/2.1.6/; revision=12451
* When dropping privileges inside action_sync(), set the umask to preserveZac Medico2009-01-121-0/+4
| | | | | | the group write bit if appropriate. (trunk r12380) svn path=/main/branches/2.1.6/; revision=12450
* Bug #253467 - Don't allow alien $A values to leak into the ebuild environment.Zac Medico2009-01-121-5/+7
| | | | | | (trunk r12379) svn path=/main/branches/2.1.6/; revision=12449
* Inside action_sync(), when running as root, detect if $PORTDIR has non-rootZac Medico2009-01-121-7/+31
| | | | | | | uid/gid bits and drop privileges to match the existing bits if appropriate. (trunk r12378) svn path=/main/branches/2.1.6/; revision=12448
* Fix the 'Unrecognized configure options' check for compatibility withZac Medico2009-01-121-1/+1
| | | | | | | output produced by Autoconf 2.63. Thanks to Arfrever Frehtes Taifersar Arahesis for reporting. (trunk r12377) svn path=/main/branches/2.1.6/; revision=12447
* Bug #253210 - Fix logic inside EbuildBuild._buildpkg_exit() to avoidZac Medico2009-01-121-5/+10
| | | | | | | | triggering an AssertionError when the package phase has failed. This bug usually isn't noticeable since the package phase usually succeeds. (trunk r12371) svn path=/main/branches/2.1.6/; revision=12442
* Bug #252995 - When post_emerge() returns early because the vdb state hasZac Medico2009-01-121-0/+1
| | | | | | not changed, still display new notifications. (trunk r12369) svn path=/main/branches/2.1.6/; revision=12440
* Inside _showwarning(), import sys since otherwise it's None for some reason.Zac Medico2009-01-121-0/+1
| | | | | | (trunk r12364) svn path=/main/branches/2.1.6/; revision=12435
* Bug #252840 - Fix TypeError which is triggered by a broken override ofZac Medico2009-01-121-4/+9
| | | | | | | | varnings.formatwarning(). Override warnings.showwarning() instead since the api docs say it may be overriden while they do not say this about formatwarning(). (trunk r12363) svn path=/main/branches/2.1.6/; revision=12434
* Inside git_sync_timestamps(), use git-diff-index for the same reason thatZac Medico2009-01-121-1/+1
| | | | | | repoman now uses it since bug #252727. (trunk r12360) svn path=/main/branches/2.1.6/; revision=12431
* Remove references to @system and @world in depclean error message. ThanksZac Medico2008-12-311-1/+1
| | | | | | to cardoe for reporting. svn path=/main/branches/2.1.6/; revision=12372
* Bug #252562 - Show --onlydeps in short --help output. (trunk r12351)v2.1.6.4Zac Medico2008-12-271-1/+2
| | | | svn path=/main/branches/2.1.6/; revision=12356
* Fix loop logic some more for bug #252572. (trunk r12349)Zac Medico2008-12-271-6/+8
| | | | svn path=/main/branches/2.1.6/; revision=12354
* Fix typo. (trunk r12341)v2.1.6.3Zac Medico2008-12-251-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=12342
* Refactor EbuildMetadataPhase._output_handler() and _set_returncode().Zac Medico2008-12-251-16/+13
| | | | | | (trunk r12339) svn path=/main/branches/2.1.6/; revision=12340
* Use long() instead of float() when parsing Package.mtime from the metadata.Zac Medico2008-12-251-1/+1
| | | | | | (trunk r12332) svn path=/main/branches/2.1.6/; revision=12338
* Make vardbapi._aux_get() return _mtime_ as a long (never as a float).Zac Medico2008-12-251-1/+1
| | | | | | (trunk r12331) svn path=/main/branches/2.1.6/; revision=12337
* Inside portdbapi._metadata_callback(), preserve _eclasses_ when the EAPI isZac Medico2008-12-251-15/+20
| | | | | | | | | unsupported since the eclass timestamps might be needed in order to decide that the cache entry should be regenerated. Also, make sure that all metadata returned from portdbapi.aux_get() is returned as empty strings when the EAPI is unsupported. (trunk r12330) svn path=/main/branches/2.1.6/; revision=12336
* Handle potential KeyErrors that may be raised from get_eclass_data(), andZac Medico2008-12-253-10/+16
| | | | | | remove unnecessary print statements inside get_eclass_data(). (trunk r12329) svn path=/main/branches/2.1.6/; revision=12335
* Don't add any more that one "-" symbol to the front of an unsupported EAPI.Zac Medico2008-12-251-1/+1
| | | | | | (trunk r12328) svn path=/main/branches/2.1.6/; revision=12334
* Inside mirror_cache(), handle unsupported EAPI like portdbapi does.Zac Medico2008-12-251-0/+9
| | | | | | (trunk r12327) svn path=/main/branches/2.1.6/; revision=12333
* Add support for synchronizing ebuild and eclass timestamps with the metadataZac Medico2008-12-251-1/+136
| | | | | | | | | | | cache timestamps which emerge --sync operates on a git repository. This is necessary since git doesn't preserve timestamps. It is assumed that the timestamps should be synchronized if the relevant ebuilds and eclasses are unmodified relative to the HEAD commit (as reported by git-ls-files). This feature was requested by Daniel Robbins, so that it's possible for the funtoo git repository to distribute pre-generated metadata. (trunk r12303) svn path=/main/branches/2.1.6/; revision=12326
* Make BinpkgFetcher use longs instead of floats when synchronizing timestamps,Zac Medico2008-12-251-2/+2
| | | | | | since it's better not to rely on float comparison here. (trunk r12302) svn path=/main/branches/2.1.6/; revision=12325
* Bug #252374 - Warn if FEATURES=fakeroot is enabled, but the fakeroot binaryZac Medico2008-12-251-0/+5
| | | | | | is not installed. (trunk r12301) svn path=/main/branches/2.1.6/; revision=12324