On 10/12/13 17:04, Tomáš Kašpárek wrote:
> That thing would be appreciated.
>
It is available here:
https://github.com/dmacvicar/spacewalk-ui-porting

It uses jruby. I run latest jruby using rbenv:
https://github.com/sstephenson/rbenv

Once you rbenv shell jruby-1.7.x, you can do gem install bundler &&
bundle install to get
the ruby dependencies and then run it from the source tree as
bin/spacewalk-html-clean.

Refactorings are implemented by adding some hooks to a class. They
register automatically with the CLI.
You can look at
https://github.com/dmacvicar/spacewalk-ui-porting/blob/master/lib/spacewalk_html_clean/commands/images_to_icons.rb
as an starting point.

The tool outputs a diff. So you can examine it before applying/commiting.

I can help you implementing the transform but it will take me some days
(still have some stuff on my plate).

Duncan


_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to