aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* mod_syslog: call syslog() once per lineZac Medico2011-01-021-6/+7
| | | | This will fix bug #350379.
* Remove unused _preserve_logentries code.Zac Medico2010-10-071-9/+2
|
* Preserve elog message continuity during updates.Zac Medico2010-10-072-7/+13
|
* Add a _preload_elog_modules() function.Zac Medico2010-10-071-0/+14
|
* Preserve message continuity in elog_process().Zac Medico2010-10-072-4/+9
|
* TODO: Make elog 'key' parameter more unique.Zac Medico2010-10-031-0/+9
|
* Tweak elog message order so python comes first.Zac Medico2010-10-021-1/+5
|
* Make the mail_summary elog module copy needed variables from the configZac Medico2010-09-111-3/+19
| | | | | | | instance, since we don't need to hold a reference for the whole thing. This also makes it possible to rely on per-package variable settings that may have come from /etc/portage/package.env, since we'll be isolated from any future mutations of mysettings.
* Add back PortageException handler inside mod_mail_summary.finalize()Zac Medico2010-09-031-2/+4
| | | | since portage.mail.send_mail() can raise this exception.
* Use AlarmSignal for timout handling in mod_mail_summary.finalize().Zac Medico2010-09-031-10/+6
|
* Use AlarmSignal for timeout handling in elog_process().Zac Medico2010-09-031-7/+6
|
* Remove unused imports found by pylint.Arfrever Frehtes Taifersar Arahesis2010-08-291-3/+1
|
* Remove 'mysettings' arguments from finalize() functions since theZac Medico2010-07-202-8/+2
| | | | shouldn't be needed for backward compatibility anymore.
* Remove all svn $Id keywords.Zac Medico2010-03-2410-10/+0
|
* Remove unused filter_phases, filter_mergephases, and filter_unmergephasesv2.2_rc56Zac Medico2009-12-071-20/+0
| | | | | | functions. svn path=/main/trunk/; revision=14958
* Bug #290625 - Manually encode output to stdout in python3, in order to avoidZac Medico2009-10-261-5/+6
| | | | | | potential UnicodeEncodeError exceptions. svn path=/main/trunk/; revision=14734
* Bug #273099 - Add split-log and split-elog FEATURES for splitting build logsZac Medico2009-10-091-2/+13
| | | | | | | and elog mod_save logs into category subdirectories. Thanks to Sebastian Mingramm (few) for this patch. svn path=/main/trunk/; revision=14532
* Replace dict.keys() usage with __iter__(), since it behaves identically inZac Medico2009-09-222-3/+3
| | | | | | 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-212-4/+4
| | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327
* Define basestring as str when Python 3 is used.Arfrever Frehtes Taifersar Arahesis2009-09-211-0/+4
| | | | svn path=/main/trunk/; revision=14316
* Support print() function with Python 2 in more files.Arfrever Frehtes Taifersar Arahesis2009-09-201-0/+2
| | | | svn path=/main/trunk/; revision=14295
* Update syntax of numbers for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-202-3/+3
| | | | | | (2to3-3.1 -f numliterals -nw ${FILES}) svn path=/main/trunk/; revision=14292
* Update syntax of calls to print() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-2/+2
| | | | | | (2to3-3.1 -f print -nw ${FILES}) svn path=/main/trunk/; revision=14290
* Update syntax of 'except' statements for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-203-4/+4
| | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289
* Use _unicode_decode() on the string returned from time.strftime(), in orderZac Medico2009-09-052-2/+10
| | | | | | | to avoid a potential UnicodeDecodeError later. Thanks to Markus Duft <mduft@gentoo.org> for reporting. svn path=/main/trunk/; revision=14201
* Use _unicode_decode() on the string retunred from time.strftime(), in orderZac Medico2009-09-031-1/+7
| | | | | | | to avoid a potential UnicodeDecodeError later. Thanks to Markus Duft <mduft@gentoo.org> for reporting. svn path=/main/trunk/; revision=14180
* Use _encodings where appropriate and add _encodings['stdio'] for stdoutZac Medico2009-08-214-10/+23
| | | | | | encoding. svn path=/main/trunk/; revision=14111
* 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-145-6/+11
| | | | svn path=/main/trunk/; revision=14051
* Don't hold references to config instances, since all that's really neededZac Medico2009-08-141-4/+4
| | | | | | is $ROOT. svn path=/main/trunk/; revision=14034
* Remove unused import.v2.2_rc37Zac Medico2009-08-091-1/+0
| | | | svn path=/main/trunk/; revision=13966
* Encode unicode messages as bytes in order to avoid TypeError fromZac Medico2009-08-091-6/+14
| | | | | | syslog.syslog() with python-2.x. svn path=/main/trunk/; revision=13962
* Write log files in text mode (unicode). Thanks to Arfrever for reporting.Zac Medico2009-08-092-2/+6
| | | | svn path=/main/trunk/; revision=13961
* Inside collect_ebuild_messages(), open elog files in text mode (unicode).Zac Medico2009-08-091-1/+3
| | | | | | Thanks to jlec for reporting. svn path=/main/trunk/; revision=13958
* Fix filter_loglevels() and filter_phases() to work with unicode.Zac Medico2009-08-061-2/+2
| | | | svn path=/main/trunk/; revision=13940
* Add unicode conversions in various logging code.Zac Medico2009-08-061-5/+13
| | | | svn path=/main/trunk/; revision=13931
* Prepare 41 messages to localization.Arfrever Frehtes Taifersar Arahesis2009-06-296-22/+29
| | | | svn path=/main/trunk/; revision=13733
* Use lazyimport to avoid importing the dep, output, update, and versionsZac Medico2009-02-221-1/+1
| | | | | | modules when portage is initially imported. svn path=/main/trunk/; revision=12681
* Use lazyimport to avoid importing the checksum, locks, and util modulesZac Medico2009-02-222-5/+12
| | | | | | when portage is initially imported. svn path=/main/trunk/; revision=12680
* For compatibility with python-3.0, open files in text mode where appropriate.Zac Medico2009-02-191-1/+1
| | | | svn path=/main/trunk/; revision=12642
* Set svn:keywords Id on all files.Zac Medico2009-02-182-2/+2
| | | | svn path=/main/trunk/; revision=12626
* 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
* Now that elog_base() uses 'echo -e' to expand escape codes prior to usingZac Medico2008-09-301-1/+1
| | | | | | | | 'read' to split on newlines, it's safe to use newlines as delimiters in the log file since 'read' is guaranteed to split any newlines contained in the arguments. svn path=/main/trunk/; revision=11601
* Even though the message is split on $'\n' in elog_base(), it's stillZac Medico2008-07-281-1/+1
| | | | | | | | not entirely safe to use it as a delimiter in the log file since there can still be escaped newlines that will be expanded due to the echo -e parameter. svn path=/main/trunk/; revision=11244
* Make elog_base() just use \n as the delimiter in the file since it's safeZac Medico2008-07-271-1/+1
| | | | | | now that lines are always split. svn path=/main/trunk/; revision=11220
* Fix broken references to the old elog_modules namespace.Zac Medico2008-07-201-2/+2
| | | | svn path=/main/trunk/; revision=11150
* 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
* Redirect dblink elog messages from stdout to the log file when in backgroundZac Medico2008-07-171-4/+12
| | | | | | | | mode. This is implemented by adding a new "out" parameter to the portage.elog.e* functions, which can be used to send output to an arbitary file instead of stdout. svn path=/main/trunk/; revision=11117
* 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