This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description


This provide a script cg.devmode which can do some actions on a zope instance.

The main use is when you grab the production datafs, you ‘ll need to sanitize the content a little. The sanitization include changing all passwords and all emails at once.

Another use is for running scripts without any security (we just give us all rights ;))

Actions & usage

Changing all email for all users:

./bin/cg.devmode -m

Changing all passwords

./bin/cg.devmode -p  --password=secret

Changing the administrator password

./bin/cg.devmode -a  --password=secret

Running a script with all security stuff removed

./bin/cg.devmode -r --script=</path/to/>  [--script-args="String"] # equivalent of ./bin/instance run String except for security


Running with debug

./bin/cg.devmode -v [ARGS]

Giving an alternative zope configuration file

./bin/cg.devmode -c <CONFIGGILE>

Specifying the plone site id

./bin/cg.devmode -l <PLONE_SITE_ID>

Specifying the admin user

./bin/cg.devmode --user <ADMIN_USER>

collective.generic.devmode Installation

To install collective.generic.devmode into the global Python environment (or a workingenv), using a traditional Zope 2 instance, you can do this:

  • When you’re reading this you have probably already run

    ``easy_install collective.generic.devmode``.

    Find out how to install setuptools (and EasyInstall) here:

  • If you are using Zope 2.9 (not 2.10), get pythonproducts and install it via:

    python install --home /path/to/instance

    into your Zope instance.

Alternatively, if you are using zc.buildout and the plone.recipe.zope2instance recipe to manage your project, you can do this:

  • Add collective.generic.devmode to the list of eggs to install, e.g.:

    extra-paths = ${instance:extra-paths}
    # in an oldschool zope2 install, zope2home/lib/python must be in extra-paths!
  • Re-run buildout, e.g. with:

    $ ./bin/buildout


1.0 - 2010-04-12

  • Initial release [kiorky]
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date (27.7 kB) Copy SHA256 Checksum SHA256 Source Apr 12, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting