View previous topic :: View next topic |
Author |
Message |
Rumzajs n00b

Joined: 04 May 2005 Posts: 33
|
Posted: Thu Apr 20, 2006 10:06 pm Post subject: Great and easy to implement portage feature requestet! |
|
|
First let me explain why we wil need this,
and how this wil make portage much more powerfull!
They are some packages which can seriously bork you system
if you not pay attentione to portage output and warning
however if you update you system with emerge -uD world
and you merge a bunch of ebuild you simply can miss the output,
or forget to check it with some tools/scripts like portlog-info, Elog Future, ...
in some cause even if you look after a big update is finished and then you
do what portage want (revdev-rebuild/ ...) it can be to late.
This happend to me with "dev-libs/expat-2.0.0" my system was broken see https://forums.gentoo.org/viewtopic-t-448550.html
the whole emerge -uD runs ok, but after reboot X want start.
i try revdev-rebuild but its fail. Same thing with glibc.
Now the a simple and nice solution
$ emerge -uD world
* ATTENTIONE !!!
* You are gone to emerge dev-libs/expat-2.0.0
* This is a critical package pay attentione to this :
*
* then give the warning/info text of the ebuild here
* You need recompile ...
* run revdev-rebuild ...
* .....................
[10 9 8 ... ]
Now we wait 10 sec the user can abort here and better start with
dev-libs/expat-2.0.0 only and then directly run revdev-rebuild
then he can continue with emerge -uD worlda again.
and how to implement it ?
Simple put a new Field in ebuild's like expat/glibc/perl
called Critical_Msg=Yes
portage should check all ebuild on begin for that Field and display the ebuild info/warnings
for ALL such critical packages directly. |
|
Back to top |
|
 |
UncleOwen Veteran

Joined: 27 Feb 2003 Posts: 1493 Location: Germany, Hamburg
|
Posted: Thu Apr 20, 2006 10:13 pm Post subject: |
|
|
But then again, one might just wait for portage-2.1, which has something like this... |
|
Back to top |
|
 |
Rumzajs n00b

Joined: 04 May 2005 Posts: 33
|
Posted: Thu Apr 20, 2006 10:19 pm Post subject: |
|
|
UncleOwen wrote: | But then again, one might just wait for portage-2.1, which has something like this... |
yeah maybe now it wil get it, maybe ... |
|
Back to top |
|
 |
UncleOwen Veteran

Joined: 27 Feb 2003 Posts: 1493 Location: Germany, Hamburg
|
Posted: Thu Apr 20, 2006 10:26 pm Post subject: |
|
|
No, it already has. |
|
Back to top |
|
 |
Rumzajs n00b

Joined: 04 May 2005 Posts: 33
|
Posted: Thu Apr 20, 2006 10:38 pm Post subject: |
|
|
UncleOwen wrote: | No, it already has. |
portage version ? and how to call it ? |
|
Back to top |
|
 |
UncleOwen Veteran

Joined: 27 Feb 2003 Posts: 1493 Location: Germany, Hamburg
|
Posted: Thu Apr 20, 2006 10:44 pm Post subject: |
|
|
portage-2.1_preX. It's called ELOG, have a look at /etc/make.conf.example. |
|
Back to top |
|
 |
Rumzajs n00b

Joined: 04 May 2005 Posts: 33
|
Posted: Thu Apr 20, 2006 10:57 pm Post subject: |
|
|
UncleOwen wrote: | portage-2.1_preX. It's called ELOG, have a look at /etc/make.conf.example. |
i use portage 2.1_pre7-r5 with ELOG, and this is not what i ask for!
ELOG starts after the package was emerged and not on begin, and let you redirect the output to mail or directory ..
yeah try read the "/etc/make.conf.example"...
i want its work like this :
$ emerge -uD world <ENTER>
FIRST THING NOW are output about critical packages which gone be emerged if they are any. |
|
Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 18706
|
Posted: Thu Apr 20, 2006 11:00 pm Post subject: |
|
|
Moved from Portage & Programming _________________ Magna Carta (1215) | Spectral evidence no longer permissible (c. 1792) | Cancel culture, deplatforming (c. 2016) |
|
Back to top |
|
 |
