summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bug #223447 - Adjust the "installed packages are masked" display to recognizeZac Medico2008-05-282-12/+47
| | | | | | | | | | packages that are masked by keywords and are eligible for uninstallation by depclean. This is a workaround for the fact that depclean may fail to recognize that the package is eligible for uninstall due to differences in visibility filtering which can lead to differences in || dep evaluation. TODO: Share visibility code to fix this inconsistency. (trunk r10465) svn path=/main/branches/2.1.2/; revision=10466
* Make set_term_size() handle the CommandNotFound exception if sttyZac Medico2008-05-281-2/+6
| | | | | | is missing for some reason. (trunk r10461) svn path=/main/branches/2.1.2/; revision=10464
* Convert doman to use bash's =~ operator instead of calling egrep.Zac Medico2008-05-281-1/+1
| | | | | | (trunk r10460) svn path=/main/branches/2.1.2/; revision=10463
* Fix breakage due to frozenset being immutable. (trunk r10455)Zac Medico2008-05-271-2/+2
| | | | svn path=/main/branches/2.1.2/; revision=10456
* Make config._init_dirs() preserver /tmp and /var/tmp permissions ifZac Medico2008-05-271-6/+13
| | | | | | | those directories already exist. This gives freedom to the user to adjust permissions to suit their taste. (trunk r10451:10453) svn path=/main/branches/2.1.2/; revision=10454
* Fix a typo from the previous commit. (trunk r10450)Zac Medico2008-05-271-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10451
* Use new Package.use and iuse attributes to avoid extra split() calls.Zac Medico2008-05-271-22/+13
| | | | | | (trunk r10448) svn path=/main/branches/2.1.2/; revision=10449
* Fix breakage in the BlockerDB constructor. (trunk r10443)Zac Medico2008-05-271-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10444
* Merge code for the Package.root_config attribute from trunk r10440,Zac Medico2008-05-271-50/+83
| | | | | | excluding USE deps code. svn path=/main/branches/2.1.2/; revision=10442
* Bug #223685 - Use the finally clause to collect elog messages justZac Medico2008-05-271-3/+1
| | | | | | | before releasing the build dir lock, so they never get missed. (trunk r10438) svn path=/main/branches/2.1.2/; revision=10439
* Add some debug output for arguments and their associated atoms, to help inZac Medico2008-05-271-1/+8
| | | | | | debugging problems similar to bug #223735. (trunk r10436) svn path=/main/branches/2.1.2/; revision=10437
* Don't silently swallow instances of UnpicklingError since they are easilyZac Medico2008-05-262-5/+15
| | | | | | | triggered by storing instances of custom classes in a pickle. (trunk r10432:10434) svn path=/main/branches/2.1.2/; revision=10435
* Avoid triggering "cPickle.UnpicklingError: Global and instance picklesZac Medico2008-05-261-3/+13
| | | | | | | are not supported." errors that are triggered when the pickle contains custom classes. (trunk r10431) svn path=/main/branches/2.1.2/; revision=10432
* Skip source_all_bashrcs() when $EBUILD_PHASE is not set. (trunk r10429)Zac Medico2008-05-261-0/+1
| | | | svn path=/main/branches/2.1.2/; revision=10430
* * Enable config.setcpv() to use a Package instance in place of a cpv.Zac Medico2008-05-262-25/+37
| | | | | | | | * Make depgraph._select_package() pass Package instances into setcpv() calls. * Enable the Package constructor to use an iterable for metadata items. (trunk r10427) svn path=/main/branches/2.1.2/; revision=10428
* Fix a broken reference to the Package.cpv_slot attribute. (trunk r10425)Zac Medico2008-05-261-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10426
* * Add support for Package instances in match_from_list().Zac Medico2008-05-252-28/+76
| | | | | | | * Remove the Package.cpv_slot attribute. (trunk r10418:10423) svn path=/main/branches/2.1.2/; revision=10424
* * Fix PackageSet.findAtomForPackage() to take a Package instance asZac Medico2008-05-251-35/+18
| | | | | | | | | an argument. * Simplify PackageSet.findAtomForPackage() by implementing it on top of iterAtomsForPackage(). (trunk r10415) svn path=/main/branches/2.1.2/; revision=10416
* Facilitate creation of Atom instances in a few obvious places:Zac Medico2008-05-251-4/+14
| | | | | | | | * PackageSet._setAtoms() * AtomArg and PackageArg constructors. (trunk r10413) svn path=/main/branches/2.1.2/; revision=10414
* Create Atom instances when validating atoms inside _expand_new_virtuals().Zac Medico2008-05-251-4/+9
| | | | | | (trunk r10396) svn path=/main/branches/2.1.2/; revision=10412
* Remove redundant SLOT dep code in portdbapi.xmatch() since it's nowZac Medico2008-05-251-12/+2
| | | | | | handled by dbapi._iter_match(). (trunk r10410) svn path=/main/branches/2.1.2/; revision=10411
* Fix paren_reduce() so that it appropriately raises an InvalidDependString()Zac Medico2008-05-251-1/+5
| | | | | | in some cases, instead of a nonsense ValueError. (trunk r10393) svn path=/main/branches/2.1.2/; revision=10409
* Fix paren_reduce() so that it appropriately raises an InvalidDependString()Zac Medico2008-05-251-0/+3
| | | | | | in some cases, instead of a nonsense AttributeError. (trunk r10392) svn path=/main/branches/2.1.2/; revision=10408
* Fix use_reduce() so that it appropriately raises an InvalidDependStringZac Medico2008-05-251-1/+1
| | | | | | | instead of an IndexError in some cases (avoid IndexError by using slice notation). (trunk r10391) svn path=/main/branches/2.1.2/; revision=10407
* Bug #223417 - Make the vardbapi.cpv_all() use_cache parameter usefulZac Medico2008-05-252-1/+18
| | | | | | | | | for forcing direct os.listdir() calls. This is more of an issue now that these listdir() calls are frequently triggered when merging packages (due to things like blocker and preserve-libs handling). (trunk r10390) svn path=/main/branches/2.1.2/; revision=10406
* Bug #223417 - use floating point mtime for finer grained validation inZac Medico2008-05-251-1/+1
| | | | | | cachedir(). (trunk r10389) svn path=/main/branches/2.1.2/; revision=10405
* Fix portage_exception namespace.Zac Medico2008-05-251-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10404
* Merge the Atom class and dbapi._iter_match() from trunk r10387 and r10394.Zac Medico2008-05-254-52/+98
| | | | | | Everything related to USE deps has been omitted for now. svn path=/main/branches/2.1.2/; revision=10403
* When using vecho or eqawarn it comes in handy when isolated-functionsZac Medico2008-05-251-0/+2
| | | | | | have been sourced. (trunk r10381) svn path=/main/branches/2.1.2/; revision=10402
* Fix isvalidatom() so tests pass, and add a USE deps case to the tests.Zac Medico2008-05-253-15/+13
| | | | | | (trunk r10399) svn path=/main/branches/2.1.2/; revision=10401
* Add square brackets, [ and ] to the _invalid_atom_chars_regexp that'sZac Medico2008-05-251-1/+1
| | | | | | | used by isvalidatom() since we don't wan't atoms with USE deps slipping through here. svn path=/main/branches/2.1.2/; revision=10397
* * remove NEEDED from list of metadata variables (trunk r10180)v2.1.5.2Zac Medico2008-05-201-11/+4
| | | | | | * Simplify cache code in vardbapi.aux_get(). (trunk r10377) svn path=/main/branches/2.1.2/; revision=10378
* In vardbapi.aux_get(), don't mark cacheed metadata invalid just becauseZac Medico2008-05-201-1/+0
| | | | | | some of the values are missing. (trunk r10375) svn path=/main/branches/2.1.2/; revision=10376
* Inside vardbapi.aux_get(), do more validation on the cache data toZac Medico2008-05-201-0/+9
| | | | | | ensure it contains the expected data types. (trunk r10373) svn path=/main/branches/2.1.2/; revision=10374
* Adjust code order to organize it a bit.Zac Medico2008-05-191-5/+5
| | | | svn path=/main/branches/2.1.2/; revision=10371
* Validate and normalize target_root earlier in the config constructor.Zac Medico2008-05-191-6/+6
| | | | | | (trunk r10369) svn path=/main/branches/2.1.2/; revision=10370
* Fix vardbapi.aux_get() logic so that it will correctly pull the metadataZac Medico2008-05-191-1/+1
| | | | | | value corresponding to an unrecognized metadata key. (trunk r10367) svn path=/main/branches/2.1.2/; revision=10368
* Exclude "env" from use in variable substitution since we want to avoidv2.1.5.1Zac Medico2008-05-191-3/+5
| | | | | | | any interaction with the calling environment that might lead to unexpected results. (trunk r10364) svn path=/main/branches/2.1.2/; revision=10365
* In unmerge(), flush the vardbapi aux_get() cache to disk before releasingZac Medico2008-05-181-0/+1
| | | | | | the vardb lock. (trunk r10361) svn path=/main/branches/2.1.2/; revision=10363
* * Make vardbapi.aux_get() preserve newlines in multi-line metadataZac Medico2008-05-181-8/+24
| | | | | | | | | such as NEEDED.* and CONTENTS. * Tweak vardbapi.aux_get() cache logic a bit. (trunk r10358:10360) svn path=/main/branches/2.1.2/; revision=10362
* Bug #222623 - Use "regardless" instead of "irregardless" since the latterZac Medico2008-05-181-1/+1
| | | | | | is considered to be incorrect. (trunk r10357) svn path=/main/branches/2.1.2/; revision=10358
* Add the environment and some more files to the existing make.defaultsZac Medico2008-05-171-34/+55
| | | | | | | | | | | | | | | variable substitution support. Variable substitution occurs in the following order: * env.d * env * make.globals * make.defaults * make.conf (trunk r10351) svn path=/main/branches/2.1.2/; revision=10356
* Fix th logic from the previous commit. (trunk r10350)Zac Medico2008-05-171-1/+4
| | | | svn path=/main/branches/2.1.2/; revision=10355
* Add back the "install new portage asap" behavior that got lost when thatZac Medico2008-05-171-0/+1
| | | | | | area of code was rewritten. (trunk r10349) svn path=/main/branches/2.1.2/; revision=10354
* Detect and filter ebuilds that have invalid versions in portdbapi.cp_list().Zac Medico2008-05-171-0/+6
| | | | | | (trunk r10346) svn path=/main/branches/2.1.2/; revision=10353
* Add dev-util/ftjam to the RDEPEND.suspect list as per bug #221537, comment #3.Zac Medico2008-05-171-0/+1
| | | | | | Leaving dev-util/jam in place, in case it revives somehow. (trunk r10344) svn path=/main/branches/2.1.2/; revision=10352
* Add a note about interaction between FEATURES="metadata-transfer"v2.1.5Zac Medico2008-05-141-1/+5
| | | | | | | and eclasses from PORTDIR_OVERLAY that override eclasses from PORTDIR. (trunk r10337) svn path=/main/branches/2.1.2/; revision=10338
* Skip blocker atoms for the RDEPEND.suspect check. (trunk r10335)Zac Medico2008-05-141-1/+2
| | | | svn path=/main/branches/2.1.2/; revision=10336
* Bug #221537 - Add a new "RDEPEND.suspect" check for packages in RDEPEND thatZac Medico2008-05-142-0/+44
| | | | | | usually only belong in DEPEND. (trunk r10333) svn path=/main/branches/2.1.2/; revision=10334
* add xterm-color and interix to list of valid terminals (trunk r10329)Zac Medico2008-05-131-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=10332