Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | serialize_tasks: asap ignore medium_soft earlier | Zac Medico | 2011-06-11 | 1 | -5/+11 |
| | | | | | | This allows us to avoid the less efficient runtime cycle pathway for cases in which an asap node is a leaf if medium_soft deps are ignored. Ths should increase efficiency without changing behavior. | ||||
* | serialize_tasks: minimize runtime cycles more | Zac Medico | 2011-06-11 | 1 | -3/+6 |
| | |||||
* | serialize_tasks: minimize nodes in runtime cycles | Zac Medico | 2011-06-10 | 1 | -30/+30 |
| | | | | | | | When gathering the nodes belonging to a runtime cycle, we want to minimize the number of nodes gathered, since this tends to produce a more optimal merge order. Ignoring all medium_soft deps serves this purpose. | ||||
* | depgraph._serialize_tasks: revert formatting diff | Zac Medico | 2011-06-10 | 1 | -6/+5 |
| | |||||
* | depgraph._serialize_tasks: move libperl/perl code | Zac Medico | 2011-06-10 | 1 | -14/+17 |
| | | | | | This ensures that all asap_nodes are explored before setting prefer_asap to False. | ||||
* | bintree: verify that default REPO is legit | Zac Medico | 2011-06-10 | 1 | -1/+1 |
| | | | | | We need to check the RepoConfig.missing_repo_name attribute to make sure the repo_name is really defined. | ||||
* | depgraph._serialize_tasks: tweak last commit more | Zac Medico | 2011-06-10 | 1 | -3/+3 |
| | |||||
* | depgraph._serialize_tasks: tweak last commit | Zac Medico | 2011-06-10 | 1 | -7/+9 |
| | | | | This code is only intended when more than one node is selected. | ||||
* | test_fakedbapi: define PORTDIR, test missing IUSE | Zac Medico | 2011-06-10 | 1 | -2/+11 |
| | |||||
* | test_fakedbapi: use tempdir for config paths | Zac Medico | 2011-06-10 | 1 | -6/+13 |
| | |||||
* | Add tests for fakedbapi. | Zac Medico | 2011-06-10 | 3 | -0/+44 |
| | |||||
* | slot_collision_notice: don't omit any use dep | Zac Medico | 2011-06-10 | 1 | -14/+16 |
| | | | | | | When USE flags are removed, it can be essential to see all broken reverse dependencies here, so don't omit any. If the list is long, people can simply use a pager. | ||||
* | show_unsatisfied_blockers: don't omit any pkgs | Zac Medico | 2011-06-10 | 1 | -17/+10 |
| | | | | | It can be essential to see all the packages here, so don't omit any. If the list is long, people can simply use a pager. | ||||
* | Fix a typo. | Arfrever Frehtes Taifersar Arahesis | 2011-06-11 | 1 | -1/+1 |
| | |||||
* | depgraph._serialize_tasks: fix libperl/perl order | Zac Medico | 2011-06-10 | 1 | -5/+17 |
| | | | | | | In some cases, the asap_nodes code caused selection of a large runtime cycle that was obviously sub-optimal. Now such cases are detected and avoided. | ||||
* | fakedbapi: add myrepo args for portdbapi compat | Zac Medico | 2011-06-10 | 1 | -3/+3 |
| | |||||
* | bintree: handle pkgindex CHOST header like REPO | Zac Medico | 2011-06-10 | 1 | -1/+2 |
| | | | | | This allows an existing CHOST header entry to properly override our default. | ||||
* | bintree: always populate pkgindex REPO header | Zac Medico | 2011-06-10 | 1 | -10/+16 |
| | | | | | | | The previous code would only populate it when there was no existing index file. Now, the default will be populated even if the file exists already. If an existing pkgindex header already defines these keys, then they will appropriately override our defaults. | ||||
* | Fix some typoes in docs and comments.v2.2.0_alpha39 | Zac Medico | 2011-06-09 | 1 | -1/+1 |
| | |||||
* | useflag/dep_re: less strict if eapi None | Zac Medico | 2011-06-09 | 2 | -5/+16 |
| | | | | | When eapi is None then validation is not as strict, since we want the same to work for multiple EAPIs that may have slightly different rules. | ||||
* | SubProcess: fix status for _set_returncode caller | Zac Medico | 2011-06-09 | 5 | -9/+9 |
| | | | | | | These callers don't intend to make WIFSIGNALED return True, so they need to shift their codes 8 bits to the left. This ensures that commit 88f5bf84e2fd23125910b2ecaffc035971445696 behaves as intended. | ||||
* | AbstractEbuildProcess: handle kill by signal | Zac Medico | 2011-06-09 | 1 | -5/+19 |
| | | | | This will fix bug #368817. | ||||
* | SubProcess: make returncode like Popen | Zac Medico | 2011-06-09 | 1 | -6/+10 |
| | |||||
* | lockfile: use hasattr() instead of dir() | Zac Medico | 2011-06-09 | 1 | -1/+1 |
| | |||||
* | test_use_reduce: test empty parens (bug 370565) | Zac Medico | 2011-06-09 | 1 | -1/+3 |
| | |||||
* | use_reduce: disallow empty parens | Arfrever Frehtes Taifersar Arahesis | 2011-06-09 | 2 | -3/+6 |
| | | | | This will fix bug #370565. | ||||
* | getmaskingstatus: fix keywords logic | Zac Medico | 2011-06-09 | 1 | -28/+10 |
| | | | | This will fix bug #370477. | ||||
* | getmaskingreason: EAPI metadata safety | Zac Medico | 2011-06-09 | 1 | -0/+11 |
| | | | | | Return early since otherwise we might produce invalid results given that the EAPI is not supported. | ||||
* | show_masked_packages: EAPI metadata safety | Zac Medico | 2011-06-09 | 1 | -0/+3 |
| | | | | | When masked by EAPI, metadata is mostly useless since it doesn't contain essential things like SLOT. | ||||
* | Fix a typo and update a comment. | Arfrever Frehtes Taifersar Arahesis | 2011-06-09 | 1 | -2/+2 |
| | |||||
* | _show_unsatisfied_dep: fix logic for EAPI mask | Zac Medico | 2011-06-09 | 1 | -6/+9 |
| | | | | This will fix bug #370465. | ||||
* | SpawnTestCase: check returncode | Zac Medico | 2011-06-09 | 1 | -1/+1 |
| | |||||
* | locks: use a private constant for fcntl.lockf | Zac Medico | 2011-06-09 | 1 | -3/+4 |
| | |||||
* | Test noblocking locks. | Zac Medico | 2011-06-08 | 1 | -0/+46 |
| | |||||
* | unmerge: show virtual in system unmerge warning | Zac Medico | 2011-06-08 | 1 | -1/+9 |
| | | | | | | This is intended to clarify the messages shown in bug #370295, so that it's obvious when a package is a member of the system set due to it being a virtual provider. | ||||
* | Atom: avoid TypeError with PyPy | Zac Medico | 2011-06-08 | 1 | -1/+5 |
| | | | | | Our test cases pass in raw bytes here, which causes _atom_base.__init__ to raise TypeError with PyPy. | ||||
* | autounmask-write: prefer package.accept_keywords | Zac Medico | 2011-06-08 | 1 | -2/+2 |
| | |||||
* | extract_affecting_use: _get_useflag_re(eapi) | Zac Medico | 2011-06-08 | 4 | -7/+10 |
| | | | | | This is needed for EAPI="4-python" added in commit 586760f37fb9784327d8447182d49810662f4427. | ||||
* | autounmask-write: support package.accept_keywords | Zac Medico | 2011-06-08 | 1 | -1/+6 |
| | |||||
* | Add initial support for EAPI="4-python". | Arfrever Frehtes Taifersar Arahesis | 2011-06-08 | 2 | -13/+11 |
| | |||||
* | Fix some typos. | Arfrever Frehtes Taifersar Arahesis | 2011-06-06 | 3 | -3/+3 |
| | |||||
* | bintree: populate REPO header for empty pkgindexv2.2.0_alpha38 | Zac Medico | 2011-06-06 | 1 | -1/+8 |
| | |||||
* | getmaskingreason: assume myrepo arg is valid | Zac Medico | 2011-06-06 | 1 | -5/+8 |
| | |||||
* | config: add missing Package import | Zac Medico | 2011-06-06 | 1 | -0/+1 |
| | |||||
* | Use Package.UNKNOWN_REPO where appropriate. | Zac Medico | 2011-06-06 | 6 | -10/+18 |
| | |||||
* | getmaskingreason: add myrepo argument | Zac Medico | 2011-06-06 | 1 | -10/+29 |
| | |||||
* | Scheduler: init _fetch_log in constructor | Zac Medico | 2011-06-05 | 1 | -3/+4 |
| | | | | This ensures that we account for EMERGE_LOG_DIR. | ||||
* | InternalPackageSet: default allow_repo=True | Zac Medico | 2011-06-05 | 1 | -2/+8 |
| | | | | | | | Repo atoms are allowed more often than not, so it makes sense for this class to allow them by default. The Atom constructor and isvalidatom() functions default to allow_repo=False, which is sufficient to ensure that repo atoms are prohibited when necessary. | ||||
* | create_world_atom: fix slot/repo atom logic | Zac Medico | 2011-06-05 | 1 | -1/+1 |
| | |||||
* | Enable atom::repo in the @selected package set. | Zac Medico | 2011-06-05 | 2 | -5/+11 |
| |