From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EYaYW-00007l-3t for garchives@archives.gentoo.org; Sun, 06 Nov 2005 02:46:52 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jA62k9IK009547; Sun, 6 Nov 2005 02:46:09 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jA62hRIf000378 for ; Sun, 6 Nov 2005 02:43:27 GMT Received: from zh034158.ppp.dion.ne.jp ([222.3.34.158] helo=opteron246.suzuki-stubbs.home) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1EYaVC-0007uV-CU for gentoo-dev@lists.gentoo.org; Sun, 06 Nov 2005 02:43:26 +0000 Received: by opteron246.suzuki-stubbs.home (Postfix, from userid 1000) id AB051248160; Sun, 6 Nov 2005 11:44:42 +0900 (JST) From: Jason Stubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] GLEP 42 "Critical News Reporting" Round Two Date: Sun, 6 Nov 2005 11:44:42 +0900 User-Agent: KMail/1.8.92 References: <20051105005814.0de0d8ff@snowdrop.home> <200511052218.14564.jstubbs@gentoo.org> <20051105175754.64ff0f7b@snowdrop.home> In-Reply-To: <20051105175754.64ff0f7b@snowdrop.home> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511061144.42414.jstubbs@gentoo.org> X-Archives-Salt: 4f08b4c8-8e9a-4a84-804b-a3d724cd642f X-Archives-Hash: aba3a39d113f45458c5c5f289c734d39 On Sunday 06 November 2005 02:57, Ciaran McCreesh wrote: > On Sat, 5 Nov 2005 22:18:14 +0900 Jason Stubbs > | > The following headers are used for filtering. If none of these > | > headers are specified, the news item is displayed for all users. > | > Otherwise, the news item is displayed if *at least one* header > | > matches. > | > | It would seem more useful if the headers were sorted into the three > | classes first. A news item would then only be displayed if a header > | from the class matches or the class is empty. This would allow for > | rules such as "net-www/apache is installed and the keyword is either > | mips or sparc". > > Hrm. I'll need to think about that. But it's starting to sound nicer > than the and/or/none voodoo I'd removed previously. My sentences aren't making much sense either, even if you got my intention anyway. ;) A news item would then only be displayed if a header from the class matches or the class is empty *for each class*. > | Isn't keyword just a generalization of profile? Why have both? > > Simplicity. Ok. Just confirming. > | > Thus, all proposed news items must be posted to the ``gentoo-dev`` > | > or ``gentoo-core`` mailing list, and ``Cc:``\ed to > | > ``pr@gentoo.org`` at least 72 hours before being committed > | > (exceptions may be made in exceptional circumstances). Any > | > complaints regarding wording or clarity **must** be addressed > | > before the news item goes live. > | > | Why gentoo-core? It's a news item; it's purpose is to be made public. > > Possible security concerns. Hopefully this will never happen. Ok. > | Why put this in portage at all? Post sync hooks will likely be > | available in 2.0.54. If adding hooks were as easy as adding a file to > | a portage config directory, would adding the package that does the > | above to the system package set be enough to force this new > | information dispersal method on users? > > Performance. I have a bash script which does the installs that could > easily be called by a hook, but it has to call portageq quite a bit. > Otherwise a hook would be fine... Possibly it's fine anyway? The script could be converted to Python. Or we can have a go at speeding up portageq a bit. (Or both ;). It's just that there's only a small part of integrated into portage as far as the current GLEP goes, which then partially locks people out of working with the news items in alternative ways... Could you send over the bash version of the post-sync script? -- Jason Stubbs -- gentoo-dev@gentoo.org mailing list