{ "info": { "author": "kiorky", "author_email": "kiorky@cryptelium.net", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python", "Topic :: Software Development" ], "description": "Introduction\n============\n\nThis provide a script ``cg.devmode`` which can do some actions on a zope instance.\n\nThe main use is when you grab the production datafs, you 'll need to sanitize the content a little.\nThe sanitization include changing all passwords and all emails at once.\n\nAnother use is for running scripts without any security (we just give us all rights ;))\n\n.. contents::\n\n- Svn : http://svn.plone.org/svn/collective/collective.generic.devmode/trunk/\n- Developement supported by : `Makina Corpus `_ \n\nCredits\n======================================\n|makinacom|_\n\n* `Planet Makina Corpus `_\n* `Contact us `_\n\n.. |makinacom| image:: http://depot.makina-corpus.org/public/logo.gif\n.. _makinacom: http://www.makina-corpus.com\n\n\n\n\nActions & usage\n==================\n\nChanging all email for all users:\n-------------------------------------\n::\n\n ./bin/cg.devmode -m --mail=some@mail.foo\n\nChanging all passwords\n------------------------------\n::\n\n ./bin/cg.devmode -p --password=secret\n\nChanging the administrator password\n-----------------------------------------\n::\n\n ./bin/cg.devmode -a --password=secret\n\n\n\nRunning a script with all security stuff removed\n---------------------------------------------------\n::\n\n ./bin/cg.devmode -r --script= [--script-args=\"String\"] # equivalent of ./bin/instance run toto.py String except for security\n\n\nModifiers\n============\n\nRunning with debug\n-----------------------\n::\n\n ./bin/cg.devmode -v [ARGS]\n\n\nGiving an alternative zope configuration file\n--------------------------------------------------\n::\n\n ./bin/cg.devmode -c \n\nSpecifying the plone site id\n--------------------------------\n::\n\n ./bin/cg.devmode -l \n\nSpecifying the admin user\n------------------------------\n::\n\n ./bin/cg.devmode --user \n\n\n\n\n\ncollective.generic.devmode Installation\n=================================================================================\n\nTo install collective.generic.devmode into the global Python environment (or a workingenv),\nusing a traditional Zope 2 instance, you can do this:\n\n * When you're reading this you have probably already run ::\n\n ``easy_install collective.generic.devmode``.\n\n Find out how to install setuptools (and EasyInstall) here: http://peak.telecommunity.com/DevCenter/EasyInstall\n\n * If you are using Zope 2.9 (not 2.10), get `pythonproducts`_ and install it\n via::\n\n python setup.py install --home /path/to/instance\n\n into your Zope instance.\n\n.. _pythonproducts: http://plone.org/products/pythonproducts\n\n\nAlternatively, if you are using zc.buildout and the plone.recipe.zope2instance\nrecipe to manage your project, you can do this:\n\n * Add ``collective.generic.devmode`` to the list of eggs to install, e.g.::\n\n [buildout]\n parts=\n ...\n cg.devmode\n ...\n [cg.devmode]\n recipe=minitage.recipe.scripts\n eggs=${instance:eggs}\n collective.generic.devmode\n scripts=cg.devmode\n extra-paths = ${instance:extra-paths} \n # in an oldschool zope2 install, zope2home/lib/python must be in extra-paths!\n\n * Re-run buildout, e.g. with::\n\n $ ./bin/buildout\n\n\n\nChangelog\n=========\n\n1.0 - 2010-04-12\n----------------\n\n* Initial release [kiorky]", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/collective.generic.devmode", "keywords": "", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "collective.generic.devmode", "package_url": "https://pypi.org/project/collective.generic.devmode/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.generic.devmode/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/collective.generic.devmode" }, "release_url": "https://pypi.org/project/collective.generic.devmode/1.0/", "requires_dist": null, "requires_python": null, "summary": "Sanitize a plone site for development use by Makina Corpus.", "version": "1.0" }, "last_serial": 787809, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "3a7ecfd97715f61ad07126483b534f1c", "sha256": "c92ad0e89f96ec65f4687ebbe40058c89ede51e2247f29a25953ad92fa85b2c0" }, "downloads": -1, "filename": "collective.generic.devmode-1.0.zip", "has_sig": false, "md5_digest": "3a7ecfd97715f61ad07126483b534f1c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27712, "upload_time": "2010-04-12T01:03:05", "url": "https://files.pythonhosted.org/packages/6b/34/88515dcc8c92b1f86526afff66d31a0316fca671806bba258ab49c3b134b/collective.generic.devmode-1.0.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3a7ecfd97715f61ad07126483b534f1c", "sha256": "c92ad0e89f96ec65f4687ebbe40058c89ede51e2247f29a25953ad92fa85b2c0" }, "downloads": -1, "filename": "collective.generic.devmode-1.0.zip", "has_sig": false, "md5_digest": "3a7ecfd97715f61ad07126483b534f1c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27712, "upload_time": "2010-04-12T01:03:05", "url": "https://files.pythonhosted.org/packages/6b/34/88515dcc8c92b1f86526afff66d31a0316fca671806bba258ab49c3b134b/collective.generic.devmode-1.0.zip" } ] }