Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Various utility scripts for Shimmie2
PHP Shell
tree: 1379a0c738

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README
check_for_orphan_files.php
cli_import.php
clink1_to_clink2.php
coverage.php
create_monolith_2.2.php
create_monolith_2.4.php
fix_sizes.php
hashes1_to_hashes2.php
ids_to_hashes2.php
init.sh
reset.sh
reset_image_ids.php
shimtest.nginx.conf
shimtest.php-fpm.conf
zlibcat.php

README

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
Something went wrong with that request. Please try again.