1 |
commit: 6465e5a1d970d0d28a590a5958d7d61e7378d1c3 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 2 17:55:49 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 9 21:34:52 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=6465e5a1 |
7 |
|
8 |
doman: QA-complain on compressed files |
9 |
|
10 |
Passing compressed files to doman is not permitted by the PMS. However, |
11 |
Portage permitting it results in many developers repeatedly violating |
12 |
this and arguing that it's permitted because nobody explicitly forbids |
13 |
it. Add an explicit QA warning to Portage to cease it. |
14 |
|
15 |
Reviewed-by: Brian Dolbec <dolsen <AT> gentoo.org> |
16 |
|
17 |
bin/ebuild-helpers/doman | 1 + |
18 |
1 file changed, 1 insertion(+) |
19 |
|
20 |
diff --git a/bin/ebuild-helpers/doman b/bin/ebuild-helpers/doman |
21 |
index da66ac335..43d29f22e 100755 |
22 |
--- a/bin/ebuild-helpers/doman |
23 |
+++ b/bin/ebuild-helpers/doman |
24 |
@@ -30,6 +30,7 @@ for x in "$@" ; do |
25 |
|
26 |
# These will be automatically decompressed by ecompressdir. |
27 |
if has ${suffix} Z gz bz2 ; then |
28 |
+ eqawarn "QA Notice: doman argument '${x}' is compressed, this is not portable" |
29 |
realname=${x%.*} |
30 |
suffix=${realname##*.} |
31 |
fi |