Re[2]: [gentoo-dev] GLEP ??: Critical News Reporting

2005-11-01 Thread Jakub Moc

1.11.2005, 11:00:22, Thierry Carrez wrote:

 Aren't those messages displayed after the damage is done ? Typical use :

 - emerge --sync run as a daily cron job
 - emerge -a mysql
 - great, a new version is there. Typing Yes
 - system gets borken
 - emerge spits out message saying 14 files need updating and there is 1
 unread news item

 I'm probably missing something here. Please elaborate on how this GLEP
 meets the Preemptive design goal...


I'm probably missing something obvious here, because I can't see why *existing*
emerge --changelog code cannot be recycled for this feature to display upgrade
messages when running emerge -uDav world...


-- 
Best regards,

 Jakub Moc
 mailto:[EMAIL PROTECTED]
 GPG signature: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xCEBA3D9E
 Primary key fingerprint: D2D7 933C 9BA1 C95B 2C95  B30F 8717 D5FD CEBA 3D9E

 ... still no signature ;)

pgpGyWAZW9tWL.pgp
Description: PGP signature


Re[2]: [gentoo-dev] GLEP ??: Critical News Reporting

2005-11-01 Thread Jakub Moc

1.11.2005, 13:26:57, Ciaran McCreesh wrote:

 On Tue, 01 Nov 2005 13:16:03 +0100 Thierry Carrez [EMAIL PROTECTED]
 wrote:
 | For them to know about it, they need to be warned when they do their
 | emerge -p world or emerge -a mysql that the upgrade is not as easy
 | as it seems. People using a cron job to sync are probably a
 | significant part of our user base...

 Have Portage give a red flashy before emerge if there're unread news
 items?

 Although, a better solution for users who cron sync would be to have
 said cron mail them all the relevant news files...

Uhm... emerge sync is a *bad* time to display upgrade messages, it's simply
irrelevant at that time, I'm not upgrading anything at the moment and might not
be upgrading for next week or so.

The messages should be displayed when I'm about to upgrade an ebuild which has
an upgrade note associated with the new version. Sending mail via cron might be
a nice optional feature for those who want to use it.

-- 
Best regards,

 Jakub Moc
 mailto:[EMAIL PROTECTED]
 GPG signature: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xCEBA3D9E
 Primary key fingerprint: D2D7 933C 9BA1 C95B 2C95  B30F 8717 D5FD CEBA 3D9E

 ... still no signature ;)

pgpt93NCyWMev.pgp
Description: PGP signature


Re[2]: [gentoo-dev] GLEP ??: Critical News Reporting

2005-11-01 Thread Jakub Moc

1.11.2005, 13:48:06, Ciaran McCreesh wrote:

 | The messages should be displayed when I'm about to upgrade an ebuild
 | which has an upgrade note associated with the new version. Sending
 | mail via cron might be a nice optional feature for those who want to
 | use it.

 Not really a good idea, a) because news items aren't tied directly to
 ebuilds, and b) because people like advance warning of when you
 upgrade Apache, all hell will break loose! rather than having it
 sprung on them suddenly when they're trying to do a quick update.
 Getting the news item in advance allows for planning.

What do you mean they aren't tied to ebuilds? I don't really understand what
this feature should do then, it seems. Once again, what's wrong with reusing
emerge --changelog mechanism for displaying this kind of information?

I'm not particularly happy with idea of emerge as a newsreader really, IMHO we
should display relevant, vital upgrading information *when relevant*, not to
inform users about upgrades that they are not interested in in the least.
Example: Don't bother me with mysql-4.1 upgrade instructions, I don't plan to
upgrade to that version and did put it into package.mask. Another example:
Don't bother me with upgrade instructions for ~arch ebuilds, I'm running
stable. I want to read them when I decide to upgrade, put them into
package.keywords and run emerge -uav someebuild/world or when it goes stable.

And please, keep the thing simple so that I can be done in reasonable amount of
time and does not follow the destiny of einfo/ewarn logging (3 years and
counting).


-- 
Best regards,

 Jakub Moc
 mailto:[EMAIL PROTECTED]
 GPG signature: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xCEBA3D9E
 Primary key fingerprint: D2D7 933C 9BA1 C95B 2C95  B30F 8717 D5FD CEBA 3D9E

 ... still no signature ;)

pgpLvp5ixQ5zP.pgp
Description: PGP signature


Re: Re[2]: [gentoo-dev] GLEP ??: Critical News Reporting

2005-11-01 Thread Paul de Vrieze
On Tuesday 01 November 2005 13:39, Jakub Moc wrote:
 Uhm... emerge sync is a *bad* time to display upgrade messages, it's
 simply irrelevant at that time, I'm not upgrading anything at the
 moment and might not be upgrading for next week or so.

If you are not upgrading anything the news is not relevant for you anyway. 
The news is to accompany changes to the tree. 

 The messages should be displayed when I'm about to upgrade an ebuild
 which has an upgrade note associated with the new version. Sending mail
 via cron might be a nice optional feature for those who want to use it.

I agree that it might be usefull to allways declare the related 
package(s). Even when the message is not restricted to them.

Paul

-- 
Paul de Vrieze
Gentoo Developer
Mail: [EMAIL PROTECTED]
Homepage: http://www.devrieze.net


pgp5ri1pptgYX.pgp
Description: PGP signature