summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* 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-101-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. svn path=/main/trunk/; revision=12410
* * Enable the recursive option in profile package.use parsing.Zac Medico2009-01-101-15/+14
| | | | | | * 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-092-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. 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
* 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
* 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 #253210 - Fix logic inside EbuildBuild._buildpkg_exit() to avoidZac Medico2008-12-311-5/+10
| | | | | | | triggering an AssertionError when the package phase has failed. This bug usually isn't noticeable since the package phase usually succeeds. svn path=/main/trunk/; revision=12371
* Bug #252995 - When post_emerge() returns early because the vdb state hasZac Medico2008-12-301-0/+1
| | | | | | not changed, still display new notifications. svn path=/main/trunk/; revision=12369
* Inside _showwarning(), import sys since otherwise it's None for some reason.Zac Medico2008-12-291-0/+1
| | | | svn path=/main/trunk/; revision=12364
* Bug #252840 - Fix TypeError which is triggered by a broken override ofZac Medico2008-12-291-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(). svn path=/main/trunk/; revision=12363
* Inside git_sync_timestamps(), use git-diff-index for the same reason thatZac Medico2008-12-281-1/+1
| | | | | | repoman now uses it since bug #252727. svn path=/main/trunk/; revision=12360
* Revert r12348 since it's not really needed and the previous version is morev2.2_rc20Zac Medico2008-12-271-1/+1
| | | | | | efficient. svn path=/main/trunk/; revision=12352
* Bug #252562 - Show --onlydeps in short --help output.Zac Medico2008-12-261-1/+2
| | | | svn path=/main/trunk/; revision=12351
* Fix loop logic some more for bug #252572.Zac Medico2008-12-261-6/+8
| | | | svn path=/main/trunk/; revision=12349
* Bug #252572 - Fix a loop condition inside depgraph._serialize_tasks() whichZac Medico2008-12-261-1/+1
| | | | | | can cause an infinite loop that's triggered by unresolvable blockers. svn path=/main/trunk/; revision=12348
* Fix typo.v2.2_rc19Zac Medico2008-12-251-1/+1
| | | | svn path=/main/trunk/; revision=12341
* Refactor EbuildMetadataPhase._output_handler() and _set_returncode().Zac Medico2008-12-251-16/+13
| | | | svn path=/main/trunk/; revision=12339
* Use long() instead of float() when parsing Package.mtime from the metadata.Zac Medico2008-12-251-1/+1
| | | | svn path=/main/trunk/; revision=12332
* Make vardbapi._aux_get() return _mtime_ as a long (never as a float).Zac Medico2008-12-251-1/+1
| | | | svn path=/main/trunk/; revision=12331
* 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. svn path=/main/trunk/; revision=12330
* 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(). svn path=/main/trunk/; revision=12329
* Don't add any more that one "-" symbol to the front of an unsupported EAPI.Zac Medico2008-12-251-1/+1
| | | | svn path=/main/trunk/; revision=12328
* Inside mirror_cache(), handle unsupported EAPI like portdbapi does.Zac Medico2008-12-251-0/+9
| | | | svn path=/main/trunk/; revision=12327
* 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. svn path=/main/trunk/; revision=12303
* Make BinpkgFetcher use longs instead of floats when synchronizing timestamps,Zac Medico2008-12-241-2/+2
| | | | | | since it's better not to rely on float comparison here. svn path=/main/trunk/; revision=12302
* Bug #252374 - Warn if FEATURES=fakeroot is enabled, but the fakeroot binaryZac Medico2008-12-241-0/+5
| | | | | | is not installed. svn path=/main/trunk/; revision=12301
* Fix PATH comparison in binarytree.inject() some more.Zac Medico2008-12-241-1/+1
| | | | svn path=/main/trunk/; revision=12295
* Fix broken PATH comparisons when eliminating duplicate entries insideZac Medico2008-12-241-2/+2
| | | | | | binarytree.inject(). svn path=/main/trunk/; revision=12294
* Make more code conditional on POLLIN events, where appropriate.Zac Medico2008-12-231-31/+38
| | | | svn path=/main/trunk/; revision=12291
* Move initial signal handlers to the launcher script.Zac Medico2008-12-231-17/+2
| | | | svn path=/main/trunk/; revision=12290
* Rename the PollTask class to AbstractPollTask.Zac Medico2008-12-231-3/+6
| | | | svn path=/main/trunk/; revision=12289
* Add handling for POLLERR, POLLNVAL, and POLLHUP. Hopefully this solves hung ↵Zac Medico2008-12-231-40/+72
| | | | | | | | | poll calls with defunct ebuild.sh processes, reported on solaris systems by Fabian Groffen <grobian@g.o>. svn path=/main/trunk/; revision=12287
* Register for poll events before forking, in order to avoid potential race ↵Zac Medico2008-12-231-13/+12
| | | | | | | | | | conditions in SpawnProcess._start() and EbuildMetadataPhase._start(). Hopefully this solves hung poll calls with defunct ebuild.sh processes, reported on solaris systems by Fabian Groffen <grobian@g.o>. svn path=/main/trunk/; revision=12285
* When removing entries with duplicate paths inside binarytree.inject(), handleZac Medico2008-12-231-3/+6
| | | | | | path collisions in $PKGDIR/All when CPV is not identical. svn path=/main/trunk/; revision=12282
* Fix typo.Zac Medico2008-12-231-1/+1
| | | | svn path=/main/trunk/; revision=12281