Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Great and easy to implement portage feature requestet!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Rumzajs
n00b
n00b


Joined: 04 May 2005
Posts: 33

PostPosted: Thu Apr 20, 2006 10:06 pm    Post subject: Great and easy to implement portage feature requestet! Reply with quote

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
View user's profile Send private message
UncleOwen
Veteran
Veteran


Joined: 27 Feb 2003
Posts: 1493
Location: Germany, Hamburg

PostPosted: Thu Apr 20, 2006 10:13 pm    Post subject: Reply with quote

But then again, one might just wait for portage-2.1, which has something like this...
Back to top
View user's profile Send private message
Rumzajs
n00b
n00b


Joined: 04 May 2005
Posts: 33

PostPosted: Thu Apr 20, 2006 10:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
UncleOwen
Veteran
Veteran


Joined: 27 Feb 2003
Posts: 1493
Location: Germany, Hamburg

PostPosted: Thu Apr 20, 2006 10:26 pm    Post subject: Reply with quote

No, it already has.
Back to top
View user's profile Send private message
Rumzajs
n00b
n00b


Joined: 04 May 2005
Posts: 33

PostPosted: Thu Apr 20, 2006 10:38 pm    Post subject: Reply with quote

UncleOwen wrote:
No, it already has.


portage version ? and how to call it ?
Back to top
View user's profile Send private message
UncleOwen
Veteran
Veteran


Joined: 27 Feb 2003
Posts: 1493
Location: Germany, Hamburg

PostPosted: Thu Apr 20, 2006 10:44 pm    Post subject: Reply with quote

portage-2.1_preX. It's called ELOG, have a look at /etc/make.conf.example.
Back to top
View user's profile Send private message
Rumzajs
n00b
n00b


Joined: 04 May 2005
Posts: 33

PostPosted: Thu Apr 20, 2006 10:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 18159

PostPosted: Thu Apr 20, 2006 11:00 pm    Post subject: Reply with quote

Moved from Portage & Programming
_________________
Those who know what's best for us must rise and save us from ourselves.
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4927
Location: Gothenburg, Sweden

PostPosted: Fri Apr 21, 2006 9:01 am    Post subject: Reply with quote

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
View user's profile Send private message
Rumzajs
n00b
n00b


Joined: 04 May 2005
Posts: 33

PostPosted: Fri Apr 21, 2006 11:44 am    Post subject: Reply with quote

kallamej wrote:
What you're after is in the scope of GLEP 42: Critical News Reporting.


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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 18159

PostPosted: Fri Apr 21, 2006 2:36 pm    Post subject: Reply with quote

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.
_________________
Those who know what's best for us must rise and save us from ourselves.
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4927
Location: Gothenburg, Sweden

PostPosted: Fri Apr 21, 2006 3:01 pm    Post subject: Reply with quote

Rumzajs wrote:
kallamej wrote:
What you're after is in the scope of GLEP 42: Critical News Reporting.


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
View user's profile Send private message
Rumzajs
n00b
n00b


Joined: 04 May 2005
Posts: 33

PostPosted: Fri Apr 21, 2006 4:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
Rumzajs
n00b
n00b


Joined: 04 May 2005
Posts: 33

PostPosted: Fri Apr 21, 2006 5:11 pm    Post subject: Reply with quote

kallamej wrote:
Rumzajs wrote:
kallamej wrote:
What you're after is in the scope of GLEP 42: Critical News Reporting.


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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 18159

PostPosted: Fri Apr 21, 2006 5:20 pm    Post subject: Reply with quote

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.
_________________
Those who know what's best for us must rise and save us from ourselves.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9236
Location: beyond the rim

PostPosted: Mon Apr 24, 2006 12:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum