On Fri, 2010-03-12 at 12:16 +0100, Martin Sourada wrote:
Hi all,
I've finished initial design of the gtk version of echo-icon-add script. It is half working -- you can select where to add it to, what icon to add (it checks the icon beforehand), it allows you to select component (combo box) and branches (list supporting multi-selection) to which you'd like to push it to and a checkbox to tick whether you also want to push it to fedorahosted or do the changes only localy. However, the "Add" button currently only prints the selected options to the terminal (for testing purposes) instead of actually committing the icon to git.
It would be nice if you could test the so far implemented functionality and report back if it's easy and effective to use and any bugs you run into (as well as suggestions).
First you'll need git version of icon artist (I needed to do some coding there to allow proper error and warnings handling during icon check): http://mso.fedorapeople.org/packages/RPMS/noarch/ruby-icon-artist-0.1.93-0.1...
Then save the attached script, chmod +x it and run it from terminal and start testing. Note that you'll need a local copy of the echo git repo (preferably in ~/Projects/echo-icon-theme/git), otherwise it refuses to start ;-)
I also attach a screenshot.
I've updated the script a little to save your git repo path as well as the push_to_git checkbox state. It saves the settings in ~/.config/echo-artist/settings.xml (xml because ruby has convenient library to handle xml files :D).
Testing and feedback welcome, updated script attached.
Thanks, Martin