Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Various utility scripts for Shimmie2
PHP Shell
branch: master
Failed to load latest commit information.
README fix_sizes script
check_for_orphan_files.php extra functions
cli_import.php add cli_import script
clink1_to_clink2.php
coverage.php better averages, and use a gradient of colours rather than static red…
create_monolith_2.2.php monolithing scripts
create_monolith_2.4.php updates to keep create_monolith in sync
fix_sizes.php fix_sizes script
hashes1_to_hashes2.php
ids_to_hashes2.php warehouse maintenance scripts + readme
init.sh clone shimmie2-utils, in case init.sh was downloaded alone
reset.sh another slash...
reset_image_ids.php extra functions
shimtest.nginx.conf Updated nginx rewrite rules
shimtest.php-fpm.conf tweaks
zlibcat.php extra functions

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.