summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant 'local line' definition from previous commit.Zac Medico2008-08-061-1/+0
| | | | svn path=/main/trunk/; revision=11336
* Fix breakage in elog function newline handling with causes blank/emptyZac Medico2008-08-061-5/+43
| | | | | | lines to get lost. svn path=/main/trunk/; revision=11335
* Make doebuild() display manifest verification failures for each corruptZac Medico2008-08-051-29/+57
| | | | | | ebuild rather than just the first one. svn path=/main/trunk/; revision=11332
* When there is no build log to display, it means that fetch failed, soZac Medico2008-08-051-15/+51
| | | | | | display the fetch log in that case. svn path=/main/trunk/; revision=11331
* Remove unused parse_use_local_desc() function.Zac Medico2008-08-051-22/+0
| | | | svn path=/main/trunk/; revision=11330
* Remove the use.local.desc IUSE validation which is now replaced by glep56Zac Medico2008-08-051-30/+2
| | | | | | | metadata.xml validation. This was requested by Cardoe since he expects to complete the gleep56 conversion process pretty soon. svn path=/main/trunk/; revision=11329
* Add some docs for EAPI 2_pre2.Zac Medico2008-08-041-1/+69
| | | | svn path=/main/trunk/; revision=11328
* Bug #233735 - Add support for src_configure and default_* functions withZac Medico2008-08-046-83/+189
| | | | | | | new EAPI=2_pre2. Thanks to Arfrever Frehtes Taifersar Arahesis for the initial patch which I've made a few adjustments to. svn path=/main/trunk/; revision=11327
* Remove code from bug #223447 which is now obsolete due to depclean usingZac Medico2008-08-041-13/+1
| | | | | | the depgraph class. svn path=/main/trunk/; revision=11326
* Make the status display say "Emerging" and "Emerging binary" instead ofZac Medico2008-08-041-2/+2
| | | | | | | "Building" and "Extracting". Thanks to Joe Peterson <lavajoe> for the suggestion (including extra newlines from previous commit). svn path=/main/trunk/; revision=11325
* Insert extra newline before status messages, since that's how it used to be.Zac Medico2008-08-041-1/+2
| | | | svn path=/main/trunk/; revision=11324
* Make dblink.unmerge() succeed even when ebuild phases are unsuccessful becauseZac Medico2008-08-041-6/+6
| | | | | | | the current behavior is even worse (results in orphan files). Thanks to Arfrever for this patch (UnsupportedAPIException hunk by me). svn path=/main/trunk/; revision=11323
* Add a more generic VariableSet to replace the InheritSet and RestrictSetZac Medico2008-08-033-80/+30
| | | | | | | classes. Thanks to Arfrever Frehtes Taifersar Arahesis for this patch from bug #233589 (with some minor adjustments from me). svn path=/main/trunk/; revision=11320
* Handle missing sets, to avoid KeyError raised from unmerge().Zac Medico2008-08-021-0/+12
| | | | svn path=/main/trunk/; revision=11319
* Document the fact that use of @installed/EverythingSet makes it impossibleZac Medico2008-08-022-2/+7
| | | | | | for emerge to solve blockers by automatic uninstallation of blocked packages. svn path=/main/trunk/; revision=11318
* Add a new RestrictSet which contains all packages that match specifiedZac Medico2008-08-022-7/+85
| | | | | | | RESTRICT values. This could be useful for implementing something like a @live-rebuild based on RESTRICT metadata, as suggested in bug #233589. svn path=/main/trunk/; revision=11317
* In the file collision elog message, only say 'NOT merged' whenZac Medico2008-08-021-4/+8
| | | | | | collision-protect is enabled. Thanks to dberkholz for reporting. svn path=/main/trunk/; revision=11316
* * Add INHERITED to vardbapi._aux_cache_keys since Package.metadata_keys alsoZac Medico2008-08-011-2/+2
| | | | | | | | includes this one now. * Fix pull_me calculation inside vardbapi.aux_get() so that it correctly subtracts _mtime_ from the list of keys to pull. svn path=/main/trunk/; revision=11315
* Add debug support to PackagesSystemSet since robbat2 is reporting an emptyZac Medico2008-08-011-2/+22
| | | | | | set for some unknown reason. svn path=/main/trunk/; revision=11314
* Make EbuildFetcher pass a copy of os.environ to the ebuild(1) subprocess sov2.2_rc6Zac Medico2008-08-011-1/+6
| | | | | | | that any incremental variables have been overridden are correctly considered by the config instance in the subproccess. svn path=/main/trunk/; revision=11312
* Update the Parallel Scheduling section to describe the current algorithm.Zac Medico2008-08-011-1/+7
| | | | svn path=/main/trunk/; revision=11311
* Add DowngradeSet and OwnerSet to __all__.Zac Medico2008-08-011-1/+2
| | | | svn path=/main/trunk/; revision=11310
* Bug #233252 - Handle InvalidAtom exceptions that can be raised fromZac Medico2008-08-011-15/+20
| | | | | | depgraph._add_dep() calls inside _add_pkg_deps(). svn path=/main/trunk/; revision=11309
* Make InheritSet more like DowngradeSet, and check INHERITED from the highestZac Medico2008-08-011-7/+17
| | | | | | | visible ebuild in the portage tree rather than from the installed package itself. svn path=/main/trunk/; revision=11308
* Optimize `emaint` --fix binhost so that it the Packages file isn't re-readZac Medico2008-08-013-31/+82
| | | | | | | and re-written for each package that's updated. Instead, hold a lock for the whole time the command is running and just update it once. svn path=/main/trunk/; revision=11307
* Fix new rejects in cnf/make.conf.*.diff.Zac Medico2008-08-012-20/+0
| | | | svn path=/main/trunk/; revision=11306
* Remove the list of FEATURES descriptions from make.conf.example and replaceZac Medico2008-08-012-59/+9
| | | | | | it with a reference to the make.conf(5) man page. svn path=/main/trunk/; revision=11305
* Bug #229033 - Use `svn propget -R svn:keywords` to detect which will haveZac Medico2008-08-011-10/+30
| | | | | | | | | | changed headers that require an additional manifest commit. Thanks to Fabian Groffen for this patch which I've made some modifications to: * For clarity, use separate "no_expansion" variable for cvs bin blobs. * Fix svn keyword parsing to properly handle multiple keywords delimited by newlines. svn path=/main/trunk/; revision=11304
* Bug #233487 - Fix --fetch-all-uri breakage:Zac Medico2008-08-012-4/+16
| | | | | | | | | | | * Make --fetch-all-uri imply --fetchonly so that all the --fetchonly conditionals apply to --fetch-all-uri as well. * Add an EbuildFetcher.fetchall attribute, and also add the required support to portage.doebuild() for a "fetchall" phase that EbuildFetcher can invoke in the background via the ebuild(1) command. svn path=/main/trunk/; revision=11303
* Fix DowngradeSet so it's safe for cases when no ebuild is available.Zac Medico2008-07-311-0/+2
| | | | svn path=/main/trunk/; revision=11300
* Bug #233253 - Implement a @downgrade set which selects packages for whichZac Medico2008-07-313-1/+55
| | | | | | | | | | the highest visible ebuild version is lower than the currently installed version. This is useful if you have installed packages from an overlay and you want to downgrade to the highest visible after removing the overlay, even though the packages that will be dowgraded are not necessarily masked in any way. svn path=/main/trunk/; revision=11299
* Always invalidate results from _userpriv_test_write_file_cache whenZac Medico2008-07-311-1/+1
| | | | | | adjusting permissions on a given directory. svn path=/main/trunk/; revision=11298
* Bug #233458 - Fix AsynchronousTask exit listener handling so that an exitZac Medico2008-07-311-5/+17
| | | | | | | | | listener will never get called after it's been passed into removeExitListener(), since the caller of removeExitListener() needs to be able to be able to trust that the given exit listener will not be called under any circumstances. svn path=/main/trunk/; revision=11297
* Describe InheritSet and OwnerSet.Zac Medico2008-07-311-0/+4
| | | | svn path=/main/trunk/; revision=11296
* * Rename @live-ebuilds to @live-rebuild, for consistency with the otherZac Medico2008-07-312-1/+25
| | | | | | | *-rebuild sets. * Document the new sets. svn path=/main/trunk/; revision=11295
* Remove quotes since the seem to cause incorrect results.Zac Medico2008-07-311-1/+1
| | | | svn path=/main/trunk/; revision=11294
* Add a new @module-rebuild set which emulates the behavior of theZac Medico2008-07-312-1/+43
| | | | | | | | module-rebuild tool. The /lib/modules path is set in sets.conf via a "files" attribute of an OwnerSet instance. This can be easily used to define similar sets based on paths on installed files. svn path=/main/trunk/; revision=11293
* Implement a new @live-ebuilds which is generated from installed packagesZac Medico2008-07-312-1/+44
| | | | | | | | | | that inherit from know live eclasses such as cvs, darcs, git, mercurial, and subversion. The list of eclasses is controlled by an "inherits" attribute that is configure in sets.conf for and instance of InheritSet. This set serves a purpose similar to the -scm ebuild suffix that has been proposed in GLEP 54. svn path=/main/trunk/; revision=11292
* disable default IONICE command as it breaks for non-root, and ionice might ↵Marius Mauch2008-07-311-1/+2
| | | | | | not always be available svn path=/main/trunk/; revision=11291
* Fixes in portage.fetch() for bugs #233303 and #94133:Zac Medico2008-07-311-2/+48
| | | | | | | | | | | | | * Totally skip $DISTDIR creation if the fetch_to_ro feature is enabled. * Don't touch $DISTDIR permissions unless unless usepriv and/or userfetch are enabled. * When usepriv and/or userfetch are enabled, test whether or not a process that has dropped privileges is able to create a file in the directory, and only adjust permissions if the test fails. * Completely svn path=/main/trunk/; revision=11290
* Split out a _spawn_fetch() function that will be useful for implementing aZac Medico2008-07-311-29/+49
| | | | | | userpriv testcase for bug #233303. svn path=/main/trunk/; revision=11289
* Bug #233421 - Fix grammar, missing "be" in --update description. Thanks toZac Medico2008-07-301-2/+2
| | | | | | Mikael Magnusson for this patch. svn path=/main/trunk/; revision=11288
* Fix typo.v2.2_rc5Zac Medico2008-07-301-1/+1
| | | | svn path=/main/trunk/; revision=11284
* Update foo[!bar=] syntax.Zac Medico2008-07-301-1/+1
| | | | svn path=/main/trunk/; revision=11283
* * Fix Scheduler._restart_if_necessary() breakage so that the given packageZac Medico2008-07-301-14/+16
| | | | | | | | is correctly compared to the last one in the merge list. * Update code in depgraph.display() to be more consistent with the code in Scheduler._is_restart_necessary(). svn path=/main/trunk/; revision=11282
* Remove redundant use dep validation code that's handled by regular expressionZac Medico2008-07-301-6/+2
| | | | | | now. svn path=/main/trunk/; revision=11281
* Remove unused variable.Zac Medico2008-07-301-1/+1
| | | | svn path=/main/trunk/; revision=11280
* * Add more use dep validation.Zac Medico2008-07-302-9/+28
| | | | | | * Fix broken handling of !foo? reported by ABCD. svn path=/main/trunk/; revision=11279
* When checking for news items in --pretend mode, pass update=False intoZac Medico2008-07-301-22/+27
| | | | | | | | | | | the NewsManager.getUnreadItems() call. Emerge shouldn't have to update anything anyway when in --pretend mode, and this helps to avoid potential permission problems. In order to pass the relevant information about options (--pretend state) to the new code, supporting function parameters have been added to display_news_notification(), post_emerge(), and checkUpdatedNewsItems(). svn path=/main/trunk/; revision=11278
* Put a 5 second cap on the delay produced by Scheduler._job_delay().Zac Medico2008-07-301-2/+5
| | | | svn path=/main/trunk/; revision=11277