kallamej Administrator


Joined: 27 Jun 2003 Posts: 4947 Location: Gothenburg, Sweden
|
Posted: Fri Apr 21, 2006 9:01 am Post subject: |
|
|
What you're after is in the scope of GLEP 42: Critical News Reporting. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net |
|
Back to top |
|
 |
Rumzajs n00b

Joined: 04 May 2005 Posts: 33
|
Posted: Fri Apr 21, 2006 11:44 am Post subject: |
|
|
i read that, sound like more dev/cvs related stuff, i don't found any useable "end-user" implementation
which give me what i ask for, if you have a working example let me know. |
|
Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 18706
|
Posted: Fri Apr 21, 2006 2:36 pm Post subject: |
|
|
Rumzajs wrote: | if you have a working example let me know. | I'd really like to see this "warn before beginning emerge" stuff in action. If you have a working example, let me know. _________________ Magna Carta (1215) | Spectral evidence no longer permissible (c. 1792) | Cancel culture, deplatforming (c. 2016) |
|
Back to top |
|
 |
kallamej Administrator


Joined: 27 Jun 2003 Posts: 4947 Location: Gothenburg, Sweden
|
Posted: Fri Apr 21, 2006 3:01 pm Post subject: |
|
|
Rumzajs wrote: |
i read that, sound like more dev/cvs related stuff, i don't found any useable "end-user" implementation
which give me what i ask for, if you have a working example let me know. |
As you can see on that page, this GLEP is still a draft, it has not been approved yet, and there is no implementation of it. It is not intended to be a dev/cvs thing, but indeed used to give users advance notification of important news and changes to the packages they have installed. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net |
|
Back to top |
|
 |
Rumzajs n00b

Joined: 04 May 2005 Posts: 33
|
Posted: Fri Apr 21, 2006 4:41 pm Post subject: |
|
|
pjp wrote: | Rumzajs wrote: | if you have a working example let me know. | I'd really like to see this "warn before beginning emerge" stuff in action. If you have a working example, let me know. |
how can i give you a working example if i ask for it ?
and again specially for you it should work like this :
$ emerge -uD world
first output ALL ewarn/einfo for critical packages here, if they are any.
* warnings about critical packages
* ...
[10 9 ...] wait 10 sec |
|
Back to top |
|
 |
Rumzajs n00b

Joined: 04 May 2005 Posts: 33
|
Posted: Fri Apr 21, 2006 5:11 pm Post subject: |
|
|
kallamej wrote: | Rumzajs wrote: |
i read that, sound like more dev/cvs related stuff, i don't found any useable "end-user" implementation
which give me what i ask for, if you have a working example let me know. |
As you can see on that page, this GLEP is still a draft, it has not been approved yet, and there is no implementation of it. It is not intended to be a dev/cvs thing, but indeed used to give users advance notification of important news and changes to the packages they have installed. |
Well, GLEP is much more like its neccecery and so it can take long time, look the Dates on that Project ...
That solution i ask is easy and fast to implement and very helpfull. |
|
Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 18706
|
Posted: Fri Apr 21, 2006 5:20 pm Post subject: |
|
|
Rumzajs wrote: | how can i give you a working example if i ask for it ? | Point being, there is no working example. The GLEP is an existing proposal for dealing with notifications of the information you are interested in.
I could be wrong, but I doubt there will be an official Portage feature that pre-announces the information.
Rumzajs wrote: | That solution i ask is easy and fast to implement and very helpfull. | So whip it out and submit a bug report for it. Maybe we'll see it in a future point release of Portage. _________________ Magna Carta (1215) | Spectral evidence no longer permissible (c. 1792) | Cancel culture, deplatforming (c. 2016) |
|
Back to top |
|
 |
Genone Retired Dev


Joined: 14 Mar 2003 Posts: 9245 Location: beyond the rim
|
Posted: Mon Apr 24, 2006 12:58 pm Post subject: |
|
|
Rumzajs wrote: | That solution i ask is easy and fast to implement and very helpfull. |
GLEP 42 is the (currently planned) solution.
If you think your solution is that easy try to implement it, you'll see that it's not so easy. |
|
Back to top |
|
 |
|