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 1EaYRK-0003a1-BD for garchives@archives.gentoo.org; Fri, 11 Nov 2005 12:55:34 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jABCspQZ001761; Fri, 11 Nov 2005 12:54:51 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 jABCr6a9024313 for ; Fri, 11 Nov 2005 12:53:06 GMT Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by smtp.gentoo.org with esmtp (Exim 4.43) id 1EaYOv-0003vD-UQ for gentoo-dev@lists.gentoo.org; Fri, 11 Nov 2005 12:53:06 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EaYN4-0001CR-5O for gentoo-dev@gentoo.org; Fri, 11 Nov 2005 13:51:10 +0100 Received: from ip68-230-97-182.ph.ph.cox.net ([68.230.97.182]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Nov 2005 13:51:10 +0100 Received: from 1i5t5.duncan by ip68-230-97-182.ph.ph.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Nov 2005 13:51:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Duncan <1i5t5.duncan@cox.net> Subject: [gentoo-dev] Re: GLEP 42 "Critical News Reporting" Round Two Date: Fri, 11 Nov 2005 05:48:50 -0700 Organization: Sometimes Message-ID: References: <20051105005814.0de0d8ff@snowdrop.home> <1131664348.8511.95.camel@mogheiden.gnqs.org> <20051110233506.5d9b98e0@snowdrop.home> <200511111228.17440.benno@nietvergeten.nl> 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-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ip68-230-97-182.ph.ph.cox.net User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table) Sender: news X-Archives-Salt: b09d9ce0-c0a7-4be1-9113-f43990ad6d54 X-Archives-Hash: 132b4f33a8a236ce82c18bc5e868a4bb Benno Schulenberg posted <200511111228.17440.benno@nietvergeten.nl>, excerpted below, on Fri, 11 Nov 2005 12:28:17 +0100: > Ciaran McCreesh wrote: >> Next draft will propose being able to append .read to a filename >> to mark it read without deleting it. > > But don't use ".read", as it can be understood as both present tense > (imperative) and past tense. Better use something like ".seen". What about using two local dirs, with symlinks from them to the files in the main news repository in the tree? Perhaps $PORTDIR/news, with seen and unseen subdirs (and appropriate no-sync settings on the subdirs) The post sync process can scan for applicable news items, then check in the seen subdir to see if there's a symlink there already. If not, it can place a symlink in the unseen subdir. The unseen subdir need not be checked as the create-symlink function can simply ignore create errors, or overwrite, if one or the other is more efficient than actually checking before attempting the create. If a user wishes to mark everything seen, they simply move the symlinks to the other subdir. A third mode for eclean can be created, that cleans out all the stale symlinks in seen and unseen, thereby eliminating the need for portage to worry about cleaning them out at sync, so it must only manage adding new ones. As with distdir and packagedir, make.conf should have a variable controlling the location of newsdir. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman in http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html -- gentoo-dev@gentoo.org mailing list