I sent a patch off to Thom for review. If anyone wanted to test in the meantime, I would be grateful. I've attached a patch for 0810, but if someone with 0710 wants to test, let me know and I can probably produce some binaries for you.
Here are a couple screencaps of the front-end (hey, I said I was no php guy
):
http://i44.tinypic.com/96gjk5.jpghttp://i44.tinypic.com/15x7ple.jpghttp://i43.tinypic.com/eb53q1.jpgHere is some more information for anyone wanting to try the patch:
This code depends on libpcrecpp. Install it with 'apt-get install
libpcrecpp0'
The basic structure of the changes is:
- src/AutoTag - this produces libAutoTag.so and the AutoTag
standalone. This handles managing rules and provides 'run rules now'
functionality.
- src/UpdateMedia - I integrated libAutoTag.so here to automatically
tag newly-added files only.
- web/lmce-admin - A couple new screens for managing rules and
restoring backups
After patching, you should just need to (1) 'make && make install' in
AutoTag, (2) 'make' in UpdateMedia, (3) deploy the new UpdateMedia to /usr/pluto/bin (backup the old one first), (4)
deploy the lmce-admin updates.