Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
etc-proposals 1.4.2 in portage (etc-update with Gtk2/Qt4)
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
bmichaelsen
Veteran
Veteran


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

PostPosted: Thu Mar 01, 2007 5:12 pm    Post subject: etc-proposals 1.4.2 in portage (etc-update with Gtk2/Qt4) Reply with quote

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
_________________
etc-proposals, your friendly config file updater!


Last edited by bmichaelsen on Tue Jan 22, 2008 7:05 pm; edited 18 times in total
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 13046
Location: Ste-Foy,Canada

PostPosted: Thu Mar 01, 2007 6:11 pm    Post subject: Reply with quote

Good work :)
_________________
Sysadmin of GentooQuébec.org
Wiki
Signature
IRC on Freenode : #gentoo-quebec
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


Joined: 13 Sep 2006
Posts: 3043
Location: The Peanut Gallery

PostPosted: Mon Mar 05, 2007 5:59 pm    Post subject: Reply with quote

Nice one! The GTK front-end is working fine for me.
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


Joined: 13 Sep 2006
Posts: 3043
Location: The Peanut Gallery

PostPosted: Wed Mar 07, 2007 3:49 pm    Post subject: Reply with quote

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


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

PostPosted: Wed Mar 07, 2007 4:48 pm    Post subject: Reply with quote

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).
_________________
etc-proposals, your friendly config file updater!
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


Joined: 13 Sep 2006
Posts: 3043
Location: The Peanut Gallery

PostPosted: Wed Mar 07, 2007 9:55 pm    Post subject: Reply with quote

Heh, just found it, thanks!

Nice program.
Back to top
View user's profile Send private message
Samoth
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2006
Posts: 117
Location: NJ

PostPosted: Thu Mar 08, 2007 12:06 am    Post subject: Reply with quote

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


Joined: 05 Apr 2004
Posts: 671
Location: Shanghai

PostPosted: Thu Mar 08, 2007 3:41 am    Post subject: Reply with quote

Nice, i might give a try to a QT4 GUI for this when i have time :)
_________________
"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
View user's profile Send private message
steveL
Advocate
Advocate


Joined: 13 Sep 2006
Posts: 3043
Location: The Peanut Gallery

PostPosted: Thu Mar 08, 2007 4:10 am    Post subject: Reply with quote

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


Joined: 04 Nov 2005
Posts: 8045

PostPosted: Thu Mar 08, 2007 8:12 am    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software.
Back to top
View user's profile Send private message
Jeremy_Z
l33t
l33t


Joined: 05 Apr 2004
Posts: 671
Location: Shanghai

PostPosted: Thu Mar 08, 2007 8:36 am    Post subject: Reply with quote

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


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

PostPosted: Thu Mar 08, 2007 9:17 am    Post subject: Reply with quote

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
_________________
etc-proposals, your friendly config file updater!
Back to top
View user's profile Send private message
Samoth
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2006
Posts: 117
Location: NJ

PostPosted: Thu Mar 08, 2007 12:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
dol-sen
Developer
Developer


Joined: 30 Jun 2002
Posts: 2570
Location: Richmond, BC, Canada

PostPosted: Thu Mar 08, 2007 2:56 pm    Post subject: Reply with quote

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


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

PostPosted: Thu Mar 08, 2007 3:54 pm    Post subject: Reply with quote

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.
_________________
etc-proposals, your friendly config file updater!
Back to top
View user's profile Send private message
Necoro
Veteran
Veteran


Joined: 18 Dec 2005
Posts: 1912
Location: München (Germany)

PostPosted: Thu Mar 15, 2007 11:09 pm    Post subject: Reply with quote

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


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

PostPosted: Fri Mar 16, 2007 10:23 am    Post subject: Reply with quote

Erlenmayr wrote a HOWTO with screenies on how to use etc-proposals on the gentoo-wiki:
http://gentoo-wiki.com/HOWTO_etc-proposals
_________________
etc-proposals, your friendly config file updater!
Back to top
View user's profile Send private message
Jeremy_Z
l33t
l33t


Joined: 05 Apr 2004
Posts: 671
Location: Shanghai

PostPosted: Mon Mar 19, 2007 6:00 am    Post subject: Reply with quote

Just started the QT4 front end, should be done within the week.

PS : Actually i got something working http://jeremywick.phpnet.us/etcproposals/

Feel free to comment (this is my first attempt at Qt4)
_________________
"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
View user's profile Send private message
steveL
Advocate
Advocate


Joined: 13 Sep 2006
Posts: 3043
Location: The Peanut Gallery

PostPosted: Mon Mar 19, 2007 11:04 am    Post subject: Reply with quote

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


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

PostPosted: Mon Mar 19, 2007 11:30 am    Post subject: Reply with quote

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.
http://bugs.gentoo.org/show_bug.cgi?id=155546
_________________
etc-proposals, your friendly config file updater!
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


Joined: 13 Sep 2006
Posts: 3043
Location: The Peanut Gallery

PostPosted: Mon Mar 19, 2007 12:58 pm    Post subject: Reply with quote

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


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

PostPosted: Mon Mar 19, 2007 5:38 pm    Post subject: Reply with quote

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)
_________________
etc-proposals, your friendly config file updater!
Back to top
View user's profile Send private message
bmichaelsen
Veteran
Veteran


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

PostPosted: Tue Mar 20, 2007 10:34 am    Post subject: Reply with quote

Version 1.1 is in the sunrise overlay.
_________________
etc-proposals, your friendly config file updater!
Back to top
View user's profile Send private message
bmichaelsen
Veteran
Veteran


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

PostPosted: Thu Apr 05, 2007 9:40 am    Post subject: Reply with quote

Dammit, my server went down in a huge fireball. I hope to find a solution to make the file available again ASAP. Maybe someone else can make the file available elsewhere as an interim solution. To be safe that the tarball you find elsewhere is not molested, here are some checksums:
Code:
e2659e7f652edf824e3da57651b29cfc  /usr/portage/distfiles/etcproposals-1.1.tar.gz (md5sum)
32c3f8cce33f4a8c757752275fcce0f10372f9da  /usr/portage/distfiles/etcproposals-1.1.tar.gz (sha1sum)

http://www.sharebigfile.com/file/133215/etcproposals-1-1-tar-gz.html
http://www.filefactory.com/dlf/f/1e441e/b/2/h/24f2e715541f3afa/j/7337675711
_________________
etc-proposals, your friendly config file updater!
Back to top
View user's profile Send private message
bmichaelsen
Veteran
Veteran


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

PostPosted: Sun Apr 15, 2007 3:40 pm    Post subject: Reply with quote

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
_________________
etc-proposals, your friendly config file updater!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
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