Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
etc-proposals - an etc-update replacement
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
bmichaelsen
Veteran
Veteran


Joined: 17 Nov 2002
Posts: 1277
Location: Hamburg, Germany

PostPosted: Mon Nov 06, 2006 7:23 pm    Post subject: etc-proposals - an etc-update replacement Reply with quote

(this post keeps changing to be up to date)
Hi guys,

I wrote yet another etc-update replacement, and am wondering if anyone likes it.
For gentoo-users, who like the commandline, etc-proposals is a gentoo configuration file updater, that, unlike etc-update and dispatch-conf, provides a shell with tabcompletion and allows updating of selected fileparts.
Features:

* lean dependancies (only portage and readline, no diff, no rcs, nothing else)
* shell-like UI with tabcompletion and history
* can be used just like dispatch-conf, so you dont need to learn anything new (however, you might actually like the additional features)
* the ability to accept certain changes to a file, while dismissing others
* dynamical recalculation of changes (i.e. if on update proposes to change a line and is accepted, the user wont be asked again, if a second update proposes the same)
* the ability to accept/dismiss all changes to a file/dir
* the ability to review decisions before they are merged
* showing changes in a change/proposal/file/dir/all
* the ability to undo decisions, if they are not yet merged into the filesystem
* undo a change/proposal/file/dir
* goto <change>, completely with tabcompletion
* merging of changes to the configuration files is not done on a file-by-file basis, but can be triggered at any time. This allows the user to review his changes.
* provides the ability to edit a proposed changes, opening the editor of choice at the changed lines (this is currently supported in nano, emacs and vi)
* keeps decisions on proposed changes, even if the tool is stopped
* online help from the shell

More info and current version at: http://michaelsen.kicks-ass.net/Members/bjoern/etcproposals/

BR, Björn


Last edited by bmichaelsen on Sat Nov 18, 2006 12:15 am; edited 8 times in total
Back to top
View user's profile Send private message
dev-urandom
Apprentice
Apprentice


Joined: 24 Jun 2005
Posts: 260
Location: Huh?

PostPosted: Mon Nov 06, 2006 10:59 pm    Post subject: Re: etc-proposals Reply with quote

@bmichaelsen: Looks great. I'll give it a try on my system and see how it rolls over the next few weeks.

Thanks.
_________________
/earth: file system full.
Back to top
View user's profile Send private message
bmichaelsen
Veteran
Veteran


Joined: 17 Nov 2002
Posts: 1277
Location: Hamburg, Germany

PostPosted: Tue Nov 07, 2006 9:46 am    Post subject: Reply with quote

Well, keep coming back. Updates are coming. ;-)
Back to top
View user's profile Send private message
bmichaelsen
Veteran
Veteran


Joined: 17 Nov 2002
Posts: 1277
Location: Hamburg, Germany

PostPosted: Wed Nov 08, 2006 9:39 am    Post subject: Reply with quote

I continued to work on etc-proposals yesterday.

- undo now works on a change/proposal/file/dir in addition to all
- show now works on a proposal/file/dir/all in addition to change
- goto <change> works, completely with tabcompletion
- fixed a bug, when you have to update-proposals for one file and first use or zap a change from the second proposal, and then from the first. etc-proposals now only keeps decisions on the second proposal if it is possible.
- lots of minor fixes and cleaning

I forgot the file at home and will upload it tomorrow ...
Back to top
View user's profile Send private message
bmichaelsen
Veteran
Veteran


Joined: 17 Nov 2002
Posts: 1277
Location: Hamburg, Germany

PostPosted: Wed Nov 08, 2006 5:57 pm    Post subject: Reply with quote

If you cant wait till tomorrow, here is a hint:
The file is a gzipped tarfile, not a bzip2ed tarfile as the name might suggest. I botched the naming in the CMS, Sorry about that one.
To unpack just run
Code:
tar -xzf $DOWNLOADEDFILE
.
EDIT: fixed the name in the link

But there will be a new version tomorrow anyway ...
Back to top
View user's profile Send private message
bmichaelsen
Veteran
Veteran


Joined: 17 Nov 2002
Posts: 1277
Location: Hamburg, Germany

PostPosted: Thu Nov 09, 2006 10:15 am    Post subject: Reply with quote

New version:
- emacs support
- undo now works on a change/proposal/file/dir in addition to all
- show now works on a proposal/file/dir/all in addition to change
- goto <change> works, completely with tabcompletion
- fixed a bug, when you have to update-proposals for one file and first use or zap a change from the second proposal, and then from the first. etc-proposals now only keeps decisions on the second proposal if it is possible.
- lots of minor fixes and cleaning
Back to top
View user's profile Send private message
bmichaelsen
Veteran
Veteran


Joined: 17 Nov 2002
Posts: 1277
Location: Hamburg, Germany

PostPosted: Sat Nov 18, 2006 12:09 am    Post subject: Reply with quote

etcproposals Version 0.9.20061114 released. Packed in a proper distutils source tarball and there is even a ebuild available!
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6780

PostPosted: Sat Nov 18, 2006 2:29 pm    Post subject: Reply with quote

bmichaelsen wrote:
there is even a ebuild available!

You can add ~amd64 to the testing KEYWORDS list. :wink:
Back to top
View user's profile Send private message
bmichaelsen
Veteran
Veteran


Joined: 17 Nov 2002
Posts: 1277
Location: Hamburg, Germany

PostPosted: Sun Nov 19, 2006 10:54 am    Post subject: Reply with quote

mv wrote:
bmichaelsen wrote:
there is even a ebuild available!

You can add ~amd64 to the testing KEYWORDS list. :wink:

done. (also in bugzilla)
Back to top
View user's profile Send private message
bmichaelsen
Veteran
Veteran


Joined: 17 Nov 2002
Posts: 1277
Location: Hamburg, Germany

PostPosted: Sun Nov 19, 2006 3:30 pm    Post subject: Reply with quote

The ebuild is now in the gentoo-sunrise overlay. Installation just got easier.
http://www.gentoo-sunrise.org/
Back to top
View user's profile Send private message
bmichaelsen
Veteran
Veteran


Joined: 17 Nov 2002
Posts: 1277
Location: Hamburg, Germany

PostPosted: Thu Mar 01, 2007 5:13 pm    Post subject: Reply with quote

etc-proposals 1.0 ist out!
https://forums.gentoo.org/viewtopic-p-3935310.html?sid=1eda9e53f670ab520e9169f2fea1414a#3935310
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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