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 1EaMUZ-0000Tk-7U for garchives@archives.gentoo.org; Fri, 11 Nov 2005 00:10:07 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAB09Nbi024072; Fri, 11 Nov 2005 00:09:23 GMT Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.197]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jAB07c5t027787 for ; Fri, 11 Nov 2005 00:07:39 GMT Received: by xproxy.gmail.com with SMTP id s6so847409wxc for ; Thu, 10 Nov 2005 16:07:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iRq/6hoFbLVkDode6a1HFvIYKHKz/GVsmcl2kBe/mpqf3nMWBoTP3cmwzZcDIv14FjIbikUcMEf6GQZfSz0jtAYIBdzX+I2qMndfMe4lL5fSeqrSRkbhN/OMSQMToOwFkM1JTjd2JAV1kt8UDtqNNlqHZbKQEMWFKEN15HRY860= Received: by 10.70.50.9 with SMTP id x9mr1301648wxx; Thu, 10 Nov 2005 16:07:38 -0800 (PST) Received: by 10.70.88.4 with HTTP; Thu, 10 Nov 2005 16:07:37 -0800 (PST) Message-ID: <8f5ca2210511101607u54e15001sd280a798e748c787@mail.gmail.com> Date: Thu, 10 Nov 2005 16:07:37 -0800 From: Mike Owen To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] GLEP 42 "Critical News Reporting" Round Two In-Reply-To: <20051110233506.5d9b98e0@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=ISO-8859-1 Content-Disposition: inline References: <20051105005814.0de0d8ff@snowdrop.home> <1131664348.8511.95.camel@mogheiden.gnqs.org> <20051110233506.5d9b98e0@snowdrop.home> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id jAB07c5t027787 X-Archives-Salt: 2f5cc959-7ab6-4b08-b8e1-246db26d54dd X-Archives-Hash: 59b4795a6f5c3f13cde8cb1f6745f6ea On 11/10/05, Ciaran McCreesh wrote: > On Thu, 10 Nov 2005 23:12:28 +0000 Stuart Herbert > wrote: > | Should the GLEP explain how Portage will know how many unread news > | items there are in /var/lib/gentoo/news? I couldn't spot where this > | is covered in the text, or in the example code. > > Well, I was going to go with the plain but simple "once you've read it, > delete it" approach, but some people didn't like that. Next draft will > propose being able to append .read to a filename to mark it read > without deleting it. Either way, it's just a case of looking > for ????-??-??-*.??.txt, chopping off the .??.txt, removing duplicates > and counting. > What about something like "/etc/portage/news.read", which contains a single news file per line. Perhaps have support for something like "<=2006-01-01" in order to be able to manually mark date ranges as read. HTH, Mike -- gentoo-dev@gentoo.org mailing list