summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* Automatically create a fallback setconfig, so emerge isn't crippled due toZac Medico2009-10-181-25/+51
| | | | | | | | misssing/corrupt/outdated sets.conf. This is especially important since WorldSet has been renamed to WorldSelectedSet, and thus new and old sets.conf files are incompatible. svn path=/main/trunk/; revision=14630
* Bug #287869 - Add a --selective[=n] option (inverse of --oneshot). This isZac Medico2009-10-162-0/+21
| | | | | | | useful if you want to use EMERGE_DEFAULT_OPTS to make --oneshot behavior default. svn path=/main/trunk/; revision=14615
* Bug #266454 - Make @world an all-inclusive set once again, like it was priorZac Medico2009-10-167-41/+43
| | | | | | | | to portage-2.2_rc* releases. In addition to @system, @world now includes a @selected set which represents user-selected "world" packages and sets that saved in /var/lib/portage/world{,sets}. svn path=/main/trunk/; revision=14614
* Remove soname_cache inside calc_depclean() since LinkageMap caches thatZac Medico2009-10-161-5/+1
| | | | | | already. svn path=/main/trunk/; revision=14613
* TODO: Make resume_depgraph() return reasons for dropped_tasks, forZac Medico2009-10-161-0/+1
| | | | | | display/logging. svn path=/main/trunk/; revision=14611
* Bug #289068 - Avoid KeyError: USE when depgraph calls _getMissingLicenses.Zac Medico2009-10-161-0/+3
| | | | svn path=/main/trunk/; revision=14610
* Bug #288906 - Fix Scheduler._dblink_elog() to always append messages to theZac Medico2009-10-141-14/+19
| | | | | | build log if available (regardless whether or not message goes to stdout). svn path=/main/trunk/; revision=14600
* When --depclean pulls in the provider of a library because of installedZac Medico2009-10-141-1/+8
| | | | | | consumers, display the soname(s) of the consumed libraries. svn path=/main/trunk/; revision=14599
* Implement __len__.Zac Medico2009-10-131-0/+5
| | | | svn path=/main/trunk/; revision=14598
* Discard the log on success, since otherwise we'll have multiple log files forZac Medico2009-10-101-1/+9
| | | | | | the same package. svn path=/main/trunk/; revision=14559
* Fix ugly 'Candidates' --debug output.Zac Medico2009-10-091-1/+5
| | | | svn path=/main/trunk/; revision=14535
* Fix error in --changed-use logic.Zac Medico2009-10-091-2/+2
| | | | svn path=/main/trunk/; revision=14534
* Add --changed-use as an alias for --reinstall=changed-use. Thanks toZac Medico2009-10-092-0/+10
| | | | | | Jeremy Olexa <darkside@g.o> for the suggestion. svn path=/main/trunk/; revision=14533
* Force consistent color output, in case we are capturing fetchZac Medico2009-10-091-0/+5
| | | | | | | output through a normal pipe due to unavailability of ptys. Thanks to grobian for reporting. svn path=/main/trunk/; revision=14530
* Handle AUTOCLEAN and NOCOLOR case insensitivity inside config.Zac Medico2009-10-091-8/+0
| | | | svn path=/main/trunk/; revision=14528
* Fix "TabError: inconsistent use of tabs and spaces in indentation" with ↵Arfrever Frehtes Taifersar Arahesis2009-10-091-1/+1
| | | | | | Python 3 which was introduced in r14522. svn path=/main/trunk/; revision=14524
* Bug #272000 - When --keep-going is enabled, don't completely bail out atZac Medico2009-10-091-6/+8
| | | | | | | the beginning due to corrupt manifest(s). Thanks to Sebastian Mingramm (few) for this patch. svn path=/main/trunk/; revision=14523
* Bug #271551 - Inside depgraph.select_files(), avoid bailing out due to anZac Medico2009-10-091-0/+12
| | | | | | | ambiguous package name in cases when all but one of the resolved packages are virtual. Thanks to Sebastian Mingramm (few) for this patch. svn path=/main/trunk/; revision=14522
* Bug #267468 - Display the total number of binary packages in the mergeZac Medico2009-10-092-0/+15
| | | | | | list. Thanks to Sebastian Mingramm (few) for this patch. svn path=/main/trunk/; revision=14520
* Bug #287950 - Add a --fail-clean[=n] option, for enabling or disablingZac Medico2009-10-083-0/+32
| | | | | | FEATURES=fail-clean from the command line. svn path=/main/trunk/; revision=14518
* Bug #287950 - Add support for FEATURES=fail-clean which is useful for cleaningZac Medico2009-10-071-0/+25
| | | | | | up temp files on tmpfs after build failures with --keep-going. svn path=/main/trunk/; revision=14517
* Bug #265267 - Add hint about --accept-properties=-interactive in theZac Medico2009-10-061-1/+4
| | | | | | --jobs docs. svn path=/main/trunk/; revision=14508
* Bug #265267 - When disabling --jobs due to interactive package(s), hintZac Medico2009-10-061-1/+4
| | | | | | about --accept-properties=-interactive option. svn path=/main/trunk/; revision=14507
* Exempt installed packages from PROPERTIES masking since the user is likelyZac Medico2009-10-061-3/+5
| | | | | | | | to temporarily alter ACCEPT_PROPERIES in order to avoid interactive updates and we don't want this to distort resolver choices or trigger warning messages about installed packages being masked. svn path=/main/trunk/; revision=14506
* Bug #287870 - Add -r option as short version of --resume.Zac Medico2009-10-062-2/+3
| | | | svn path=/main/trunk/; revision=14504
* Add a new --accept-properties option so that users can temporarily overrideZac Medico2009-10-062-0/+22
| | | | | | | | | | | ACCEPT_PROPERTIES on the commandline, without relying on emerge's legacy behavior of allowing variables to leak in from the calling environment. A typical usage example for this option would be to use --accept-properties=-interactive to temporarily mask interactive packages. With default configuration, this would result in an effective ACCEPT_PROPERTIES value of "* -interactive". svn path=/main/trunk/; revision=14501
* When restarting emerge, don't trust sys.argv[0] since eselect-python mayZac Medico2009-10-061-1/+3
| | | | | | modify it. svn path=/main/trunk/; revision=14499
* - move news into features so it can be ignored when needed. Lots of ↵Ned Ludd2009-10-051-9/+11
| | | | | | whitespace cleanups svn path=/main/trunk/; revision=14497
* Bug #285832 - When updates are missed due to dependencies that have beenZac Medico2009-10-031-1/+44
| | | | | | | masked by backtracking, abbreviate output in order to avoid terminal flooding. svn path=/main/trunk/; revision=14476
* Bug #287333 - If posible, use ebuild from tree when checking for keyword maskZac Medico2009-10-021-7/+6
| | | | | | on installed packages. svn path=/main/trunk/; revision=14474
* Bug #287333 - Fix the code from bug #252167 so it behaves consistentlyZac Medico2009-10-021-4/+3
| | | | | | regardless of the package (ebuild or binpkg) being masked. svn path=/main/trunk/; revision=14472
* Fix SyntaxError with Python 3 added in r14462.Arfrever Frehtes Taifersar Arahesis2009-09-291-1/+1
| | | | svn path=/main/trunk/; revision=14465
* Revert the rest of r14280 since it seems that dict bypasses __getitem__Zac Medico2009-09-291-26/+7
| | | | | | and/or __setitem__ too often. svn path=/main/trunk/; revision=14463
* Add back _PackageMetadataWrapper__setitem__, removed in r14280, since removingZac Medico2009-09-291-30/+64
| | | | | | | | it seems to cause problems. Thanks to Jeremy Olexa <darkside@gentoo.org> for reporting, and Marat Radchenko <marat@slonopotamus.org> for bisecting to find the revision. svn path=/main/trunk/; revision=14462
* Handle encoding/decoding of unicode when using the xpak api.Zac Medico2009-09-291-1/+2
| | | | | | | Use tbz2.get_data() instead of tbz2.getfile() when reading multiple values, in order to avoid multiple tbz2.scan() and searchindex() calls. svn path=/main/trunk/; revision=14461
* Fix breakage in file path -> package lookup code.Zac Medico2009-09-282-2/+2
| | | | svn path=/main/trunk/; revision=14455
* Bug #286522 - Check all portdbapi.findname return values in case itZac Medico2009-09-268-15/+36
| | | | | | returns None, and raise 'ebuild not found' exceptions when necessary. svn path=/main/trunk/; revision=14442
* Bug #285767 - Add support to to identify and eliminate redundant packageZac Medico2009-09-252-8/+89
| | | | | | selections when multiple atoms happen to specify a version range. svn path=/main/trunk/; revision=14432
* Fix UnboundLocalError triggered by atom without category for nonexistentZac Medico2009-09-251-1/+1
| | | | | | package. Thanks to Jeremy Olexa <darkside@gentoo.org> for reporting. svn path=/main/trunk/; revision=14431
* Fix formatting of sizes with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-251-1/+1
| | | | svn path=/main/trunk/; revision=14429
* Define __bool__() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-251-2/+5
| | | | svn path=/main/trunk/; revision=14427
* Fix formatting of size of downloads with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-231-1/+1
| | | | svn path=/main/trunk/; revision=14394
* Bug #285979 - Replace references to CDEPEND with UNUSED_00, to make it clearZac Medico2009-09-231-1/+0
| | | | | | that this key really is unused. svn path=/main/trunk/; revision=14393
* Replace dict.keys() usage with __iter__(), since it behaves identically inZac Medico2009-09-224-6/+6
| | | | | | both python 2.x and 3.x. svn path=/main/trunk/; revision=14380
* Use input() instead of raw_input() when Python 3 is used.Arfrever Frehtes Taifersar Arahesis2009-09-211-1/+4
| | | | svn path=/main/trunk/; revision=14358
* Use next(iterator) instead of iterator.next() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-214-8/+8
| | | | | | (2to3-3.1 -f next -nw ${FILES}) svn path=/main/trunk/; revision=14355
* Define long as int when Python 3 is used.Arfrever Frehtes Taifersar Arahesis2009-09-218-0/+22
| | | | svn path=/main/trunk/; revision=14343
* Use dict.(keys|values|items)() instead of ↵Arfrever Frehtes Taifersar Arahesis2009-09-2119-67/+67
| | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327
* Fix case for 0 args in args unicode conversion.Zac Medico2009-09-211-1/+2
| | | | svn path=/main/trunk/; revision=14326
* Support both Python 2 and 3 in portage._unicode_encode() and ↵Arfrever Frehtes Taifersar Arahesis2009-09-212-2/+3
| | | | | | | | portage._unicode_decode(). Update decoding in some files. svn path=/main/trunk/; revision=14321