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 1Eaz9k-0004CN-Pa for garchives@archives.gentoo.org; Sat, 12 Nov 2005 17:27:13 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jACHPtSM008104; Sat, 12 Nov 2005 17:25:55 GMT Received: from hermes.orakel.ods.org (dsl67-66.fastxdsl.nl [62.251.66.67]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jACHNrCT020264 for ; Sat, 12 Nov 2005 17:23:53 GMT Received: from aphrodite.orakel.ods.org ([172.17.2.15]) by hermes.orakel.ods.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.54) id 1Eaz6W-0003Ty-Ev for gentoo-dev@lists.gentoo.org; Sat, 12 Nov 2005 18:23:53 +0100 Message-ID: <4376252C.4050700@gentoo.org> Date: Sat, 12 Nov 2005 18:23:56 +0100 From: Grobian Organization: Gentoo Foundation User-Agent: Thunderbird 1.5 (Macintosh/20051025) 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 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: Re: GLEP 42 "Critical News Reporting" Round Two References: <436CAC58.4090809@gentoo.org> <200511121339.05413.jstubbs@gentoo.org> <1131809671.8774.19.camel@vertigo.twi-31o2.org> <200511130105.48799.jstubbs@gentoo.org> In-Reply-To: <200511130105.48799.jstubbs@gentoo.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Scanned: by hermes.orakel.ods.org (Exim Exiscan) using SpamAssassin and ClamAV X-Archives-Salt: dd5b7029-46fb-48bd-a15f-78aee78c1107 X-Archives-Hash: c28050a4844b7d827de14919df158255 Jason Stubbs wrote: > To be honest, this is the part that I don't like the most. Integrating code > into portage to copy files here and there based on some predefined rules and > news readers reading and renaming files based on some predefined rules... > A filesystem based API just doesn't seem very robust to change. > > I'd prefer that either the post-sync handling code is not integrated into > portage and portage just triggers some external script - or - portage exposes > an API (via python and bash) for accessing and updating news items. I'd > prefer the latter but I get the impression that most prefer the former. - append message to /var/spool/mail/portage alternative 1 (very very sober install): - less /var/spool/mail/portage - rm /var/spool/mail/portage alternative 2 (sober install): - vi /var/spool/mail/portage alternative 3 (for those having `mail`, `mutt` or whatever that reads mbox) - mail -u portage (program allows deletion) alternative 4 (those that don't like mbox reading) - either run mbox2mail or - allow portage to write to a pipe to `mail` instead of append to /var/spool/mail/portage (would be the best solution IMHO) It doesn't have to be so complicated, IMHO. Most of the tools are already there, because traditional unix systems had this notification system built in. Imagine how nice you could benefit from a shell that tells you you've got (new) mail if you log in as root. Appending in the right format to /var/spool/mail/portage doesn't need an MTA either. -- Fabian Groffen Gentoo for Mac OS X Project -- Interim Lead -- gentoo-dev@gentoo.org mailing list