summaryrefslogtreecommitdiffstats
path: root/pym/portage
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Replace the settings and herdstree parameters for the MetaDataXMLZac Medico2010-09-061-8/+13
| | | | | constructor with a single herds parameter that can be either a path to a herds.xml, or a pre-parsed ElementTree.
* 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.
* Remove all \a (alert/bell/beep) tokens (bug 336024)Sebastian Luther2010-09-061-1/+1
|
* Add portage.xml.metadata to parse metadata.xmlSebastian Luther2010-09-062-0/+340
| | | | This is a slightly modified version of gentoolkit.metadata
* Show a DeprecationWarning inside doebuild() if the old 'depend' phaseZac Medico2010-09-061-2/+8
| | | | code gets triggered.
* 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.
* 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-051-2/+7
|
* document DEPCACHE_PATH GLOBAL_CONFIG_PATH getting EPREFIX-edFabian Groffen2010-09-051-1/+4
|
* Use lazy imports for CacheError and OrderedDict in the base portageZac Medico2010-09-051-6/+7
| | | | module.
* Remove redundant initial os.sep argument to os.path.join() callsZac Medico2010-09-052-4/+4
| | | | involving EROOT.
* use EROOT with WORLD_FILEFabian Groffen2010-09-042-4/+4
|
* use EROOT with CACHE_PATHFabian Groffen2010-09-043-4/+4
|
* fix comments to match latest intentions in the codeFabian Groffen2010-09-041-5/+4
|
* Add missing portage import in portage.locks.Zac Medico2010-09-031-0/+1
|
* In the short timeout test for QueueScheduler.run(), assert that theZac Medico2010-09-031-0/+1
| | | | subprocess has stopped.
* Add back PortageException handler inside mod_mail_summary.finalize()Zac Medico2010-09-031-2/+4
| | | | since portage.mail.send_mail() can raise this exception.
* Make portage.locks avoid importing the portage.output module when inZac Medico2010-09-031-6/+10
| | | | | quiet mode. This is one less import triggered by ebuild-ipc.py, which should be as lightweight as possible.
* Move registration of the close_portdbapi_caches() exit hook from theZac Medico2010-09-032-8/+2
| | | | | | | | portage base module to the portree module, so that the base portage module can be imported without triggering import of the portage.process (for atexit_register) and portage.dbapi.porttree modules. Also, don't bother to commit the mtimedb in the exit hook since it's not really needed.
* Use a lazy import for portage.dep instide portage.util.Zac Medico2010-09-031-1/+1
|
* Move portage.locks imports to the top of the file.Zac Medico2010-09-031-4/+4
|
* Use AlarmSignal for timout handling in mod_mail_summary.finalize().Zac Medico2010-09-031-10/+6
|
* Make AlarmSignal._signal_handler() restore the default SIGALRMZac Medico2010-09-031-0/+1
| | | | handler.
* Use AlarmSignal for timeout handling in elog_process().Zac Medico2010-09-031-7/+6
|
* Make AlarmSignal.register() require a time parameter and pass it toZac Medico2010-09-031-1/+2
| | | | signal.alarm().
* Add AlarmSignal.register() and unregister() classmethods in order toZac Medico2010-09-031-1/+11
| | | | handle interaction with the signal module.
* Add a test case for intentionally short timeout with QueueScheduler.run().Zac Medico2010-09-031-1/+35
|
* Add support for a timeout argument to QueueScheduler.run() andZac Medico2010-09-031-1/+15
| | | | | use it in IpcDaemonTestCase to implement a 40 second timeout in test cases.
* Bug #335777 - Add a 40 second timeout in ebuild-ipc.py, so that if anZac Medico2010-09-031-0/+14
| | | | | orphan is left for any reason then it will exit with an error message instead of hanging indefinitely.
* Add backward compatible config.pmaskdict and punmaskdict propertiesZac Medico2010-09-021-0/+8
| | | | | | that return copies of the corresponding MaskManager attributes. This is safe since MaskManager now stores the values in these dicts as immutable tuples.
* Make MaskManager use tuples for values inside _pmaskdict andZac Medico2010-09-021-0/+4
| | | | _punmaskdict.
* Implement ExtendedAtomDict.copy().Zac Medico2010-09-021-0/+6
|
* Bug #335620 - Add backward compatible config.virtuals and virts_pZac Medico2010-09-021-0/+14
| | | | properties, and trigger a DeprecationWarning if they are accessed.
* Filter more variables that don't need to end up in environment.bz2.Zac Medico2010-09-021-5/+9
|
* Fix breakage for python3 from trying to mix bytes and unicode inZac Medico2010-09-021-1/+1
| | | | load_default_config().