summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* Add a --rebuilt-binaries[=n] option, causing automatic replacement ofZac Medico2010-02-183-2/+42
| | | | | | | | | | | | | installed packages with binary packages that have been rebuilt. Rebuilds are detected by comparison of BUILD_TIME package metadata. This option is enabled automatically when using binary packages, so rebuilt binaries are installed with a user's typical update command. This isn't possible with the existing @rebuild-binaries package set since that only works with --selective=n and therefore can't be used with a typical world update. The package set framework should support this type of behavior sometime in the future. svn path=/main/trunk/; revision=15364
* Add @rebuilt-binaries set which uses BUILD_TIME to pull in binary packagesZac Medico2010-02-172-35/+33
| | | | | | | that have a different build time from a currently installed package of the exact same version. svn path=/main/trunk/; revision=15363
* Bug #303567 - Merge libc asap, in order to account for implicit dependencies.Zac Medico2010-02-171-0/+9
| | | | svn path=/main/trunk/; revision=15362
* Cache BUILD_TIME in Package.metadata.Zac Medico2010-02-151-1/+1
| | | | svn path=/main/trunk/; revision=15359
* Bug #304981 - Truncate the build log after successful fetch, instead ofZac Medico2010-02-141-3/+4
| | | | | | removing it, so as not to interfere with tail -f. svn path=/main/trunk/; revision=15352
* Bug #304793 - Update --newuse docs to indicate that this option also impliesZac Medico2010-02-131-2/+5
| | | | | | --selective. svn path=/main/trunk/; revision=15346
* Use os.environ instead of the config.environ(). This solves binpkg extractionZac Medico2010-02-121-9/+4
| | | | | | | issues with catalyst stage1 due to PATH being unset and bzip2/tar binaries not being found by bash. svn path=/main/trunk/; revision=15344
* Logg errors that occur during binpkg extraction.Zac Medico2010-02-122-4/+13
| | | | svn path=/main/trunk/; revision=15343
* Ignore blockers in DEPEND of built packages when --with-bdeps is enabled.Zac Medico2010-02-101-6/+16
| | | | svn path=/main/trunk/; revision=15336
* Use Atom.cp instead of dep_getkey().Zac Medico2010-02-091-5/+4
| | | | svn path=/main/trunk/; revision=15331
* Bug #303401 - Fix emerge.log disabling code that's been broken sinceZac Medico2010-02-042-3/+6
| | | | | | portage-2.1.7 when the _emerge module got split up. svn path=/main/trunk/; revision=15322
* Use Package.use.enabled where appropriate.Zac Medico2010-02-021-1/+1
| | | | svn path=/main/trunk/; revision=15316
* Use stat rather than lstat since portage.fetch() creates symlinks whenZac Medico2010-02-021-1/+3
| | | | | | PORTAGE_RO_DISTDIRS is used. svn path=/main/trunk/; revision=15315
* Fix deprecated portdbapi.mysettings reference.Zac Medico2010-02-021-1/+1
| | | | svn path=/main/trunk/; revision=15314
* Make sure the fetcher process correctly inherits PORTAGE_CONFIGROOT.Zac Medico2010-02-011-0/+1
| | | | svn path=/main/trunk/; revision=15313
* Optimize parallel-fetch for the case where all files are already fetched andZac Medico2010-02-011-0/+52
| | | | | | | have the correct size. In this case we can avoid the expense of spawning ebuild(1). svn path=/main/trunk/; revision=15312
* Deallocate config instance when necessary, to avoid memory leak when inZac Medico2010-02-011-0/+3
| | | | | | prefetch mode. svn path=/main/trunk/; revision=15311
* Deprecate pordbapi.mysettings since the portdbapi.settings alias is nowZac Medico2010-01-311-1/+1
| | | | | | supported by stable portage. svn path=/main/trunk/; revision=15306
* Bug #300388 - Fix terminal handling code to so term codes aren't sent whenZac Medico2010-01-113-5/+12
| | | | | | TERM=dumb. svn path=/main/trunk/; revision=15191
* Skip global updates for help, version, and info actions.Zac Medico2010-01-081-1/+2
| | | | svn path=/main/trunk/; revision=15179
* Use get_term_size() to adjust to current terminal width. Thanks to Dror LevinZac Medico2010-01-021-2/+6
| | | | | | <spatz@g.0> for the initial patch. svn path=/main/trunk/; revision=15156
* If the TERM environment variable is unset then just use internal defaultZac Medico2009-12-211-1/+3
| | | | | | | term codes since the vt100 codes typically produce strange output. This fixes strange output from catalyst stage1 builds. svn path=/main/trunk/; revision=15129
* When integer mtime is desired, use stat_obj[stat.ST_MTIME] instead of theZac Medico2009-12-213-4/+6
| | | | | | float st_mtime in order to avoid rounding *up* in some rare cases. svn path=/main/trunk/; revision=15125
* Fix typo.Arfrever Frehtes Taifersar Arahesis2009-12-161-1/+1
| | | | svn path=/main/trunk/; revision=15099
* Warn if /proc is not mounted.Zac Medico2009-12-161-0/+11
| | | | svn path=/main/trunk/; revision=15097
* Inside depgraph._validate_blockers(), do not consider blockers in DEPEND ofZac Medico2009-12-132-4/+14
| | | | | | | installed packages, since DEPEND is supposed to be irrelevant for packages after they are built. svn path=/main/trunk/; revision=15056
* When overridding sys.std* in python2, use binary streams.Zac Medico2009-12-091-6/+8
| | | | svn path=/main/trunk/; revision=14974
* When temporarily replacing the sys.std* streams, use the normal open() funcZac Medico2009-12-081-3/+13
| | | | | | | in python3 so that we get the right class (otherwise our code that expects the 'buffer' attribute will break). svn path=/main/trunk/; revision=14971
* Bug #295715 - Implement a register_success_hook function to complementZac Medico2009-12-063-22/+51
| | | | | | | register_die_hook, and also add code to ensure the die hooks are called even when the failure is on the python side (like for file collisions). svn path=/main/trunk/; revision=14936
* Add 'tla' to the lists of live eclasses.Zac Medico2009-12-061-1/+2
| | | | svn path=/main/trunk/; revision=14935
* Add a AbstractEbuildProcess class for MiscFunctionsProcess to inherit theZac Medico2009-12-063-23/+34
| | | | | | _pipe and _can_log methods that used to be in the EbuildProcess class. svn path=/main/trunk/; revision=14933
* Use portage.StringIO to avoid duplicate import fallback code.Zac Medico2009-12-062-15/+2
| | | | svn path=/main/trunk/; revision=14931
* Bug #162404 - Automatically disable logging if sesandbox is enabled and aZac Medico2009-12-052-1/+14
| | | | | | | pty is not available for some reason (currently they are never available with python3). svn path=/main/trunk/; revision=14928
* Always append QA Notices resulting from the build log search to the end ofZac Medico2009-12-051-4/+11
| | | | | | the log. Thanks to Diego E. Pettenò for reporting. svn path=/main/trunk/; revision=14927
* Bug #280336, comment #2 - Clear the package selection cache when packagesv2.2_rc55Zac Medico2009-12-031-0/+1
| | | | | | | are added to the graph. This fixes incorrect choices that happen in some cases. svn path=/main/trunk/; revision=14922
* Bug #294945 - Fix blocker satistfied state handling inside depgraph, toZac Medico2009-11-281-4/+10
| | | | | | avoid a KeyError when displaying blockers. svn path=/main/trunk/; revision=14914
* Revert r14901 since it doesn't solve the problem (bug #294945).Zac Medico2009-11-281-5/+1
| | | | svn path=/main/trunk/; revision=14913
* In FakeVartree.sync(), skip the aux_get wrapper when populating old-stylev2.2_rc53Zac Medico2009-11-271-1/+7
| | | | | | | virtuals, in order to avoid unwanted cache generation with --nodeps (reported by Arfrever). svn path=/main/trunk/; revision=14909
* Handle a KeyError in depgraph._ordered_tree_display(), reported on irc byZac Medico2009-11-271-1/+5
| | | | | | romildo. svn path=/main/trunk/; revision=14901
* In calc_depclean(), load the FakeVartree before using it. This fixesZac Medico2009-11-271-1/+1
| | | | | | | a regression which causes incomplete graph creation (since r14773). Thanks to Vlastimil Babka <caster@g.o> for reporting. svn path=/main/trunk/; revision=14899
* Set built=True when creating Package instances. This fixes a problem withv2.2_rc52Zac Medico2009-11-251-1/+1
| | | | | | --resume, reported by Sebastian Mingramm (few). svn path=/main/trunk/; revision=14886
* Bug #293614 - When the backtracking limit is reached and there is a SLOTZac Medico2009-11-231-0/+8
| | | | | | | conflict to display, hint that a larger --backtrack value might solve the conflict automatically. svn path=/main/trunk/; revision=14875
* Optimized the code for bug #288083 and make it handle more cases. Now Packagev2.2_rc51Zac Medico2009-11-214-97/+116
| | | | | | | instances have 'visible' and 'masks' attributes, since this information needs to be accessed in more places now. svn path=/main/trunk/; revision=14859
* Tweak logic from previous commit.Zac Medico2009-11-211-4/+4
| | | | svn path=/main/trunk/; revision=14858
* In depgraph._serialize_tasks(), ensure that unsolvable blockers can't beZac Medico2009-11-211-1/+3
| | | | | | accidentally marked as satisfied. svn path=/main/trunk/; revision=14857
* Fix blocker display to work properly with --tree --unordered-display.Zac Medico2009-11-211-10/+10
| | | | svn path=/main/trunk/; revision=14856
* Fix depgraph._prune_tree_display() to preserve uninstall tasks. Thanks toZac Medico2009-11-201-1/+1
| | | | | | Jonathan Callen <abcd@g.o> for reporting. svn path=/main/trunk/; revision=14855
* Bug #293730 - Fix bad || choices triggered in some cases insideZac Medico2009-11-201-1/+4
| | | | | | _dep_check_composite_db._visible() when --update is not enabled. svn path=/main/trunk/; revision=14854
* Disable backtracking in the depgraph constructor call when appropriate.Zac Medico2009-11-201-1/+1
| | | | svn path=/main/trunk/; revision=14853
* Check for updates masked by license for any installed packages that have beenZac Medico2009-11-171-2/+3
| | | | | | added to the graph (regardless of --deep or --complete-graph).. svn path=/main/trunk/; revision=14845