View previous topic :: View next topic |
Author |
Message |
bmichaelsen Veteran
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Mon Nov 06, 2006 7:23 pm Post subject: etc-proposals - an etc-update replacement |
|
|
(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 |
|
|
dev-urandom Apprentice
Joined: 24 Jun 2005 Posts: 260 Location: Huh?
|
Posted: Mon Nov 06, 2006 10:59 pm Post subject: Re: etc-proposals |
|
|
@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 |
|
|
bmichaelsen Veteran
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Tue Nov 07, 2006 9:46 am Post subject: |
|
|
Well, keep coming back. Updates are coming. |
|
Back to top |
|
|
bmichaelsen Veteran
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Wed Nov 08, 2006 9:39 am Post subject: |
|
|
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 |
|
|
bmichaelsen Veteran
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Wed Nov 08, 2006 5:57 pm Post subject: |
|
|
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 |
|
|
bmichaelsen Veteran
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Thu Nov 09, 2006 10:15 am Post subject: |
|
|
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 |
|
|
bmichaelsen Veteran
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Sat Nov 18, 2006 12:09 am Post subject: |
|
|
etcproposals Version 0.9.20061114 released. Packed in a proper distutils source tarball and there is even a ebuild available! |
|
Back to top |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6780
|
Posted: Sat Nov 18, 2006 2:29 pm Post subject: |
|
|
bmichaelsen wrote: | there is even a ebuild available! |
You can add ~amd64 to the testing KEYWORDS list. |
|
Back to top |
|
|
bmichaelsen Veteran
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Sun Nov 19, 2006 10:54 am Post subject: |
|
|
mv wrote: | bmichaelsen wrote: | there is even a ebuild available! |
You can add ~amd64 to the testing KEYWORDS list. |
done. (also in bugzilla) |
|
Back to top |
|
|
bmichaelsen Veteran
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Sun Nov 19, 2006 3:30 pm Post subject: |
|
|
The ebuild is now in the gentoo-sunrise overlay. Installation just got easier.
http://www.gentoo-sunrise.org/ |
|
Back to top |
|
|
bmichaelsen Veteran
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
|
Back to top |
|
|
|