Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] sleep 1 in misc-functions.sh
Date: Fri, 21 Oct 2011 02:28:27
Message-Id: 4EA0D8A7.8070208@gentoo.org
In Reply to: Re: [gentoo-portage-dev] sleep 1 in misc-functions.sh by Zac Medico
1 On 10/20/2011 07:18 AM, Zac Medico wrote:
2 > On 10/20/2011 05:22 AM, Mike Frysinger wrote:
3 >> On Thursday 20 October 2011 07:20:14 Fabian Groffen wrote:
4 >>> The full context of this message is from a thread on gentoo-alt ml:
5 >>> http://archives.gentoo.org/gentoo-alt/msg_db73b1a140fd958efb88f2437170646d.
6 >>> xml
7 >>>
8 >>> Long story short, this person has to deal with a fileserver that sets
9 >>> the rw world bits on for all files that are created.
10 >>> While I don't think the suggested patch is fair (this is obviously a
11 >>> very badly configured fileserver), I do wonder if the "sleep 1" that is
12 >>> in the code is actually desired. In case we want it, I would suggest we
13 >>> move down the "sleep 1" so it's only done once for the entire list with
14 >>> files.
15 >>>
16 >>> Can we use eqawarn in bin/misc-functions.sh:177 instead and avoid the
17 >>> sleep?
18 >>
19 >> or have it sleep once overall instead of per file
20 >> -mike
21 >
22 > Fixed in git now:
23 >
24 > http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a5968f7d9b1c17568fba27f7b7fd284b9431802d
25 >
26
27 Output is condensed now:
28
29 http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=44a03c9f2218ae7cfdc03aae495d255e0ca2e5b1
30 --
31 Thanks,
32 Zac