summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* 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-092-8/+9
| | | | 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-072-1/+29
| | | | | | up temp files on tmpfs after build failures with --keep-going. svn path=/main/trunk/; revision=14517
* Enable pty support on FreeBSD.Zac Medico2009-10-071-1/+1
| | | | svn path=/main/trunk/; revision=14516
* merge disable openpty conditional from branches/prefixFabian Groffen2009-10-071-1/+15
| | | | svn path=/main/trunk/; revision=14515
* Use the stricter _pkgsplit function.Zac Medico2009-10-071-1/+1
| | | | svn path=/main/trunk/; revision=14509
* 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
* * Add default ACCEPT_LICENSE and ACCEPT_PROPERTIES values in make.globals.Zac Medico2009-10-051-12/+39
| | | | | | | | | * Set default values if missing from make.globals. * Only warn once if a given license group is missing. * Prune off any parts of an ACCEPT_LICENSE and ACCEPT_PROPERTIES that are made irrelevant by the latest occuring * or -* wildcard. svn path=/main/trunk/; revision=14496
* Make deprecated_profile_check() suggest to use eselect profile. Thanks toZac Medico2009-10-051-0/+2
| | | | | | Samuli Suominen <ssuominen@g.o> for the suggestion. svn path=/main/trunk/; revision=14495
* Make pkgsplit() preserve 'null' category if it's present in the input.Zac Medico2009-10-051-2/+3
| | | | svn path=/main/trunk/; revision=14494
* Use _pkgsplit when input cannot contain a category.Zac Medico2009-10-041-3/+3
| | | | svn path=/main/trunk/; revision=14493
* Use the simpler/stricter _pkgspit in dbapi code.Zac Medico2009-10-043-3/+8
| | | | svn path=/main/trunk/; revision=14492
* Make pkgsplit() accept a cpv again, since accepting a pv only will probablyZac Medico2009-10-041-3/+20
| | | | | | | break lots of api consumers. Thanks to Romain Perier <mrpouet@g.o> for reporting epkginfo breakage. svn path=/main/trunk/; revision=14491
* Add src_configure and pkg_config to the list of phases in ↵Arfrever Frehtes Taifersar Arahesis2009-10-041-2/+2
| | | | | | repoman.checks.PhaseCheck.__init__(). svn path=/main/trunk/; revision=14490
* Restrict upstream.workaround to src_compile and src_install as much as possible.Mounir Lamouri2009-10-041-31/+36
| | | | | | Prevent warnings when using emake -j1 in src_test which is recommanded. svn path=/main/trunk/; revision=14489
* fix mis-alignmentFabian Groffen2009-10-041-1/+1
| | | | svn path=/main/trunk/; revision=14488
* Generate an eerror message in dblink.mergeme when a file has to be renamed inv2.2_rc43Zac Medico2009-10-031-2/+31
| | | | | | order to merge a directory to the same path. svn path=/main/trunk/; revision=14485
* Fix race condition when using a fork inside _test_pty_eof().Zac Medico2009-10-031-4/+6
| | | | svn path=/main/trunk/; revision=14478
* Don't use a fork inside _test_pty_eof() because it gives inconsistent results.Zac Medico2009-10-031-12/+21
| | | | svn path=/main/trunk/; revision=14477
* 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
* Bug #285191 - Remove the RDEPEND.implicit check because it is invalid.Zac Medico2009-10-011-32/+1
| | | | svn path=/main/trunk/; revision=14471
* Bug #286895 - Generate an eerror message when a directory blocks mergeZac Medico2009-09-301-6/+16
| | | | | | | of a regular file and the file is merged using a 'config protect' filename even though the path may not be among those covered by CONFIG_PROTECT. svn path=/main/trunk/; revision=14468
* Use a regular expression for SLOT validation inside vardbapi.aux_get().Zac Medico2009-09-302-6/+9
| | | | svn path=/main/trunk/; revision=14467
* Take regular expressions from portage.dep and use them to reimplementZac Medico2009-09-303-54/+35
| | | | | | | portage.versions.pkgsplit(). This simplifies the code and helps guarantee consistency package name/version validation. svn path=/main/trunk/; revision=14466
* 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-293-10/+28
| | | | | | | 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
* Make tbz2.get_data() return an empty dict on failure.Zac Medico2009-09-291-1/+1
| | | | svn path=/main/trunk/; revision=14460
* Don't call self.scan() in tbz2.__init__ since all methods call it anyway.Zac Medico2009-09-291-1/+0
| | | | svn path=/main/trunk/; revision=14459
* Bug #286780 - Fix email.MIME* imports to use email.mime.* (works with pythonZac Medico2009-09-281-3/+3
| | | | | | 2.6 and python 3). Thanks to Hanno Meyer-Thurow <h.mth@web.de> for this patch. svn path=/main/trunk/; revision=14458
* Fix breakage in file path -> package lookup code.Zac Medico2009-09-282-2/+2
| | | | svn path=/main/trunk/; revision=14455
* Make _test_pty_eof() call process.spawn() instead of os.fork().Zac Medico2009-09-271-8/+9
| | | | svn path=/main/trunk/; revision=14454
* Try to avoid blocking on Darwin in _test_pty_eof() by using slave_fd directlyZac Medico2009-09-271-7/+5
| | | | | | instead of fdopen. svn path=/main/trunk/; revision=14453
* In _test_pty_eof(), call waitpid on the child process only after reading allZac Medico2009-09-271-1/+1
| | | | | | the data from the pty. svn path=/main/trunk/; revision=14452
* Make _test_pty_eof() fork when writing to the slave_fd, since otherwiseZac Medico2009-09-271-4/+12
| | | | | | it would block on some platforms such as Darwin. svn path=/main/trunk/; revision=14451
* Make _test_pty_eof() use non-blocking IO, required for Darwin kernel.Zac Medico2009-09-271-1/+13
| | | | svn path=/main/trunk/; revision=14449