summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* Add portage.util.unique_everseenSebastian Luther2010-09-091-2/+23
| | | | | List unique elements, preserving order. Remember all elements ever seen. Taken from itertools documentation.
* Make action_info() validate PORTAGE_TMPDIR since it uses it to solveZac Medico2010-09-081-0/+7
| | | | bug #336503.
* Bug #336503 - Use PORTAGE_TMPDIR for the emerge --sync server timestampZac Medico2010-09-081-2/+7
| | | | | tempfile, since with FEATURES=usersync, the default directory used by the tempfile module may not be readbable by the usersync user.
* Use a longer dependency chain in DepcleanWithDepsTestCase, to makev2.2_rc78Zac Medico2010-09-081-3/+8
| | | | sure unmerge order is correct.
* Use RDEPEND for depclean tests since DEPEND is less relevant.Zac Medico2010-09-081-6/+6
|
* Make ResolverPlayground.run() use try/finally when saving/restoringZac Medico2010-09-081-18/+22
| | | | global variable settings.
* Fix dep_zapdeps() to handle satisfied or optional builttime depsZac Medico2010-09-081-1/+2
| | | | appropriately.
* Make UnmergeDepPriority automatically set optional=True forZac Medico2010-09-081-0/+5
| | | | buildtime dependencies.
* Fix broken dep_check() call in calc_depclean() to useZac Medico2010-09-081-7/+6
| | | | depgraph._select_atoms() instead.
* Fix typo in comment.Arfrever Frehtes Taifersar Arahesis2010-09-081-1/+1
|
* Adjust DepcleanWithInstalledMaskedTestCase now that bug #332719Zac Medico2010-09-081-1/+2
| | | | is fixed.
* Bug #332719 - For removal operations, use _dep_check_composite_dbZac Medico2010-09-081-10/+39
| | | | | for availability and visibilty checks. This provides consistency with install operations, so we don't get install/uninstall cycles.
* Add a note about PORTAGE_PYM_PATH in LazyImportPortageBaselineTestCase.Zac Medico2010-09-081-0/+4
|
* Make LazyImportPortageBaselineTestCase do a sys.path insert sinceZac Medico2010-09-081-4/+9
| | | | PYTHONPATH apparently isn't strong enough to fix the buildbot.
* Fix LazyImportPortageBaselineTestCase to export PYTHONPATH to theZac Medico2010-09-081-1/+13
| | | | | subprocess, to ensure that the correct version of portage is imported. This should fix failures on the buildbot.
* Make previous commit reference self._depgraph._pkg_visibility_check().Zac Medico2010-09-081-1/+1
|
* In depgraph._dep_check_composite_db._visible(), wrap installed packageZac Medico2010-09-081-1/+1
| | | | visiblity checks with self._pkg_visibility_check().
* Adjust OwnersSet configurations to omit $EROOT since, and add aZac Medico2010-09-081-0/+3
| | | | note about OwnersSet.mapPathsToAtoms() behavior in the docstring.
* Tests: Add resolver/test_depcleanSebastian Luther2010-09-082-22/+168
|
* Mark some messages for localization.Arfrever Frehtes Taifersar Arahesis2010-09-083-9/+9
|
* Add another _ENABLE_DYN_LINK_MAP conditional in parse_opts().Zac Medico2010-09-071-2/+3
|
* Disable the --depclean-lib-check option when _ENABLE_DYN_LINK_MAPZac Medico2010-09-072-15/+22
| | | | is False.
* Use localization for the dos line-endings warning message in getconfig.Zac Medico2010-09-071-2/+2
|
* Move the stale elog cleanup code from AbstractEbuildProcess toZac Medico2010-09-072-14/+16
| | | | EbuildPhase.
* Move the stale elog cleanup code from _doebuild_spawn() toZac Medico2010-09-072-13/+17
| | | | | | | AbstractEbuildProcess._start() since that's a better place if we decide to use phase_completed_file skip the spawning of bash (dyn_unpack automatic clean/re-unpack logic could be migrated here too).
* Bug #336349 - Make getconfig() warn about dos-style line endings inZac Medico2010-09-071-5/+13
| | | | | config files, since that prevents people from being able to source them with bash.
* Fix broken $PORTAGE_BUILDDIR/.$EBUILD_PHASEed path generation insideZac Medico2010-09-071-2/+2
| | | | _doebuild_spawn().
* Move stale elog cleanup code from ebuild.sh to _doebuild_spawn(), soZac Medico2010-09-071-0/+12
| | | | that elog messages generated by bashrc are preserved when appropriate.
* Make the deprecation warning for the first pordbapi constructorZac Medico2010-09-071-1/+1
| | | | parameter quiet for now, to give people a wider migration window.
* Fix confusing deprecation message for the first parameter of theZac Medico2010-09-071-2/+2
| | | | portdbapi constructor.
* Bug #336356 - Fix AttributeError triggered when ebuild(1) invokes theZac Medico2010-09-071-2/+3
| | | | test phase.
* Bug #336350 - Add back the is_selinux_enabled() function.Arfrever Frehtes Taifersar Arahesis2010-09-071-0/+3
|
* Add support for a exclude-files option to OwnerSet, and use it toZac Medico2010-09-071-8/+28
| | | | implement a new @x11-module-rebuild set.
* Add a new package set called @unavailable-binaries which matchesZac Medico2010-09-072-0/+36
| | | | | packages that are installed for which corresponding binary packages are not available.
* Make portage.cache.anydbm use absolute_import instead of the thev2.2_rc77Zac Medico2010-09-061-3/+5
| | | | __import__() approach it currently uses.
* Force absolute import in glsa.py since otherwise the xml.dom.minidomZac Medico2010-09-061-1/+3
| | | | import tries to use the new portage.xml module.
* Remove unnecessary depgraph.altlist() call in Scheduler._calc_resume_list().Zac Medico2010-09-061-2/+0
|
* Make Scheduler._set_graph_config() clear _deep_system_deps whenZac Medico2010-09-061-0/+2
| | | | appropriate.
* Replace the settings and herdstree parameters for the MetaDataXMLZac Medico2010-09-062-9/+16
| | | | | constructor with a single herds parameter that can be either a path to a herds.xml, or a pre-parsed ElementTree.
* Fix parse_metadata_use() to allow use elements containing no flagZac Medico2010-09-061-1/+2
| | | | | elements since the DTD allows it. Thanks to Mark Loeser <Halcy0n@g.o> for reporting.
* Add an optional herdstree parameter to the MetaDataXML constructor,Zac Medico2010-09-061-2/+2
| | | | | | in case the caller has already parsed herds.xml. This allows the caller to parse herds.xml once an re-use the same ElementTree instance for many different MetaDataXML instances.
* Move the Scheduler mergelist constructor parameter to the graph_configZac Medico2010-09-063-26/+39
| | | | object.
* Fix depgraph._wrapped_select_pkg_highest_available_imp() to checkZac Medico2010-09-061-1/+3
| | | | | USE settings for installed packages when --newuse is enabled in cases when none of the packages match a given USE dep.
* Fix typo in FakeVartree._pkg() docstring.Zac Medico2010-09-061-1/+1
|
* Make the depgraph and FakeVartree cooperate to consistently createZac Medico2010-09-062-6/+19
| | | | | Package instances whose root_config attribute is a specially optimized RootConfig that has a FakeVartree instead of a real vartree.
* Remove all \a (alert/bell/beep) tokens (bug 336024)Sebastian Luther2010-09-062-3/+3
|
* Use metadata.xml to print maintainer information in build.logSebastian Luther2010-09-061-0/+12
|
* Add portage.xml.metadata to parse metadata.xmlSebastian Luther2010-09-062-0/+340
| | | | This is a slightly modified version of gentoolkit.metadata
* slot_collision_handler: Fix bug related to highlight_violations (bug 336085)Sebastian Luther2010-09-061-10/+6
|
* Show a DeprecationWarning inside doebuild() if the old 'depend' phaseZac Medico2010-09-061-2/+8
| | | | code gets triggered.