public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Brian Harring <ferringb@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] GLEP 42 "Critical News Reporting" Round Two
Date: Sat, 5 Nov 2005 05:24:51 -0600	[thread overview]
Message-ID: <20051105112451.GA24767@nightcrawler> (raw)
In-Reply-To: <20051105005814.0de0d8ff@snowdrop.home>

[-- Attachment #1: Type: text/plain, Size: 7353 bytes --]

On Sat, Nov 05, 2005 at 12:58:14AM +0000, Ciaran McCreesh wrote:
> Lightweight
>     It is not reasonable to expect all users to have an MTA, web browser, email
>     client, cron daemon or text processing suite available on their system.
> 
<snip>

> Multiple delivery method support
>     Some users may wish to view news items via email, some via a terminal and
>     some via a web browser. A solution should either support all of these
>     methods or (better still) make it trivial to write clients for displaying
>     news items in different ways.

Drop the lightweight bit and merge it into multiple delivery.  You're 
after lightweight _default_, which is fine, but the phrasing is a bit 
screwed.

> Quality control
>     There should be some way to ensure that badly written or irrelevant messages
>     are not sent out, for example by inexperienced developers, those whose
>     English language skills are below par or morons.

While it may be fun getting a reaction out of people, nuke the nitro 
laced words please.  Same for the forums_whining ref (there's enough 
contention over the glep already ;)


> News items are published and delivered to users as follows:
<snip>
> 6. Portage filters the news item and, if it is relevant, installs it in a
>    special location to be read by a news item reader. Messages are also
>    displayed to inform the user that news is available.

Out of curiousity, how are you planning on having 101 general notices 
reigned down on a users head during an initial install?  Yes, you have 
the atom filter, but what about general notices?

Further, how are notices going to apply to users who don't have the 
package installed, then go and merge it?  Your statement above implies 
the irrevalent (at the time of sync) notices are ignored, which breaks 
down under the scenario where a news item is pushed out that apache 
configuration is going to change, I merge old style apache after 
sync'ing the news, portage (due to your news id cache) considers it 
deleted, and doesn't display it.


> News Item File Format
> ---------------------
<snip>
> News items may be signed using GPG. If this is done, a detached signature should
> be used.

I'd argue for must be, personally.  A bogus news item claiming to be 
from portage devs, telling users to change their SYNC setting could 
cause massive mayhem.


> 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.
> 
> ``Display-If-Installed:``
>     A dependency atom or simple package name (for example,
>     ``<dev-lang/php-5_alpha`` or ``net-www/apache``). If the user has the
>     package specified installed, the news item should be displayed.

Still haven't address my point about
A) package moves combined with news entries
B) N packages

Assume you mean that the bit above is a full DepSet, not a single atom 
(if that's the case, clarify that N atoms are allowed).

Should clarify USE conditionals are a no go- might be worth 
considering the full atom syntax (despite the fact portage doesn't 
currently support it for depends), use flags, slot, etc.

Yes it's more work, but it should be spelled out from where I'm 
sitting.

> ``Display-If-Keyword:``
>     A keyword [#glep-22]_ name, for example ``mips``. If the user is on the arch
>     in question, the news item should be displayed.

N keywords == N Header entries?

> There have been complaints regarding the comprehensibility of some upgrade
> notices and news items in the past. This is understandable -- not every Gentoo
> developer speaks English as a first language. However, for the sake of clarity
> and professionalism it is important that any language problems be corrected
> before inflicting a news item upon end users.
> 
> Thus, all proposed news items must be posted to the ``gentoo-dev`` or
> ``gentoo-core`` mailing list

No go on -core imo; it's a community/dev issue, should be visible to 
the general public rather then hidden away in the ml we do our flaming 
in.

> Client Side
> '''''''''''
> 
> Whenever relevant unread news items are found, ``emerge`` will copy or symlink
> the news file into ``/var/lib/gentoo/news/``.

Already pointed out that this won't fly looking forward, it implicitly 
assumes a single repository.

Need to allow for each repo to have their own news, preferably 
seperated directory wise; either that or you're going to have to track 
where a news item came from and mangle the new entry.

> Notification that new relevant news items will be displayed via the
> ``emerge`` tool in a similar way to the existing "configuration files need
> updating" messages:
> 
> ::
> 
>     * Important: 3 config files in /etc need updating.
>     * Type emerge --help config to learn how to update config files.
> 
>     * Important: there are 5 unread news items.
>     * Type emerge --help news to learn how to read news files.
> 
> The unread news message will also be displayed immediately after an
> ``emerge sync``.
> 
> Portage may also warn of unread news items using, for example, a red flashy
> before actions such as merging a package.

Nuke flashy (any phrasing that allows for blinking crap sliding into portage I 
instinctively dislike).

> Portage must keep track of news items which have already been installed to avoid
> repeatedly reinstalling a deleted news item.

Track it how, via the directory, or a secondary list?
Wording implies portage is going to have to maintain it's own newsid 
list; if that's the case, explicitly state so, and keep it limited to 
per repo (not global as the proposal seems to indicate).

> News Item Removal
> -----------------
> 
> News items can be removed (by removing the news file from the main tree) when
> they are no longer relevant, if they are made obsolete by a future news item or
> after a long period of time. This is the same as the method used for ``updates``
> entries.

Might want to consider a maximum period of time for news entries to 
linger by default; perhaps a header for controlling deletion (this is 
would require commit access for whatever does the scans obviously).

> Integration with Existing Systems
> =================================
> 
> It would be trivial to convert these news items into the format used for news
> items on the Gentoo website or posts for the ``gentoo-announce`` mailing list.

Stop using trivial (no it's not in reference to above, just hit the 
right word count where I'm whinging about it).


> Reference Implementation
> ========================
> 
> Portage Code
> ------------
> 
> TODO

Points above regarding working sanely for N repos need be addressed, 
plus any implementation needs to be integrated, not handing off to an 
external tool (don't want 2 different implementations of atom 
parsing).

Personally... I still think package level news should not be treated 
as repository level information.  It makes any attempt at glep19 a bit 
trickier and stores package data in two different locations.
So... reiterating jasons question, example where news items transcend 
package specific?
~harring

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2005-11-05 11:27 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
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 [this message]
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=20051105112451.GA24767@nightcrawler \
    --to=ferringb@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