summaryrefslogtreecommitdiffstats
path: root/pym/portage/elog/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* elog_process: fix ridicoulus newlines bug #386771Zac Medico2011-10-111-4/+12
| | | | | | This fixes a regression since commit 8a119ea94ecc6668797e3a1358465ef3733f3a3e which added a newline after each character. This boosts efficiency since we no longer convert a strings to lists of characters.
* elog_process: add newlines for bug #386627Zac Medico2011-10-101-4/+4
| | | | | This fixes omission of newlines in saved messages since commit ca7bef7821876791a26a5f9df6938f4c77fe571f.
* Remove unused _preserve_logentries code.Zac Medico2010-10-071-9/+2
|
* Preserve elog message continuity during updates.Zac Medico2010-10-071-5/+1
|
* Add a _preload_elog_modules() function.Zac Medico2010-10-071-0/+14
|
* Preserve message continuity in elog_process().Zac Medico2010-10-071-1/+1
|
* Tweak elog message order so python comes first.Zac Medico2010-10-021-1/+5
|
* Use AlarmSignal for timeout handling in elog_process().Zac Medico2010-09-031-7/+6
|
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Replace dict.keys() usage with __iter__(), since it behaves identically inZac Medico2009-09-221-1/+1
| | | | | | both python 2.x and 3.x. svn path=/main/trunk/; revision=14384
* Use dict.(keys|values|items)() instead of ↵Arfrever Frehtes Taifersar Arahesis2009-09-211-2/+2
| | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327
* Update syntax of 'except' statements for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-2/+2
| | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289
* Use a clean listener system for portage.elog instead of _emerge_elog_listenerMounir Lamouri2009-08-161-5/+17
| | | | svn path=/main/trunk/; revision=14071
* Update imports to import portage.os (with unicode wrappers).Zac Medico2009-08-141-2/+1
| | | | svn path=/main/trunk/; revision=14051
* Prepare 41 messages to localization.Arfrever Frehtes Taifersar Arahesis2009-06-291-2/+3
| | | | svn path=/main/trunk/; revision=13733
* Use lazyimport to avoid importing the checksum, locks, and util modulesZac Medico2009-02-221-3/+6
| | | | | | when portage is initially imported. svn path=/main/trunk/; revision=12680
* When emerge --keep-going bails due to missing dependencies, show the errorZac Medico2008-10-141-1/+7
| | | | | | | | message after the mod_echo output since otherwise the mod_echo output can sweep the error message out of view. Thanks to Donnie Berkholz <dberkholz@g.o> for reporting. svn path=/main/trunk/; revision=11690
* When parsing PORTAGE_ELOG_SYSTEM, stack values in a dict so that things likeZac Medico2008-10-021-5/+15
| | | | | | | "echo:info echo:qa" stack like one might expect. Thanks to Betelgeuse for reporting. svn path=/main/trunk/; revision=11605
* Bug #231464 - Replace erroneous "return" statement in elog_process() withZac Medico2008-07-191-1/+1
| | | | | | a continue statement. Thanks to TGL for this patch. svn path=/main/trunk/; revision=11138
* When packages fail with --jobs > 1 and the "echo" elog module is not enabled,Zac Medico2008-07-151-1/+6
| | | | | | | | emulate elog's mod_echo module to show the 'error' level messages, which should include the important die message. This is implemented by adding a private hook inside elog_process() which the scheduler uses to collect error messages. svn path=/main/trunk/; revision=11056
* Py3k compatibility patch #4 by Ali Polatel <hawking@g.o>.Zac Medico2008-07-011-2/+2
| | | | | | Replace dict.has_key() calls with "in" and "not in" operators. svn path=/main/trunk/; revision=10873
* ensure that global variables are used to prevent confusing issues like bug ↵Marius Mauch2008-03-021-1/+1
| | | | | | #212055 svn path=/main/trunk/; revision=9407
* Move duplicate module loading code into a function.Zac Medico2007-12-011-17/+13
| | | | svn path=/main/trunk/; revision=8789
* Make elog_process() pre-load log modules that it can be calledZac Medico2007-11-291-0/+21
| | | | | | just for that purpose. svn path=/main/trunk/; revision=8751
* When portage reinstalls itself, pre-load elog modules inZac Medico2007-11-291-3/+7
| | | | | | | dblink.merge() since we won't be able to later if they get unmerged (happens when namespace changes). svn path=/main/trunk/; revision=8749
* Refactor _merge_logentries() to make it a little more efficient.Zac Medico2007-10-191-7/+6
| | | | svn path=/main/trunk/; revision=8184
* Use a list to buffer strings in _combine_logentries() and doZac Medico2007-10-191-5/+5
| | | | | | a single concatenation at the end for better efficiency. svn path=/main/trunk/; revision=8183
* Prevent _combine_logentries() from generating redundantZac Medico2007-10-191-1/+4
| | | | | | | consecutive 'TYPE: phase' lines that show in summary.log when the python-based elog functions are used. svn path=/main/trunk/; revision=8182
* Fix broken call to renamed _combine_logentries().Zac Medico2007-10-191-1/+1
| | | | svn path=/main/trunk/; revision=8181
* apply additional phase filters as otherwise some messages are logged in both ↵Marius Mauch2007-06-301-2/+13
| | | | | | unmerge and merge svn path=/main/trunk/; revision=7098
* Make elog finalize() handling safe for PORTAGE_CONFIGROOT.Zac Medico2007-06-221-6/+1
| | | | svn path=/main/trunk/; revision=6955
* Add a note about potential for config mixups in elog finalizers.Zac Medico2007-06-221-0/+5
| | | | svn path=/main/trunk/; revision=6952
* Remove more unnecessary list generation.Zac Medico2007-06-211-2/+3
| | | | svn path=/main/trunk/; revision=6913
* Enable elog functionality for the python side of portageMarius Mauch2007-05-181-96/+84
| | | | svn path=/main/trunk/; revision=6548
* - add new echo module for people who don't want any real loggingMarius Mauch2007-04-301-0/+5
| | | | | | | | - add copyright header in elog modules and enable keyword substitution - enable save_summary and echo modules in make.globals svn path=/main/trunk/; revision=6458
* Fix broken imports.Zac Medico2007-02-131-3/+5
| | | | svn path=/main/trunk/; revision=5963
* Make subpackage naming consistentMarius Mauch2007-02-111-0/+111
svn path=/main/trunk/; revision=5955