commit:     6465e5a1d970d0d28a590a5958d7d61e7378d1c3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  2 17:55:49 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul  9 21:34:52 2017 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=6465e5a1

doman: QA-complain on compressed files

Passing compressed files to doman is not permitted by the PMS. However,
Portage permitting it results in many developers repeatedly violating
this and arguing that it's permitted because nobody explicitly forbids
it. Add an explicit QA warning to Portage to cease it.

Reviewed-by: Brian Dolbec <dolsen <AT> gentoo.org>

 bin/ebuild-helpers/doman | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/ebuild-helpers/doman b/bin/ebuild-helpers/doman
index da66ac335..43d29f22e 100755
--- a/bin/ebuild-helpers/doman
+++ b/bin/ebuild-helpers/doman
@@ -30,6 +30,7 @@ for x in "$@" ; do
 
        # These will be automatically decompressed by ecompressdir.
        if has ${suffix} Z gz bz2 ; then
+               eqawarn "QA Notice: doman argument '${x}' is compressed, this 
is not portable"
                realname=${x%.*}
                suffix=${realname##*.}
        fi

Reply via email to