Skip to content

shish/shimmie2-utils

Repository files navigation

create_monolith.php
~~~~~~~~~~~~~~~~~~~
run from the root of a shimmie install; it will output monolith.php, a single
file containing all shimmie code and active extensions (but not /lib/*); it will
also have comments stripped and various static optimisations applied.

ids_to_hashes2.php
~~~~~~~~~~~~~~~~~~
convert shimmie1 style "images/123.jpg" to shimmie2 style "images/24/24a7b..."

hashes1_to_hashes2.php
~~~~~~~~~~~~~~~~~~~~~~
convert shimmie2-beta style "images/bl/blah.jpg" to "images/bl/blah"

init_dev.sh
~~~~~~~~~~~
creates a tree of installations suitable for unit testing (one install for
each combination of stable/dev and mysql/pgsql/sqlite, with wipe-and-reinstall
scripts to clean up after testing)

fix_sizes.php
~~~~~~~~~~~~~
Fix the database in cases where the height/width/filesize were listed as zero

cli_import.php [OLD]
~~~~~~~~~~~~~~~~~~~~
Like the "bulk add" extension, but works from the command line.
- Last updated in the 2.1 era, won't work with current versions, but might be
  useful as a base if anyone wants to create an updated version

About

Various utility scripts for Shimmie2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published