public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] [PATCH] install-qa-check.d/90world-writable: fix usage of missing function
@ 2014-11-21 16:50 Michael Palimaka
  2014-11-22 16:52 ` Brian Dolbec
  2014-11-29 19:47 ` Zac Medico
  0 siblings, 2 replies; 4+ messages in thread
From: Michael Palimaka @ 2014-11-21 16:50 UTC (permalink / raw
  To: gentoo-portage-dev; +Cc: Michael Palimaka

Fixes: 6dafdc288976 ("Remove __eqalog & __eqawarnlog")
---
 bin/install-qa-check.d/90world-writable | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/bin/install-qa-check.d/90world-writable b/bin/install-qa-check.d/90world-writable
index 2b435ac..1fb2a8f 100644
--- a/bin/install-qa-check.d/90world-writable
+++ b/bin/install-qa-check.d/90world-writable
@@ -23,9 +23,8 @@ world_writable_check() {
 	if [[ -n ${unsafe_files} ]] ; then
 		eqawarn "QA Notice: Unsafe files detected (set*id and world writable)"
 
-		for x in $unsafe_files ; do
-			__eqawarnlog world-writable-setid "$x"
-		done
+		eqatag -v world-writable-setid $unsafe_files
+
 		die "Unsafe files found in \${D}.  Portage will not install them."
 	fi
 
-- 
2.0.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [gentoo-portage-dev] [PATCH] install-qa-check.d/90world-writable: fix usage of missing function
  2014-11-21 16:50 [gentoo-portage-dev] [PATCH] install-qa-check.d/90world-writable: fix usage of missing function Michael Palimaka
@ 2014-11-22 16:52 ` Brian Dolbec
  2014-11-29 19:47 ` Zac Medico
  1 sibling, 0 replies; 4+ messages in thread
From: Brian Dolbec @ 2014-11-22 16:52 UTC (permalink / raw
  To: gentoo-portage-dev


Subject: install-qa-check.d/90world-writable: fix usage of missing function

Perhaps something like...                     Fix missed eqatag() call
                    or...                     Fix missed __eqawarnlog() removal



On Sat, 22 Nov 2014 03:50:40 +1100
Michael Palimaka <kensington@gentoo.org> wrote:

> Fixes: 6dafdc288976 ("Remove __eqalog & __eqawarnlog")

Please put more detail than just a partial hash.


eg:

Fixes: 6dafdc28897682f7b8c77b7863b5713634974647
Subject: Remove __eqalog & __eqawarnlog
Author: Michał Górny <mgorny@gentoo.org> (Sun 02 Nov 2014 11:16:04 AM PST)

---
The above gives enough information to track the commit even if the hash has changed.


> ---
>  bin/install-qa-check.d/90world-writable | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/bin/install-qa-check.d/90world-writable
> b/bin/install-qa-check.d/90world-writable index 2b435ac..1fb2a8f
> 100644 --- a/bin/install-qa-check.d/90world-writable
> +++ b/bin/install-qa-check.d/90world-writable
> @@ -23,9 +23,8 @@ world_writable_check() {
>  	if [[ -n ${unsafe_files} ]] ; then
>  		eqawarn "QA Notice: Unsafe files detected (set*id
> and world writable)" 
> -		for x in $unsafe_files ; do
> -			__eqawarnlog world-writable-setid "$x"
> -		done
> +		eqatag -v world-writable-setid $unsafe_files
> +
>  		die "Unsafe files found in \${D}.  Portage will not
> install them." fi
>  



-- 
Brian Dolbec <dolsen>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-portage-dev] [PATCH] install-qa-check.d/90world-writable: fix usage of missing function
  2014-11-21 16:50 [gentoo-portage-dev] [PATCH] install-qa-check.d/90world-writable: fix usage of missing function Michael Palimaka
  2014-11-22 16:52 ` Brian Dolbec
@ 2014-11-29 19:47 ` Zac Medico
  2014-12-02 18:52   ` Brian Dolbec
  1 sibling, 1 reply; 4+ messages in thread
From: Zac Medico @ 2014-11-29 19:47 UTC (permalink / raw
  To: gentoo-portage-dev; +Cc: Michael Palimaka

On 11/21/2014 08:50 AM, Michael Palimaka wrote:
> Fixes: 6dafdc288976 ("Remove __eqalog & __eqawarnlog")
> ---
>  bin/install-qa-check.d/90world-writable | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)

This file also contains an invalid IFS=OLDIFS setting (which should
really be IFS=$OLDIFS).
-- 
Thanks,
Zac


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-portage-dev] [PATCH] install-qa-check.d/90world-writable: fix usage of missing function
  2014-11-29 19:47 ` Zac Medico
@ 2014-12-02 18:52   ` Brian Dolbec
  0 siblings, 0 replies; 4+ messages in thread
From: Brian Dolbec @ 2014-12-02 18:52 UTC (permalink / raw
  To: gentoo-portage-dev

On Sat, 29 Nov 2014 11:47:53 -0800
Zac Medico <zmedico@gentoo.org> wrote:

> On 11/21/2014 08:50 AM, Michael Palimaka wrote:
> > Fixes: 6dafdc288976 ("Remove __eqalog & __eqawarnlog")
> > ---
> >  bin/install-qa-check.d/90world-writable | 5 ++---
> >  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> This file also contains an invalid IFS=OLDIFS setting (which should
> really be IFS=$OLDIFS).

Done, merged, thanks.

-- 
Brian Dolbec <dolsen>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-02 18:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-21 16:50 [gentoo-portage-dev] [PATCH] install-qa-check.d/90world-writable: fix usage of missing function Michael Palimaka
2014-11-22 16:52 ` Brian Dolbec
2014-11-29 19:47 ` Zac Medico
2014-12-02 18:52   ` Brian Dolbec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox