Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-portage-dev] [PATCH] doman: QA-complain on compressed files
Date: Sun, 02 Jul 2017 17:58:04
Message-Id: 20170702175757.19056-1-mgorny@gentoo.org
1 Passing compressed files to doman is not permitted by the PMS. However,
2 Portage permitting it results in many developers repeatedly violating
3 this and arguing that it's permitted because nobody explicitly forbids
4 it. Add an explicit QA warning to Portage to cease it.
5 ---
6 bin/ebuild-helpers/doman | 1 +
7 1 file changed, 1 insertion(+)
8
9 diff --git a/bin/ebuild-helpers/doman b/bin/ebuild-helpers/doman
10 index da66ac335..43d29f22e 100755
11 --- a/bin/ebuild-helpers/doman
12 +++ b/bin/ebuild-helpers/doman
13 @@ -30,6 +30,7 @@ for x in "$@" ; do
14
15 # These will be automatically decompressed by ecompressdir.
16 if has ${suffix} Z gz bz2 ; then
17 + eqawarn "QA Notice: doman argument '${x}' is compressed, this is not portable"
18 realname=${x%.*}
19 suffix=${realname##*.}
20 fi
21 --
22 2.13.2

Replies