github github
  • Home
  • Pricing and Signup
  • Training
  • Gist
  • Blog
  • Login

shish / shimmie2-utils

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (1)
  • Downloads (0)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Switch Branches (1)
    • master ✓
  • Switch Tags (0)
  • Branch List
Sending Request…

Various utiity scripts for Shimmie2 — Read more

  Cancel

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

return values 
shish (author)
Sun May 16 13:14:45 -0700 2010
commit  c499006099b4d9985df5
tree    4abdc3e722ace2264677
parent  06884a773f4eadcb69ef
shimmie2-utils /
name age
history
message
file README Mon Feb 08 18:13:22 -0800 2010 fix_sizes script [shish]
file cli_import.php Mon Feb 08 18:11:38 -0800 2010 add cli_import script [shish]
file coverage.php Mon Mar 22 21:38:42 -0700 2010 docs [shish]
file create_monolith.php Mon Feb 08 19:30:56 -0800 2010 this might not match anything [shish]
file fix_sizes.php Mon Feb 08 18:13:22 -0800 2010 fix_sizes script [shish]
file hashes1_to_hashes2.php Mon Feb 08 17:55:49 -0800 2010 warehouse maintenance scripts + readme [shish]
file ids_to_hashes2.php Mon Feb 08 17:55:49 -0800 2010 warehouse maintenance scripts + readme [shish]
file init_dev.sh Mon Mar 22 21:35:44 -0700 2010 argh, foreign keys [shish]
file reset_standalone.sh Sun May 16 13:14:45 -0700 2010 return values [shish]
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
Dedicated Server Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
  • Blog
  • Support
  • Training
  • Job Board
  • Shop
  • Contact
  • API
  • Status
  • © 2010 GitHub Inc. All rights reserved.
  • Terms of Service
  • Privacy
  • Security
  • English
  • Deutsch
  • Français
  • 日本語
  • Português (BR)
  • 中文
  • See all available languages

Your current locale selection: English. Choose another?

  • English
  • Afrikaans
  • Català
  • Čeština
  • Deutsch
  • Español
  • Français
  • Hrvatski
  • Indonesia
  • Italiano
  • 日本語
  • Nederlands
  • Norsk
  • Polski
  • Português (BR)
  • Српски
  • Svenska
  • 中文