Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix breakage in Package constructor attribute initialization. | Zac Medico | 2008-05-25 | 1 | -1/+3 |
| | | | | svn path=/main/trunk/; revision=10423 | ||||
* | Remove unused code. | Zac Medico | 2008-05-25 | 1 | -5/+0 |
| | | | | svn path=/main/trunk/; revision=10422 | ||||
* | Use the metadata wrapper to initialize Package slot and use attributes. | Zac Medico | 2008-05-25 | 1 | -5/+3 |
| | | | | svn path=/main/trunk/; revision=10421 | ||||
* | Remove the Package.cpv_slot attribute. | Zac Medico | 2008-05-25 | 1 | -9/+2 |
| | | | | svn path=/main/trunk/; revision=10420 | ||||
* | * Add support for Package instances and USE deps in match_from_list(). | Zac Medico | 2008-05-25 | 3 | -25/+100 |
| | | | | | | * Add USE dep matching support to depgraph._iter_atoms_for_pkg(). svn path=/main/trunk/; revision=10419 | ||||
* | * Fix PackageSet.findAtomForPackage() to take a Package instance as | Zac Medico | 2008-05-25 | 2 | -36/+17 |
| | | | | | | | | an argument. * Simplify PackageSet.findAtomForPackage() by implementing it on top of iterAtomsForPackage(). svn path=/main/trunk/; revision=10415 | ||||
* | Facilitate creation of Atom instances in a few obvious places: | Zac Medico | 2008-05-25 | 2 | -9/+12 |
| | | | | | | | * PackageSet._setAtoms() * AtomArg and PackageArg constructors. svn path=/main/trunk/; revision=10413 | ||||
* | Remove redundant SLOT dep code in portdbapi.xmatch() since it's now | Zac Medico | 2008-05-25 | 1 | -11/+2 |
| | | | | | | handled by dbapi._iter_match(). svn path=/main/trunk/; revision=10410 | ||||
* | Remove category validation cruft from catpkgsplit(). | Zac Medico | 2008-05-25 | 1 | -5/+1 |
| | | | | svn path=/main/trunk/; revision=10400 | ||||
* | Fix isvalidatom() so tests pass, and add a USE deps case to the tests. | Zac Medico | 2008-05-25 | 2 | -8/+12 |
| | | | | svn path=/main/trunk/; revision=10399 | ||||
* | * Fix dep_getusedeps() test to work with tuples. | Zac Medico | 2008-05-25 | 2 | -4/+5 |
| | | | | | | * Add test cases for conditional USE deps. svn path=/main/trunk/; revision=10398 | ||||
* | Add support for conditionals inside USE dependencies. This is useful | Zac Medico | 2008-05-25 | 2 | -8/+60 |
| | | | | | | | | | | | | | | | | for cases in which the package satisfying a dependency should have identical or opposite flag state relative to the parent package. Conditionals are evaluated as follows: parent state conditional result x [x?] [x] -x [x?] [-x] x [-x?] [-x] -x [-x?] [x] svn path=/main/trunk/; revision=10396 | ||||
* | Fix broken dep_getusedeps() cache behavior so that it returns the | Zac Medico | 2008-05-24 | 1 | -2/+3 |
| | | | | | | correct type. svn path=/main/trunk/; revision=10395 | ||||
* | For dep_expand() backward compatibility, handle atoms with missing '=' | Zac Medico | 2008-05-24 | 1 | -2/+9 |
| | | | | | | | prefix which did not raise an error here before the portage.dep.Atom class was introduced. svn path=/main/trunk/; revision=10394 | ||||
* | Fix paren_reduce() so that it appropriately raises an InvalidDependString() | Zac Medico | 2008-05-24 | 1 | -1/+5 |
| | | | | | | in some cases, instead of a nonsense ValueError. svn path=/main/trunk/; revision=10393 | ||||
* | Fix paren_reduce() so that it appropriately raises an InvalidDependString() | Zac Medico | 2008-05-24 | 1 | -0/+3 |
| | | | | | | in some cases, instead of a nonsense AttributeError. svn path=/main/trunk/; revision=10392 | ||||
* | Fix use_reduce() so that it appropriately raises an InvalidDependString | Zac Medico | 2008-05-24 | 1 | -1/+1 |
| | | | | | | | instead of an IndexError in some cases (avoid IndexError by using slice notation). svn path=/main/trunk/; revision=10391 | ||||
* | Bug #223417 - Make the vardbapi.cpv_all() use_cache parameter useful | Zac Medico | 2008-05-24 | 2 | -2/+19 |
| | | | | | | | | 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). svn path=/main/trunk/; revision=10390 | ||||
* | Bug #223417 - use floating point mtime for finer grained validation in | Zac Medico | 2008-05-24 | 1 | -1/+1 |
| | | | | | | | cachedir(). svn path=/main/trunk/; revision=10389 | ||||
* | Bug #220671 - Fix 'RuntimeError: Set changed size during iteration' error. | Zac Medico | 2008-05-23 | 1 | -1/+4 |
| | | | | svn path=/main/trunk/; revision=10388 | ||||
* | Bug #2272 - Extend dependency atom sytax to specify enabled or disabled | Zac Medico | 2008-05-23 | 7 | -101/+255 |
| | | | | | | | | states of USE flags. Matching with the new syntax is currently only supported in the dbapi classes and dependency resolver (use matching does not work yet in config files such as package.mask). svn path=/main/trunk/; revision=10387 | ||||
* | Raise an error if the named repository doesn't existv2.2_pre7 | Marius Mauch | 2008-05-21 | 1 | -2/+8 |
| | | | | svn path=/main/trunk/; revision=10383 | ||||
* | When using vecho or eqawarn it comes in handy when isolated-functions | Zac Medico | 2008-05-20 | 1 | -0/+2 |
| | | | | | | have been sourced. (branches/prefix r10380) svn path=/main/trunk/; revision=10381 | ||||
* | Simplify cache code in vardbapi.aux_get(). | Zac Medico | 2008-05-20 | 1 | -10/+3 |
| | | | | svn path=/main/trunk/; revision=10377 | ||||
* | In vardbapi.aux_get(), don't mark cacheed metadata invalid just because | Zac Medico | 2008-05-20 | 1 | -1/+0 |
| | | | | | | some of the values are missing. svn path=/main/trunk/; revision=10375 | ||||
* | Inside vardbapi.aux_get(), do more validation on the cache data to | Zac Medico | 2008-05-20 | 1 | -0/+9 |
| | | | | | | ensure it contains the expected data types. svn path=/main/trunk/; revision=10373 | ||||
* | Adjust code order to organize it a bit. (branches/2.1.2 r10371) | Zac Medico | 2008-05-19 | 1 | -5/+5 |
| | | | | svn path=/main/trunk/; revision=10372 | ||||
* | Validate and normalize target_root earlier in the config constructor. | Zac Medico | 2008-05-19 | 1 | -6/+6 |
| | | | | svn path=/main/trunk/; revision=10369 | ||||
* | Fix vardbapi.aux_get() logic so that it will correctly pull the metadata | Zac Medico | 2008-05-19 | 1 | -1/+1 |
| | | | | | | value corresponding to an unrecognized metadata key. svn path=/main/trunk/; revision=10367 | ||||
* | Exclude "env" from use in variable substitution since we want to avoid | Zac Medico | 2008-05-19 | 1 | -3/+5 |
| | | | | | | | any interaction with the calling environment that might lead to unexpected results. svn path=/main/trunk/; revision=10364 | ||||
* | In unmerge(), flush the vardbapi aux_get() cache to disk before releasing | Zac Medico | 2008-05-18 | 1 | -0/+1 |
| | | | | | | the vardb lock. svn path=/main/trunk/; revision=10361 | ||||
* | Tweak vardbapi.aux_get() cache logic a bit. | Zac Medico | 2008-05-18 | 1 | -1/+3 |
| | | | | svn path=/main/trunk/; revision=10360 | ||||
* | * To avoid excessive IO on each call to LinkageMap.rebuild(), cache | Zac Medico | 2008-05-18 | 1 | -8/+29 |
| | | | | | | | | | NEEDED.* files via vardbapi.aux_get(). * Make vardbapi.aux_get() preserve newlines in multi-line metadata such as NEEDED.* and CONTENTS. svn path=/main/trunk/; revision=10359 | ||||
* | Bug #222623 - Use "regardless" instead of "irregardless" since the latter | Zac Medico | 2008-05-18 | 1 | -1/+1 |
| | | | | | | is considered to be incorrect. svn path=/main/trunk/; revision=10357 | ||||
* | Add the environment and some more files to the existing make.defaults | Zac Medico | 2008-05-17 | 1 | -34/+55 |
| | | | | | | | | | | | | | | variable substitution support. Variable substitution occurs in the following order: * env.d * env * make.globals * make.defaults * make.conf svn path=/main/trunk/; revision=10351 | ||||
* | Fix th logic from the previous commit. | Zac Medico | 2008-05-17 | 1 | -1/+4 |
| | | | | svn path=/main/trunk/; revision=10350 | ||||
* | Add back the "install new portage asap" behavior that got lost when that | Zac Medico | 2008-05-17 | 1 | -0/+1 |
| | | | | | | area of code was rewritten. svn path=/main/trunk/; revision=10349 | ||||
* | Detect and filter ebuilds that have invalid versions in portdbapi.cp_list(). | Zac Medico | 2008-05-16 | 1 | -1/+6 |
| | | | | svn path=/main/trunk/; revision=10346 | ||||
* | Add dev-util/ftjam to the RDEPEND.suspect list as per bug #221537, comment #3. | Zac Medico | 2008-05-16 | 1 | -0/+1 |
| | | | | | | Leaving dev-util/jam in place, in case it revives somehow. svn path=/main/trunk/; revision=10344 | ||||
* | Add a note about interaction between FEATURES="metadata-transfer" | Zac Medico | 2008-05-14 | 1 | -1/+5 |
| | | | | | | and eclasses from PORTDIR_OVERLAY that override eclasses from PORTDIR. svn path=/main/trunk/; revision=10337 | ||||
* | Skip blocker atoms for the RDEPEND.suspect check. | Zac Medico | 2008-05-14 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=10335 | ||||
* | Bug #221537 - Add a new "RDEPEND.suspect" check for packages in RDEPEND that | Zac Medico | 2008-05-14 | 2 | -1/+44 |
| | | | | | | usually only belong in DEPEND. svn path=/main/trunk/; revision=10333 | ||||
* | add xterm-color and interix to list of valid terminals | Marius Mauch | 2008-05-13 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=10329 | ||||
* | Remove 'eselect compiler' references | Marius Mauch | 2008-05-13 | 1 | -6/+0 |
| | | | | svn path=/main/trunk/; revision=10328 | ||||
* | Prefer deb2tgz over ar for unpacking .deb files when installed (patch by ↵ | Marius Mauch | 2008-05-13 | 1 | -1/+14 |
| | | | | | | Fabian Groffen, http://archives.gentoo.org/gentoo-portage-dev/msg_2f9c8543016f1a96f9122aca0ec35ded.xml) svn path=/main/trunk/; revision=10327 | ||||
* | make debug mode configurable | Marius Mauch | 2008-05-13 | 1 | -1/+3 |
| | | | | svn path=/main/trunk/; revision=10326 | ||||
* | Add subversion support for repoman (patch by Fabien Groffen, ↵ | Marius Mauch | 2008-05-13 | 3 | -75/+187 |
| | | | | | | http://archives.gentoo.org/gentoo-portage-dev/msg_b7080f212c3eb09c943a1ce5a7356f01.xml) svn path=/main/trunk/; revision=10325 | ||||
* | ignore consumers from the current package instance when checking if a ↵ | Marius Mauch | 2008-05-13 | 1 | -2/+11 |
| | | | | | | preserved library can be removed svn path=/main/trunk/; revision=10324 | ||||
* | Check vercmp() return value to avoid arbitrary results in case it returns None | Marius Mauch | 2008-05-13 | 1 | -2/+4 |
| | | | | svn path=/main/trunk/; revision=10322 | ||||
* | fix man markup for PORTAGE_FETCH_RESUME_MIN_SIZE | Mike Frysinger | 2008-05-13 | 1 | -7/+7 |
| | | | | svn path=/main/trunk/; revision=10320 |