commit:     17df30bdfb72a157f9e34f3c2efa1e59389861d4
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  8 04:34:56 2020 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Apr  8 05:29:45 2020 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=17df30bd

Revert "Rename PORTAGE_LOG_FILTER_FILE_CMD from PORTAGE_LOG_FILTER_FILE"

This reverts commit e24859eaa03ec86e10d842296f5570dd98bed4b7.

Bug: https://bugs.gentoo.org/716636
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 lib/_emerge/AbstractEbuildProcess.py                   | 2 +-
 lib/_emerge/EbuildPhase.py                             | 2 +-
 lib/portage/package/ebuild/_config/special_env_vars.py | 4 ++--
 lib/portage/util/_async/BuildLogger.py                 | 2 +-
 man/make.conf.5                                        | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/_emerge/AbstractEbuildProcess.py 
b/lib/_emerge/AbstractEbuildProcess.py
index cc1ea0f1a..6b2c2f81b 100644
--- a/lib/_emerge/AbstractEbuildProcess.py
+++ b/lib/_emerge/AbstractEbuildProcess.py
@@ -181,7 +181,7 @@ class AbstractEbuildProcess(SpawnProcess):
                        null_fd = os.open('/dev/null', os.O_RDONLY)
                        self.fd_pipes[0] = null_fd
 
-               self.log_filter_file = 
self.settings.get('PORTAGE_LOG_FILTER_FILE_CMD')
+               self.log_filter_file = 
self.settings.get('PORTAGE_LOG_FILTER_FILE')
 
                try:
                        yield SpawnProcess._async_start(self)

diff --git a/lib/_emerge/EbuildPhase.py b/lib/_emerge/EbuildPhase.py
index fbb040ffd..927a74b98 100644
--- a/lib/_emerge/EbuildPhase.py
+++ b/lib/_emerge/EbuildPhase.py
@@ -420,7 +420,7 @@ class EbuildPhase(CompositeTask):
                                if log_path:
                                        build_logger = 
BuildLogger(env=self.settings.environ(),
                                                log_path=log_path,
-                                               
log_filter_file=self.settings.get('PORTAGE_LOG_FILTER_FILE_CMD'),
+                                               
log_filter_file=self.settings.get('PORTAGE_LOG_FILTER_FILE'),
                                                scheduler=self.scheduler)
                                        yield build_logger.async_start()
                                        log_file = build_logger.stdin

diff --git a/lib/portage/package/ebuild/_config/special_env_vars.py 
b/lib/portage/package/ebuild/_config/special_env_vars.py
index c6f88f08c..dd8105123 100644
--- a/lib/portage/package/ebuild/_config/special_env_vars.py
+++ b/lib/portage/package/ebuild/_config/special_env_vars.py
@@ -175,7 +175,7 @@ environ_filter += [
        "PORTAGE_RO_DISTDIRS",
        "PORTAGE_RSYNC_EXTRA_OPTS", "PORTAGE_RSYNC_OPTS",
        "PORTAGE_RSYNC_RETRIES", "PORTAGE_SSH_OPTS", "PORTAGE_SYNC_STALE",
-       "PORTAGE_USE", "PORTAGE_LOG_FILTER_FILE_CMD",
+       "PORTAGE_USE", "PORTAGE_LOG_FILTER_FILE",
        "PORTAGE_LOGDIR", "PORTAGE_LOGDIR_CLEAN",
        "QUICKPKG_DEFAULT_OPTS", "REPOMAN_DEFAULT_OPTS",
        "RESUMECOMMAND", "RESUMECOMMAND_FTP",
@@ -205,7 +205,7 @@ default_globals = {
 }
 
 validate_commands = ('PORTAGE_BZIP2_COMMAND', 'PORTAGE_BUNZIP2_COMMAND',
-       'PORTAGE_LOG_FILTER_FILE_CMD',
+       'PORTAGE_LOG_FILTER_FILE',
 )
 
 # To enhance usability, make some vars case insensitive

diff --git a/lib/portage/util/_async/BuildLogger.py 
b/lib/portage/util/_async/BuildLogger.py
index 49f1321fb..4873d9750 100644
--- a/lib/portage/util/_async/BuildLogger.py
+++ b/lib/portage/util/_async/BuildLogger.py
@@ -14,7 +14,7 @@ class BuildLogger(AsynchronousTask):
        Write to a log file, with compression support provided by PipeLogger.
        If the log_filter_file parameter is specified, then it is interpreted
        as a command to execute which filters log output (see the
-       PORTAGE_LOG_FILTER_FILE_CMD variable in make.conf(5)). The stdin 
property
+       PORTAGE_LOG_FILTER_FILE variable in make.conf(5)). The stdin property
        provides access to a writable binary file stream (refers to a pipe)
        that log content should be written to (usually redirected from
        subprocess stdout and stderr streams).

diff --git a/man/make.conf.5 b/man/make.conf.5
index 467a9d394..baecd283a 100644
--- a/man/make.conf.5
+++ b/man/make.conf.5
@@ -979,7 +979,7 @@ with an integer pid. For example, a value of "ionice \-c 3 
\-p \\${PID}"
 will set idle io priority. For more information about ionice, see
 \fBionice\fR(1). This variable is unset by default.
 .TP
-.B PORTAGE_LOG_FILTER_FILE_CMD
+.B PORTAGE_LOG_FILTER_FILE
 This variable specifies a command that filters build log output to a
 log file. In order to filter ANSI escape codes from build logs,
 \fBansifilter\fR(1) is a convenient setting for this variable.

Reply via email to