View previous topic :: View next topic |
Author |
Message |
bmichaelsen Veteran
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Thu Mar 01, 2007 5:12 pm Post subject: etc-proposals 1.4.2 in portage (etc-update with Gtk2/Qt4) |
|
|
Dear fellow gentooists,
I just finished etc-proposals 1.X and am looking for usability reports, bug reports and other feedback.
Have Fun,
Björn
<--- The following text gets updated regulary --->
Here is a short blurb describing what etc-proposals is and does:
etc-proposals 1.4.2
For gentoo-users, etc-proposals is a gentoo configuration file updater, that, unlike etc-update and dispatch-conf, provides a shell with tabcompletion, a Gtk2 and a Qt4 frontend and allows updating of selected fileparts while providing a lot of automatization.
see homepage for more features as it gets updated more often
Screenshots:
Screenshots are here
Installation:
Code: |
echo 'app-portage/etc-proposals ' >> /etc/portage/package.keywords
emerge etc-proposals |
to install etc-proposals (replace ~x86 with your arch).
HOWTO use the etc-proposals GUI:
http://gentoo-wiki.com/HOWTO_etc-proposals
Please test and enjoy! Any feedback appreciated.
Project Homepage:
http://etc-proposals.berlios.de
Last edited by bmichaelsen on Tue Jan 22, 2008 7:05 pm; edited 18 times in total |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Thu Mar 01, 2007 6:11 pm Post subject: |
|
|
Good work |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Mon Mar 05, 2007 5:59 pm Post subject: |
|
|
Nice one! The GTK front-end is working fine for me. |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Wed Mar 07, 2007 3:49 pm Post subject: |
|
|
One suggestion: would it be possible to have a file, so that the user could accept all changes for a file with one click? Or am I missing something (wouldn't be the first time ;) |
|
Back to top |
|
|
bmichaelsen Veteran
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Wed Mar 07, 2007 4:48 pm Post subject: |
|
|
steveL wrote: | One suggestion: would it be possible to have a file, so that the user could accept all changes for a file with one click? Or am I missing something (wouldn't be the first time |
How about rightclicking on the file in treeview to the right and clicking "use all" in the context menu?
But you are right, this definitly needs to be documented better. It also works for the whitespace/CVS-Header/Unmodified-File changes etc.
The only thing the Gtk-frontend is missing, which is already implemented in the shell is the "use/zap/undo dir" command. It will be there in the next release (Along with help for the GUI and supporting pkgcore's configuration management). |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Wed Mar 07, 2007 9:55 pm Post subject: |
|
|
Heh, just found it, thanks!
Nice program. |
|
Back to top |
|
|
Samoth Tux's lil' helper
Joined: 07 Jan 2006 Posts: 117 Location: NJ
|
Posted: Thu Mar 08, 2007 12:06 am Post subject: |
|
|
Hey, I really like this!
I like it more than etc-update because it colorizes the diffs, so that I don't have to guess what lines are going in/out.
I would really like to see this project implementa sort of editor for config files owned by packages. For example you could have a tab on the left for editing any config file in CONFIG_PROTECT. Just a thought. Keep up the good work _________________ The Early Bird may get the worm, but the second mouse gets the cheese. |
|
Back to top |
|
|
Jeremy_Z l33t
Joined: 05 Apr 2004 Posts: 671 Location: Shanghai
|
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Thu Mar 08, 2007 4:10 am Post subject: |
|
|
Jeremy_Z wrote: | Nice, i might give a try to a QT4 GUI for this when i have time |
Nice one! Any chance you could make it a tab in this application? That'd be sweet! |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Thu Mar 08, 2007 8:12 am Post subject: |
|
|
Moved from Portage & Programming to Unsupported Software. |
|
Back to top |
|
|
Jeremy_Z l33t
Joined: 05 Apr 2004 Posts: 671 Location: Shanghai
|
Posted: Thu Mar 08, 2007 8:36 am Post subject: |
|
|
steveL wrote: | Jeremy_Z wrote: | Nice, i might give a try to a QT4 GUI for this when i have time |
Nice one! Any chance you could make it a tab in this application? That'd be sweet! |
Not directly, but with non WTF software design it should be trivial.
Oh just realized, it is in python and i still have to get PyQT working (with qt3 or 4 i don't care) it got broken a long time ago on my comp
If it was in C/C++ that would be easier. _________________ "Because two groups of consumers drive the absolute high end of home computing: the gamers and the porn surfers." /.
My gentoo projects, Kelogviewer and a QT4 gui for etc-proposals |
|
Back to top |
|
|
bmichaelsen Veteran
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Thu Mar 08, 2007 9:17 am Post subject: |
|
|
Quote: | I would really like to see this project implementa sort of editor for config files owned by packages. For example you could have a tab on the left for editing any config file in CONFIG_PROTECT. Just a thought. Keep up the good work |
Im not really sure what you mean ...
- The gtk frontend already has a treeview on the left, where you can select the files which have updates available. Do you mean something like that for the shell? That wouldnt be so easy (because Im not using ncurses directly) and also breaks the UI-decision for a shell-like interface ...
- I can basically also imagine sorting the files to update by package - not by filename. But that needs some careful considerations, as scanning /var/db/pkg/ is needed and thats slow. But Im already scanning /var/db/pkg/ for checking for unmodified files so its possible, but I have to make sure that I scan I only once.
- I also considered to make it possible to add a directory to CONFIG_PROTECT_MASK while running etc-proposals (that would be a "use always" in a way ...). However, thats strongly depending on the packagemanager (portage, pkgcore - i did not even look at paludis).
Quote: | Nice, i might give a try to a QT4 GUI for this when i have time |
That would be awesome!
http://porthole.sourceforge.net/ and http://portato.sourceforge.net/ are also considering using etc-proposals as a plugin. I promised |
|
Back to top |
|
|
Samoth Tux's lil' helper
Joined: 07 Jan 2006 Posts: 117 Location: NJ
|
Posted: Thu Mar 08, 2007 12:49 pm Post subject: |
|
|
I meant that you could use it as a generic config file editor. Any file in in CONFIG_PROTECT can be edited.
Oh, I just had another thought, you could integrate this with fam/gamin and be able to restart services affected by the config file changes.
Congratulations on people using it as a plugin.. _________________ The Early Bird may get the worm, but the second mouse gets the cheese. |
|
Back to top |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Thu Mar 08, 2007 2:56 pm Post subject: |
|
|
I have a very basic plug-in for porthole. In -0.5.0 it works fine in local mode, but I have not been able yet to get it working for an installed (by an ebuild) version. We may have screwed up on the plug-in interface implementation. I need to do more testing. I have also updated the cvs version for the plug-in to work, but have not committed all the files yet.
I was also going to suggest using gamin to monitor for new files for an already running etc-proposals. Or at the very least add a Refresh button to the toolbar. The refresh button might be the easiest to implement. _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
Back to top |
|
|
bmichaelsen Veteran
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Thu Mar 08, 2007 3:54 pm Post subject: |
|
|
dol-sen wrote: | I have a very basic plug-in for porthole. In -0.5.0 it works fine in local mode, but I have not been able yet to get it working for an installed (by an ebuild) version. We may have screwed up on the plug-in interface implementation. I need to do more testing. I have also updated the cvs version for the plug-in to work, but have not committed all the files yet. |
I try to find some time to help with the plugin this weekend ...
dol-sen wrote: | I was also going to suggest using gamin to monitor for new files for an already running etc-proposals. Or at the very least add a Refresh button to the toolbar. The refresh button might be the easiest to implement. |
I like to keep etc-proposals as lean'n mean as possible. So something like gamin support should be kept optional. The refresh-button would be easy - actually everything is implemented for that already in the backend - only the button is missing. |
|
Back to top |
|
|
Necoro Veteran
Joined: 18 Dec 2005 Posts: 1912 Location: Germany
|
Posted: Thu Mar 15, 2007 11:09 pm Post subject: |
|
|
So ... (very) basic plugin also in Portato ...
You will find it with the "etcproposals"-useflag and the portato-9999-package _________________ Inter Deum Et Diabolum Semper Musica Est. |
|
Back to top |
|
|
bmichaelsen Veteran
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
|
Back to top |
|
|
Jeremy_Z l33t
Joined: 05 Apr 2004 Posts: 671 Location: Shanghai
|
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Mon Mar 19, 2007 11:04 am Post subject: |
|
|
Man this is so sweet! I plugged this into my script, and it works like a charm, popping up at the end of a long emerge. Thanks! Any idea on when it will be in portage? |
|
Back to top |
|
|
bmichaelsen Veteran
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Mon Mar 19, 2007 11:30 am Post subject: |
|
|
steveL wrote: | Man this is so sweet! I plugged this into my script, and it works like a charm, popping up at the end of a long emerge. Thanks! Any idea on when it will be in portage? |
I will release a new version today, mostly documenting the gtk frontend and code cleanup. I hope this will help get it into the main tree.
https://bugs.gentoo.org/show_bug.cgi?id=155546 |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Mon Mar 19, 2007 12:58 pm Post subject: |
|
|
Yeah I hope so too; I'm currently advising usrs to use it, and my script tells them to install it ;) I won't post to the bug, as that'll prob'y get it spiked lol and then we'd never see it ;) |
|
Back to top |
|
|
bmichaelsen Veteran
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Mon Mar 19, 2007 5:38 pm Post subject: |
|
|
Version 1.1 is out!
minor improvements in version 1.1:
* code cleanup in gtk frontend and in portage_stubs
* added refresh button to the gtk frontend
* added help to the gtk frontend
* added --frontend and --fastexit option to ease to use as a plugin (for example in portage and portato)
* clicking on "Filesystem" in the gtk frontend now shows all updates
* fixed font color to black in the display of changes to keep it readable with "inverted" gtk-themes (thanks, Christian Glindkamp) |
|
Back to top |
|
|
bmichaelsen Veteran
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Tue Mar 20, 2007 10:34 am Post subject: |
|
|
Version 1.1 is in the sunrise overlay. |
|
Back to top |
|
|
bmichaelsen Veteran
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
|
Back to top |
|
|
bmichaelsen Veteran
Joined: 17 Nov 2002 Posts: 1277 Location: Hamburg, Germany
|
Posted: Sun Apr 15, 2007 3:40 pm Post subject: |
|
|
Hi guys,
I just registered a project page for etc-proposals on berlios.de, so there will soon be well-established hosting for the files and a public subversion repository. so the Qt-frontend could be merged into the main project.
Have fun,
Björn |
|
Back to top |
|
|
|