summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unnecessary dict.keys() call.Zac Medico2008-08-101-1/+1
| | | | svn path=/main/trunk/; revision=11392
* Remove most references to Package.metadata_keys and replace them withZac Medico2008-08-101-20/+18
| | | | | | approriate keys for the given package type. svn path=/main/trunk/; revision=11386
* Fix typo.Zac Medico2008-08-101-1/+1
| | | | svn path=/main/trunk/; revision=11382
* Remove INHERITED from the vardbapi aux_get cache since it's not really thatZac Medico2008-08-102-7/+8
| | | | | | | | useful (@live-rebuild currently pulls INHERITED from the highest visible ebuild). Also adjust keys used to pull metadata for Package instances, so that INHERITED won't get pulled from the vardbapi anymore. svn path=/main/trunk/; revision=11381
* Make the scheduler's job delay ramp up faster by increasing the factorZac Medico2008-08-101-2/+3
| | | | | | to 1.0 and adding an exponent of 1.5. svn path=/main/trunk/; revision=11378
* Add write_contents() and tar_contents() functions to __all__.Zac Medico2008-08-091-1/+2
| | | | svn path=/main/trunk/; revision=11376
* * Use shlex.split() for splitting COLLISION_IGNORE.Zac Medico2008-08-091-1/+5
| | | | | | * Define __all__. svn path=/main/trunk/; revision=11375
* Don't use "dir" for a variable name since it's also a builtin.Zac Medico2008-08-091-4/+4
| | | | svn path=/main/trunk/; revision=11372
* Escape use flags before compiling regular expressions from them. ThanksZac Medico2008-08-092-4/+12
| | | | | | to pchrist for reporting. svn path=/main/trunk/; revision=11364
* When calling dbaip.aux_get() inside depgraph._select_package(), only pull theZac Medico2008-08-091-2/+1
| | | | | | | keys that are cached. This avoids triggering useless cache pulls for INHERITED from the bindbapi. svn path=/main/trunk/; revision=11360
* Increase Scheduler._job_delay_factor from 0.5 to 0.75 so that the delayZac Medico2008-08-091-1/+1
| | | | | | | ramps up a little quicker, since the current value appears to be too weak in some cases. svn path=/main/trunk/; revision=11359
* Add new LinkageMap.listBrokenBinaries() and listProviders() methods. ThanksZac Medico2008-08-081-0/+152
| | | | | | | | to Lucian Poston <lucianposton@gmail.com> for submitting this patch along with the missing-rebuild package set posted on the gentoo-portage-dev mailing list. svn path=/main/trunk/; revision=11357
* Fix broken reference to os.path.realpath() inside LinkageMap.getSoname().Zac Medico2008-08-081-1/+1
| | | | svn path=/main/trunk/; revision=11356
* In LinkageMap.rebuild(), filter empty strings that may be returned from splitZac Medico2008-08-081-2/+4
| | | | | | | calls when processing the "needed" and "path" entries. Thanks to Lucian Poston for reporting. svn path=/main/trunk/; revision=11355
* Handle missing ipv6 support (branches/prefix r11347).Zac Medico2008-08-081-1/+1
| | | | svn path=/main/trunk/; revision=11348
* * Fix the default() implementation so that it maps the ebuild argument toZac Medico2008-08-082-3/+11
| | | | | | | | | | | the correct phase function. * Add --exclude-init-phases option to save_ebuild_env() for filtering out unnecessary functions and variables when creating environment.bz2. * Add support for default() and default_* functions that die in all ebuild phases so that improper use of these functions is quickly discovered. svn path=/main/trunk/; revision=11346
* Shorten the scheduler status display in the xterm title by removing allZac Medico2008-08-081-1/+1
| | | | | | consecutive spaces. svn path=/main/trunk/; revision=11345
* In order to properly preserve --jobs and --load-average settings for --resumeZac Medico2008-08-071-3/+8
| | | | | | | | operations, store resume options in the mtimedb as a dict instead of a list. The dict type is supported in >=portage-2.1.3_rc8 (2.1.4.4 is current stable) so people switching between stable/unstable will be fine. svn path=/main/trunk/; revision=11343
* Fix a bug in vardbapi.removeFromContents() which sometimes prevents theZac Medico2008-08-071-2/+3
| | | | | | CONTENTS from being updated when it should. svn path=/main/trunk/; revision=11341
* In order to conserve some space, make _setitem() skip writing keys for whichZac Medico2008-08-071-0/+2
| | | | | | the value is empty. svn path=/main/trunk/; revision=11340
* 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
* Bug #233735 - Add support for src_configure and default_* functions withZac Medico2008-08-043-12/+18
| | | | | | | 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-031-57/+16
| | | | | | | 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
* Add a new RestrictSet which contains all packages that match specifiedZac Medico2008-08-021-7/+67
| | | | | | | 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
* 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-012-16/+37
| | | | | | | 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
* 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-311-1/+39
| | | | | | | | | | 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
* Add a new @module-rebuild set which emulates the behavior of theZac Medico2008-07-311-1/+37
| | | | | | | | 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-311-1/+38
| | | | | | | | | | 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
* 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