summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* In depgraph.schedulerGraph(), make sure all references are brokenZac Medico2010-09-061-0/+1
| | | | to packages in the FakeVartrees.
* Fix FakeVartree.sync() to remove stale packages from _pkg_cache.Zac Medico2010-09-061-0/+3
|
* Make depgraph.schedulerGraph() return an instance ofZac Medico2010-09-062-26/+48
| | | | | | | _scheduler_graph_config instead of just a digraph. This new object includes instances of FakeVartree and a package cache that is pruned to contain only installed packages or those in the digraph.
* Fix FakeVartree._pkg() to cache package instances in self._pkg_cache,Zac Medico2010-09-051-0/+1
| | | | for use by depgraph.
* Make Scheduler._destroy_installed_graph() destroy _digraph.Zac Medico2010-09-051-3/+4
|
* Remove unused p_type variable in show_invalid_depstring_notice().Zac Medico2010-09-051-1/+0
|
* Make LazyImportPortageBaselineTestCase assert successful exit statusZac Medico2010-09-051-0/+3
| | | | for tasks.
* Eliminate portage.env from baseline imports.Zac Medico2010-09-053-3/+3
|
* Make doebuild.py use PollScheduler instances directly sinceZac Medico2010-09-051-13/+10
| | | | TaskScheduler isn't really needed.
* Make dblink._merge() use a PollScheduler instance directly sinceZac Medico2010-09-051-5/+4
| | | | TaskScheduler isn't really needed.
* Make DoebuildSpawnTestCase use a PollScheduler instance directly sinceZac Medico2010-09-051-8/+8
| | | | TaskScheduler isn't really needed.
* Make portdbapi.aux_get() use a PollScheduler instance directly sinceZac Medico2010-09-051-5/+5
| | | | TaskScheduler isn't really needed.
* Make SpawnTestCase use a PollScheduler instance directly sinceZac Medico2010-09-051-5/+5
| | | | TaskScheduler isn't really needed.
* Make LazyImportPortageBaselineTestCase use a PollScheduler instanceZac Medico2010-09-051-6/+6
| | | | directly since TaskScheduler isn't really needed.
* Make PipeReaderTestCase use a PollScheduler instance directly sinceZac Medico2010-09-051-6/+6
| | | | TaskScheduler isn't really needed.
* Bug #336085 - Fix logic error insideZac Medico2010-09-051-1/+6
| | | | | | slot_conflict_handler._prepare_conflict_msg_and_check_for_specificity() which causes an irrelevant "use" collision reason to be passed to highlight_violations().
* Fix want_restart_for_use_change() to flatten deps before comparing tokens as ↵Sebastian Luther2010-09-051-2/+2
| | | | sets.
* In IpcDaemonTestCase, assert that process and daemon isAlive() methodsZac Medico2010-09-051-1/+3
| | | | return False after each run.
* Clean up and simplify PipeReaderTestCase.Zac Medico2010-09-051-29/+12
|
* Add a test to check what portage submodules are imported by 'import ↵Zac Medico2010-09-051-0/+56
| | | | portage', and assert that it doesn not rise above the current baseline.
* always apply EPREFIX prepending to GLOBAL_CONFIG_PATHFabian Groffen2010-09-053-5/+18
|
* document DEPCACHE_PATH GLOBAL_CONFIG_PATH getting EPREFIX-edFabian Groffen2010-09-051-1/+4
|
* Don't regenerate GNU Info if the dir contains a .keepinfodir file, bug 257260.Ulrich Mueller2010-09-051-5/+7
|
* Fix depgraph._wrapped_select_pkg_highest_available_imp() to checkZac Medico2010-09-051-1/+1
| | | | USE settings for installed packages when --newuse is enabled.
* Use lazy imports for CacheError and OrderedDict in the base portageZac Medico2010-09-051-6/+7
| | | | module.
* Add a more generic AbstractEbuildProcess._elog() method to replaceZac Medico2010-09-051-3/+13
| | | | the existing _eerror() method.
* Make EbuildPhase._elog() use the NOCOLOR variable from self.settings,Zac Medico2010-09-051-2/+8
| | | | so presence of color in the log file is consistent.
* Take the code which displays ebuild information before pkg_setup,Zac Medico2010-09-051-0/+26
| | | | | and move it from ebuild.sh to EbuildPhase. This way we can easily use python to extend it for bug #336019.
* Remove redundant initial os.sep argument to os.path.join() callsZac Medico2010-09-053-5/+5
| | | | involving EROOT.
* In show_invalid_depstring_notice(), use normal Package attributesZac Medico2010-09-041-3/+3
| | | | | instead of the old Task.__getitem__() approach that relies on the values inside the hash key.
* In AbstractEbuildProcess._start(), verify that PORTAGE_BUILDIRZac Medico2010-09-041-0/+13
| | | | exists and bail out if necessary.
* Add scheduler._init_installed_graph() and _destroy_installed_graph()Zac Medico2010-09-041-18/+39
| | | | | methods and use them to free memory when calling _calc_resume_list() for emerge --keep-going.