Gentoo Archives: gentoo-portage-dev

From: Brian Dolbec <dolsen@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] install-qa-check.d/90world-writable: fix usage of missing function
Date: Sat, 22 Nov 2014 16:53:05
Message-Id: 20141122085249.23621ca9.dolsen@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH] install-qa-check.d/90world-writable: fix usage of missing function by Michael Palimaka
1 Subject: install-qa-check.d/90world-writable: fix usage of missing function
2
3 Perhaps something like... Fix missed eqatag() call
4 or... Fix missed __eqawarnlog() removal
5
6
7
8 On Sat, 22 Nov 2014 03:50:40 +1100
9 Michael Palimaka <kensington@g.o> wrote:
10
11 > Fixes: 6dafdc288976 ("Remove __eqalog & __eqawarnlog")
12
13 Please put more detail than just a partial hash.
14
15
16 eg:
17
18 Fixes: 6dafdc28897682f7b8c77b7863b5713634974647
19 Subject: Remove __eqalog & __eqawarnlog
20 Author: Michał Górny <mgorny@g.o> (Sun 02 Nov 2014 11:16:04 AM PST)
21
22 ---
23 The above gives enough information to track the commit even if the hash has changed.
24
25
26 > ---
27 > bin/install-qa-check.d/90world-writable | 5 ++---
28 > 1 file changed, 2 insertions(+), 3 deletions(-)
29 >
30 > diff --git a/bin/install-qa-check.d/90world-writable
31 > b/bin/install-qa-check.d/90world-writable index 2b435ac..1fb2a8f
32 > 100644 --- a/bin/install-qa-check.d/90world-writable
33 > +++ b/bin/install-qa-check.d/90world-writable
34 > @@ -23,9 +23,8 @@ world_writable_check() {
35 > if [[ -n ${unsafe_files} ]] ; then
36 > eqawarn "QA Notice: Unsafe files detected (set*id
37 > and world writable)"
38 > - for x in $unsafe_files ; do
39 > - __eqawarnlog world-writable-setid "$x"
40 > - done
41 > + eqatag -v world-writable-setid $unsafe_files
42 > +
43 > die "Unsafe files found in \${D}. Portage will not
44 > install them." fi
45 >
46
47
48
49 --
50 Brian Dolbec <dolsen>