NAME

krang_floodfill - create fake Krang data the easy way


SYNOPSIS

  krang_floodfill --sites 5 --cats 10


DESCRIPTION

This script creates fake Krang data for use during testing. It uses the Krang's dict file in t/dict/words.ascii to generate filenames and t/dict/words.latin1 to generate random text. The latter dictionary is a mixture of English, French, German, Italian, Spanish and Portuguese word lists coming with Debian Etch.

If the Charset directive is set to 'utf-8', the words from t/dict/words.latin1 will be UTF-8 encoded.

Stories and media created will be checked in after being created. Templates will be checked in and deployed.


OPTIONS

  --sites    - number of sites to create, defaults to 3
  --cats     - number of categories to create, defaults to 15
  --contribs - number of contributors to create, defaults to 50
  --media    - number of media objects to create, defaults to 25
  --stories  - number of stories to create, defaults to 50
  --covers   - number of cover stories to create, defaults to (--cats/2)
               (must be less than the number of categories)
  --templates- whether or not to create templates (one per element). 
               Defaults to 1.
  --users    - number of users to create, defaults to 50
  --undo_script - set to the name of a perl script to generate which will 
               undo the floodfill by deleting generated content.  Defaults
               to not create an undo script.