summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Call portage._disable_legacy_globals() in order to ensure that weZac Medico2010-08-091-0/+7
| | | | | don't instantiate portage.settings, so that tests should work the same regardless of global configuration file state/existence.
* Detect if python xml support is enabled and bail out with anZac Medico2010-08-081-5/+12
| | | | appropriate when necessary.
* Tests: dep/testAtom: add test for Atom.violated_conditionals()Sebastian Luther2010-08-081-0/+50
|
* portage.dep.Atom.violated_conditionals(): Fix "not / is None" bugSebastian Luther2010-08-081-2/+2
|
* Tests: Let ./runTests take files as argument to run only the test in these filesSebastian Luther2010-08-081-0/+27
|
* autounmask: rename _needed_user_config_changes in _needed_unstable_keywords. ↵Sebastian Luther2010-08-073-52/+57
| | | | Let the tests check for it.
* Test: resolver/test_autounmask: Check the suggested use changesSebastian Luther2010-08-072-25/+31
|
* Tests: resolver/test_autounmask: Remove test that don't test what they were ↵Sebastian Luther2010-08-072-22/+1
| | | | supposed to
* autounmask: Restart less often for use changesSebastian Luther2010-08-071-8/+26
|
* Bug #308835: Support options in shebang and terminate 's' option of sed.Arfrever Frehtes Taifersar Arahesis2010-08-071-2/+2
|
* Ensure that _select_pkg_highest_available_imp() falls back to anZac Medico2010-08-061-0/+7
| | | | installed package if the autounmask path fails to select something.
* Fix _getMissingProperties() package.properties handling so that settingsZac Medico2010-08-061-3/+15
| | | | from more specific atoms override those of less specific atoms.
* Fix _getMissingLicenses() package.license handling so that settingsZac Medico2010-08-061-3/+15
| | | | from more specific atoms override those of less specific atoms.
* Bug #331413 - Clarify the behavior of the =$CATEGORY/$PN-$VERSION* atomZac Medico2010-08-061-3/+6
| | | | operator some more. Thanks to Dennis Schridde <devurandom@gmx.net>.
* Use ResolverPlayground for it's config instance, so that we don'tZac Medico2010-08-061-2/+6
| | | | instantiate portage.settings.
* Bug #331429 - Fix breakage in package.properties and package.licenseZac Medico2010-08-061-12/+3
| | | | | handling due to behavior of ExtendedAtomDict.get(). We need to use setdefault() when updating ExtendedAtomDict like this.
* Implement ExtendedAtomDict.__len__().Zac Medico2010-08-061-0/+3
|
* Implement ExtendedAtomDict.__iter__().Zac Medico2010-08-061-0/+9
|
* Fix _select_pkg_highest_available_imp to reject installed packagesZac Medico2010-08-061-0/+5
| | | | | returned from _wrapped_select_pkg_highest_available_imp when necessary.
* Rename allow_missing_keywords to allow_unstable_keywords since that'sZac Medico2010-08-061-9/+9
| | | | what it does.
* Delay variable definitions in _pkg_visibility_check untilZac Medico2010-08-061-2/+4
| | | | they are needed.
* Make dep_check use depgraph._pkg_use_enabled to query USE settings of ↵Zac Medico2010-08-062-2/+7
| | | | new-style virtuals when appropriate.
* Use finally block for autounmask handling insideZac Medico2010-08-061-3/+5
| | | | _select_atoms_highest_available.
* autounmask: Add ability to adjust USESebastian Luther2010-08-065-35/+288
|
* Fix typo in comment.Arfrever Frehtes Taifersar Arahesis2010-08-061-1/+1
|
* Add a _MaskReason.hint attribute that the --autounmask code can useZac Medico2010-08-062-5/+8
| | | | to simplify the 'unstable keyword' check.
* Use _get_masking_status() for the --autounmaks KEYWORDS check.Zac Medico2010-08-061-2/+4
|
* * Split out a _get_masking_status() method that returns categorizedZac Medico2010-08-062-7/+15
| | | | | message objects instead of plain strings. * Move masks to the "invalid" category.
* Bug #331413 - Clarify valid $VERSION parts that may be used inZac Medico2010-08-061-1/+4
| | | | conjunction with the =$CATEGORY/$PN-$VERSION* atom operator.
* Split out a _getmaskingstatus() method that returns categorizedZac Medico2010-08-061-10/+23
| | | | message objects instead of plain strings.
* Use a regular expression to simplify dblink.getcontents().Zac Medico2010-08-061-65/+45
|
* In action_unmerge(), create a Schuduler instance for calls to unmerge(),Zac Medico2010-08-062-6/+18
| | | | | in order to cause redirection of ebuild phase output to logs as required for options such as --quiet.
* Pass more parameters to the Package constructor.Zac Medico2010-08-061-2/+2
|
* Fix scope issue that could cause 'retval' variable to be undefined.Zac Medico2010-08-051-2/+2
|
* Bug #331271 - Fix USE_EXPAND wildcards so that the USE="linguas_*Zac Medico2010-08-051-1/+21
| | | | -linguas_en_US" case is handled correctly.
* Bug #331271 - Fix USE_EXPAND wildcards so that the USE="linguas_en_USZac Medico2010-08-051-0/+6
| | | | -linguas_*" case is handled correctly.
* Use ValueError.args since direct indexing of ValueError is notZac Medico2010-08-052-2/+2
| | | | supported in python3, as reported in bug 241132, commment #4.
* Add a test case for lazyimport._preload_portage_submodules().Zac Medico2010-08-053-0/+16
|
* Add a fake _test_ option to myopts that can be used for conditional test code.Zac Medico2010-08-052-3/+6
|
* Use a ResolverPlayground.cleanup() method to cleanup temporary directories.Zac Medico2010-08-053-8/+20
|
* Tests: Add resolver/test_eapi (2 tests disabled)Sebastian Luther2010-08-053-3/+103
| | | | The resolver accepts EAPI-0 ebuilds with IUSE defaults and slot dependencies.
* Tests: Add resolver/test_simple and the resolver test infrastructureSebastian Luther2010-08-054-0/+224
|
* _emerge.depgraph: If "/" not in trees, treat target_root as running_root ↵Sebastian Luther2010-08-051-1/+4
| | | | (needed for tests)
* Make some variables local.Arfrever Frehtes Taifersar Arahesis2010-08-051-3/+12
|
* Bug #301915: Add QA check for byte-compiled Python modules.Arfrever Frehtes Taifersar Arahesis2010-08-051-5/+4
|
* EOFError can still be raised by array.fromfile() in Python >=2.6.6 and >=2.7.1.Arfrever Frehtes Taifersar Arahesis2010-08-055-6/+0
|
* Bug #330937: Handle IOError raised by remaining calls to array.fromfile().Arfrever Frehtes Taifersar Arahesis2010-08-055-8/+10
|
* Simplify passing of the backtracking parameters from one graphZac Medico2010-08-051-7/+4
| | | | to the next.
* * Add a --autounmask[=n] option and for now leave it disableZac Medico2010-08-054-6/+62
| | | | | | | | by default in order to minimize the impact of any bugs. * If _wrapped_select_pkg_highest_available_imp returns an installed package when the user has not explicitly requested for this package to be replaced (typically via an atom on the command line), reject the installed package and try to unmask one.
* _emerge.depgraph.get_backtrack_parameters(): Return a dict instead of a tupleSebastian Luther2010-08-051-5/+10
|