From: Jason Stubbs <jstubbs@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: Re: GLEP 42 "Critical News Reporting" Round Two
Date: Sun, 13 Nov 2005 01:05:48 +0900 [thread overview]
Message-ID: <200511130105.48799.jstubbs@gentoo.org> (raw)
In-Reply-To: <1131809671.8774.19.camel@vertigo.twi-31o2.org>
On Sunday 13 November 2005 00:34, Chris Gianelloni wrote:
> On Sat, 2005-11-12 at 13:39 +0900, Jason Stubbs wrote:
> > On Saturday 12 November 2005 07:19, Stuart Herbert wrote:
> > > When we have emerge --news done,
> >
> > I keep seeing references to "emerge --news" but at the same time am
> > seeing that news readers are external. What exactly is `emerge --news`
> > meant to do? Print out "You've got news!"? Manage some external database?
>
> It is my opinion that the news reading application need not be
> integrated into portage. As far as I have understood it, the only real
> thing that anyone has required portage itself to do is to
> *automatically* spit out "You have $n unread news messages. Please use
> $bleh to read them" at certain times (after sync, after --pretend,
> before/after a merge). I don't see this as being something very
> complex. I would assume that some extra code would need to be written
> into the sync code somewhere to sort the messages.
This, I get. What I'm wondering about is the `emerge --news` that is referred
to every so often.
> I wouldn't mind seeing something along the lines of /var/db/news
> directory (or something repo specific, whatever) that has a pretty
> simple format...
>
> yyyy-mm-dd-$blah-$lang.txt.unread
> yyyy-mm-dd-$blah-$lang.txt.read
>
> When you delete a message, it is gone. This means an external news
> reader (enews anyone?) that basically has the capability to read, skip,
> or delete these news items.
>
> I think this would be pretty simple to get done and covers the problem
> of messages being read or unread. Of course, this is all just an idea,
> so feel free to blow holes all in it. ;]
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.
--
Jason Stubbs
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2005-11-12 16:06 UTC|newest]
Thread overview: 127+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-05 0:58 [gentoo-dev] GLEP 42 "Critical News Reporting" Round Two Ciaran McCreesh
2005-11-05 1:24 ` Stephen Bennett
2005-11-05 1:44 ` Dan Meltzer
2005-11-05 1:53 ` Ciaran McCreesh
2005-11-05 10:28 ` Grobian
2005-11-05 10:53 ` Jan Kundrát
2005-11-05 11:16 ` Grobian
2005-11-05 11:10 ` kloeri
2005-11-05 11:29 ` Grobian
2005-11-05 11:47 ` kloeri
2005-11-05 12:58 ` Grobian
2005-11-05 13:19 ` Bryan Ãstergaard
2005-11-05 14:04 ` Grobian
2005-11-06 20:37 ` Stuart Herbert
2005-11-06 21:38 ` [gentoo-dev] " Duncan
2005-11-06 21:47 ` Ciaran McCreesh
2005-11-07 16:27 ` [gentoo-dev] " Duncan
2005-11-07 17:03 ` Stuart Herbert
2005-11-07 18:32 ` Grobian
2005-11-07 18:41 ` Ciaran McCreesh
2005-11-07 19:11 ` Grobian
2005-11-07 19:51 ` Ciaran McCreesh
2005-11-07 20:13 ` Re[2]: " Jakub Moc
2005-11-10 20:55 ` Stuart Herbert
2005-11-11 9:03 ` Grobian
2005-11-11 11:52 ` Tres Melton
2005-11-11 22:19 ` Stuart Herbert
2005-11-12 4:39 ` Jason Stubbs
2005-11-12 15:34 ` Chris Gianelloni
2005-11-12 16:05 ` Jason Stubbs [this message]
2005-11-12 17:23 ` Grobian
2005-11-13 14:55 ` Chris Gianelloni
2005-11-07 19:01 ` Daniel Ostrow
2005-11-07 19:02 ` Daniel Ostrow
2005-11-07 19:14 ` Daniel Ostrow
2005-11-07 20:10 ` [gentoo-dev] " Grobian
2005-11-07 20:21 ` Ciaran McCreesh
2005-11-07 20:32 ` Jan Kundrát
2005-11-10 21:33 ` Stuart Herbert
2005-11-11 9:19 ` Grobian
2005-11-11 9:38 ` Marius Mauch
2005-11-11 10:10 ` Grobian
2005-11-11 15:39 ` Chris Gianelloni
2005-11-11 15:29 ` Chris Gianelloni
2005-11-12 17:16 ` [gentoo-dev] " R Hill
2005-11-07 22:10 ` [gentoo-dev] Re: " Duncan
2005-11-07 7:18 ` [gentoo-dev] " John Myers
2005-11-07 16:17 ` [gentoo-dev] " Duncan
2005-11-05 17:34 ` [gentoo-dev] " Ciaran McCreesh
2005-11-05 17:58 ` Ferris McCormick
2005-11-05 18:08 ` Ciaran McCreesh
2005-11-05 22:32 ` Grobian
2005-11-05 23:07 ` Ciaran McCreesh
2005-11-06 8:33 ` Grobian
2005-11-06 21:56 ` Ciaran McCreesh
2005-11-07 8:41 ` Grobian
2005-11-07 9:34 ` Re[2]: " Jakub Moc
2005-11-07 16:21 ` Ciaran McCreesh
2005-11-05 11:24 ` Brian Harring
2005-11-05 17:45 ` Ciaran McCreesh
2005-11-05 20:29 ` Brian Harring
2005-11-05 23:10 ` Ciaran McCreesh
2005-11-05 11:34 ` Lisa Seelye
2005-11-05 12:08 ` Jan Kundrát
2005-11-05 17:46 ` Ciaran McCreesh
2005-11-05 11:43 ` Brian Harring
2005-11-05 17:53 ` Ciaran McCreesh
2005-11-05 19:13 ` Ned Ludd
2005-11-05 20:04 ` Ciaran McCreesh
2005-11-05 13:18 ` Jason Stubbs
2005-11-05 13:24 ` Brian Harring
2005-11-05 13:42 ` Jason Stubbs
2005-11-05 17:57 ` Ciaran McCreesh
2005-11-06 2:44 ` Jason Stubbs
2005-11-05 19:24 ` Philip Webb
2005-11-05 20:04 ` Ciaran McCreesh
2005-11-05 22:24 ` Philip Webb
2005-11-05 22:36 ` Ciaran McCreesh
2005-11-07 10:50 ` Paul de Vrieze
2005-11-07 11:03 ` Henrik Brix Andersen
2005-11-07 16:23 ` Ciaran McCreesh
2005-11-07 20:12 ` Philip Webb
2005-11-07 20:34 ` Jan Kundrát
2005-11-07 20:45 ` Ciaran McCreesh
2005-11-07 23:17 ` Philip Webb
2005-11-08 0:41 ` Dan Meltzer
2005-11-10 23:12 ` Stuart Herbert
2005-11-10 23:35 ` Ciaran McCreesh
2005-11-11 0:07 ` Mike Owen
2005-11-11 0:11 ` Ciaran McCreesh
2005-11-11 3:52 ` Luca Barbato
2005-11-11 4:09 ` Dan Meltzer
2005-11-11 4:27 ` Luca Barbato
2005-11-12 17:22 ` [gentoo-dev] " R Hill
2005-11-11 15:34 ` [gentoo-dev] " Chris Gianelloni
2005-11-11 11:28 ` Benno Schulenberg
2005-11-11 12:48 ` [gentoo-dev] " Duncan
2005-11-12 2:27 ` Georgi Georgiev
2005-11-12 7:05 ` [gentoo-dev] " Duncan
2005-11-11 14:33 ` [gentoo-dev] " Paul de Vrieze
2005-11-11 17:40 ` Marius Mauch
2005-11-11 20:54 ` Ciaran McCreesh
2005-11-11 21:09 ` Grant Goodyear
2005-11-12 0:55 ` [gentoo-dev] " Duncan
2005-11-11 22:37 ` [gentoo-dev] " Stuart Herbert
2005-11-11 23:08 ` Ciaran McCreesh
2005-11-14 9:25 ` Thierry Carrez
2005-11-14 14:03 ` Marius Mauch
2005-11-11 23:22 ` Chris Gianelloni
2005-11-12 0:57 ` Stuart Herbert
2005-11-12 8:49 ` Grobian
2005-11-12 11:32 ` [gentoo-dev] " Duncan
2005-11-12 15:45 ` Chris Gianelloni
2005-11-12 15:26 ` [gentoo-dev] " Chris Gianelloni
2005-11-13 14:07 ` [gentoo-dev] " Duncan
2005-11-13 22:34 ` [gentoo-dev] " Stuart Herbert
2005-11-13 23:43 ` Dan Meltzer
2005-11-14 0:14 ` Ciaran McCreesh
2005-11-14 13:59 ` Chris Gianelloni
2005-11-18 23:44 ` Stuart Herbert
2005-11-19 1:44 ` George Prowse
2005-11-19 7:41 ` [gentoo-dev] " Duncan
2005-11-20 18:06 ` [gentoo-dev] " Chris Gianelloni
2005-11-20 20:42 ` Stuart Herbert
2005-11-20 21:01 ` [gentoo-dev] " Dan Meltzer
2005-11-21 14:13 ` Mint Shows
2005-11-21 20:07 ` Andrew Muraco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200511130105.48799.jstubbs@gentoo.org \
--to=jstubbs@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox