Topic: Python Update-Gallery Script Created
For those of you who have access to python on your web hosts, I wrote (and tested!) a script today that does batch updating of /jbcore/ directories when a new version of Juicebox is released. (See "Upgrading Existing Galleries" at http://www.juicebox.net/support/#upgrade-version for a discussion of this method.)
So, the gist of the process:
- You copy the /jbcore/ of the new release somewhere on your server.
- You change a couple of lines in the script, telling it where that new folder is and where your www files are.
- The script goes through that specified outer directory, and updates all the /jbcore/ directories (and subdirectories) it can find.
I did about 50 drag-n-drop moves after the first upgrade, and didn't want to go through that again. This works for me, and if you want it, it's here: http://www.billanddot.com/jbcore-updater.py
(I'm not sure this is the proper spot to post this, so move it if you like.)
Cheers,
Bill