Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
etc-update request
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
Ateo
Advocate
Advocate


Joined: 02 Jun 2003
Posts: 2021
Location: Republic of California

PostPosted: Fri Jan 07, 2005 7:07 am    Post subject: etc-update request Reply with quote

Is it possible to add a 4th choice to etc-update? Much like -5 merges all updated files (without mercy), would it be practical to have, say, -7 to do nothing and delete all files? This would be handy if you're just recompiling a bunch of stuff at once and you know for fact you won't be updating any config files.....

It's a pain in the arse to etc-update 15 files (binutils is a good example) and to have to delete them one by one...

Thanks
Back to top
View user's profile Send private message
syg00
l33t
l33t


Joined: 23 Aug 2004
Posts: 907
Location: Brisbane, AUS

PostPosted: Fri Jan 07, 2005 7:17 am    Post subject: Reply with quote

I always do a find on '._cfg???_*' in /etc just for my own info.
If you reckon you don't need them it's easy enough to delete them.
etc-update don't give a damn if there are no files to update, it just terminates - even gives you a message.
Back to top
View user's profile Send private message
Ateo
Advocate
Advocate


Joined: 02 Jun 2003
Posts: 2021
Location: Republic of California

PostPosted: Fri Jan 07, 2005 7:19 am    Post subject: Reply with quote

You know what? I never even thought of that. But still, for consistancy's sake, it would still be nice to have that extra option....

But nonetheless, your suggestion works just fine.
Back to top
View user's profile Send private message
madmango
Guru
Guru


Joined: 15 Jul 2003
Posts: 507
Location: PA, USA

PostPosted: Fri Jan 07, 2005 11:50 pm    Post subject: Reply with quote

I'd agree with the poster.

We really need to have a -7 option or something. Maybe with an extra warning.

But if I go from foobar-2.8.67 to foobar-2.8.68 and it has sixty config files, no way I'm updating them for a simple bugfix release.
_________________
word.
Back to top
View user's profile Send private message
zerojay
Veteran
Veteran


Joined: 09 Aug 2003
Posts: 1033

PostPosted: Sat Jan 08, 2005 6:16 am    Post subject: Re: etc-update request Reply with quote

Ateo wrote:
Is it possible to add a 4th choice to etc-update? Much like -5 merges all updated files (without mercy), would it be practical to have, say, -7 to do nothing and delete all files? This would be handy if you're just recompiling a bunch of stuff at once and you know for fact you won't be updating any config files.....

It's a pain in the arse to etc-update 15 files (binutils is a good example) and to have to delete them one by one...

Thanks


You should probably post this to the Gentoo Bugzilla as most of the developers don't read the forums.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Sat Jan 08, 2005 5:39 pm    Post subject: Reply with quote

If it is a simple update or bugfix etc-update will treat these as trivial changes and automerge them. Only when it determines the file is significantly changed will it prompt the user for intervention.
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