{ "info": { "author": "Suresh V", "author_email": "suresh@grafware.com", "bugtrack_url": null, "classifiers": [ "Framework :: Buildout", "Programming Language :: Python" ], "description": "Introduction\n============\n\n\ncollective.migrator is a buildout based tool to help migrate content between Plone/Zope instances.\nIt can be installed as follows:\n\n ``$ easy_install collective.migrator``\n\n\nOnce installed you can run the tool to set up the migration environment\n\n ``$ migrator``\n\n\nThis creates a folder called *migrator* and installs a buildout environment there. All further actions are run from this folder.\n\nThe first thing that you want to do at this point is customize the *instance.cfg* file.\n\nBy default it looks like this::\n\n [remote]\n host = xxx.webfactional.com\n user = ssh_user\n port = 8080\n extensions = /usr/Plone-2.5.5/zeocluster/client1/Extensions\n zmi_user = admin\n zmi_pwd = admin\n root = Plone\n export = /usr/Plone-2.5.5/zeocluster/client1/var\n \n [local]\n host = localhost\n port = 8080\n extensions = /home/suresh/plone4/parts/instance/Extensions\n zmi_user = admin\n zmi_pwd = admin\n root = Plone\n import = /home/suresh/plone4/var/instance/import\n\n\nThis defines the settings for all the Plone instances involved in the migration.\n\nThe *buildout.cfg* defines the steps that will be executed as part of the migration.\n\nHere is the default content::\n\n [buildout]\n extends = instance.cfg\n migrate_frontpage.cfg\n migrate_users.cfg\n migrate_props.cfg\n parts =\n tbd = \n ${migrate_frontpage:parts}\n ${migrate_users:parts}\n ${migrate_props:parts}\n\n\nAs you can see, *parts* has been intentionally left blank. Also *instance.cfg* described previously is being used here. The other *migrate_*.cfg* files contain some sample steps to move various objects between the instances.\n\nAs a simple test, you can change *parts* in *buildout.cfg* to look like this::\n\n parts = export_frontpage\n\n\nThis step is defined in *migrate_frontpage.cfg*.\n\nNow after you run buildout as follows:\n\n``$ bin/buildout``\n\n\nyou should notice that the front-page object has been exported in the remote Plone instance. Once you gain more confidence in the tool, you can even try to run the other steps found in the *migrate_*.cfg* files.\n\nPS: This may not be the \"coolest\" way to manipulate your Plone and some of these actions may be better done with GenericSetup profiles, but this worked for me!\n\n\nTroubleshooting\n===============\n\nA couple of people have reported the following error::\n\n # migrator\n INFO: Starting migraton.\n Traceback (most recent call last):\n File \"/opt/python/bin/migrator\", line 5, in ?\n from pkg_resources import load_entry_point\n ImportError: No module named pkg_resources \n\nNot sure what causes this, but I suspect a flawed python installation. *virtualenv* is a good tool\nto protect against this situation. The following modified installation procedure can be used in this\ncase::\n\n $ easy_install virtualenv\n $ virtualenv --no-site-packages \n $ . /bin/activate\n $ easy_install -U setuptools\n $ easy_install -U zc.buildout\n $ easy_install collective.migrator\n $ migrator \n\nChangelog\n=========\n\n1.8 (2012-02-22)\n----------------\n\n- Nothing changed yet.\n\n\n1.7 (2012-02-22)\n----------------\n\n- Nothing changed yet.\n\n\n1.6 (2012-02-22)\n----------------\n\n- Allow zmi username/password to be furnished from file as created by UnifiedInstaller\n [sureshvv]\n\n- No install_requires\n [sureshvv]\n\n- Check existence before deleting objects in ZODB\n [sureshvv]\n\n\n1.5 (2011-02-26)\n----------------\n\n- Recipe to generate .objects, .preserve and .properties to facilitate importing content\n [sureshvv]\n\n- Display error message from error log if import fails\n [sureshvv]\n\n- Enable/Disable link check integrity\n [sureshvv]\n\n- Allow url quoting in filenames for copy_file for allowing blanks etc.\n [sureshvv]\n\n- Allow bad characters in filenames, like ~, (, ) etc.\n [sureshvv]\n\n- Add tests\n [sureshvv]\n\n\n1.4 (2010-11-27)\n----------------\n\n- Added pack_db recipe\n [sureshvv]\n\n- enable_link_integrity_checks can be toggled\n [sureshvv]\n\n- bug fix in export\n [sureshvv]\n\n- Troubleshooting section in README.txt\n [sureshvv]\n\n- put back install_requires. Too many problems in the wild.\n [sureshvv]\n\n\n1.3 (2010-10-25)\n----------------\n\n- Removed migrate_blogs reference (Thanks to Marcelo Zabaljauregui)\n [sureshvv]\n\n\n1.2 (2010-08-11)\n----------------\n\n- dump error log on failures\n [sureshvv]\n\n- No install_requires\n [sureshvv]\n\n- Allow looping for external method\n [sureshvv]\n\n- New recipe to post to a url\n [sureshvv]\n\n- New scripts for action, site config\n [sureshvv]\n\n- Remove zexp file after import\n [sureshvv]\n\n\n1.1 (2010-06-17)\n----------------\n\n- Allow arguments to be passed to external methods\n [sureshvv]\n\n- Split scripts into cohesive units\n [sureshvv]\n\n- Added documentation in README.txt\n [sureshvv]\n\n1.0 (2010-06-16)\n----------------\n\n- Initial release\n [sureshvv]", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://plone.org/products/collective.migrator", "keywords": "buildout recipe zope plone content migration", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "collective.migrator", "package_url": "https://pypi.org/project/collective.migrator/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.migrator/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://plone.org/products/collective.migrator" }, "release_url": "https://pypi.org/project/collective.migrator/1.8/", "requires_dist": null, "requires_python": null, "summary": "Tool and buildout recipes for zope/plone content migration", "version": "1.8" }, "last_serial": 787967, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "104108d21fd47322fdee2210ad64d983", "sha256": "641129474361e3787282fb9cd97d42157cfcc04c97edb381bcc856c60d8c00d3" }, "downloads": -1, "filename": "collective.migrator-1.0.tar.gz", "has_sig": false, "md5_digest": "104108d21fd47322fdee2210ad64d983", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5963, "upload_time": "2010-06-16T16:16:22", "url": "https://files.pythonhosted.org/packages/00/47/b76d3da2409d71df944d77de1886edef76efc4db790faf981f6d9b5988b9/collective.migrator-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "e371bb54e7dbf87741d3df6f2971922f", "sha256": "497005acf6ace4848bedef1856e481f8e2d0ae772fb6d18c9e4d19ce3c1618f6" }, "downloads": -1, "filename": "collective.migrator-1.1.tar.gz", "has_sig": false, "md5_digest": "e371bb54e7dbf87741d3df6f2971922f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7962, "upload_time": "2010-06-17T12:40:50", "url": "https://files.pythonhosted.org/packages/c5/fc/d75696404ce5e01fc7f4b6f4c60353140f7ce75c4e00b0eb0b65fef0639e/collective.migrator-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "e1850c90539284735ea6befa72d4f1d3", "sha256": "f2e5bb71ee3ff9b77d251d2dc1f99b31ae072b4b6a21a734b36a8441232df7e3" }, "downloads": -1, "filename": "collective.migrator-1.2.tar.gz", "has_sig": false, "md5_digest": "e1850c90539284735ea6befa72d4f1d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14514, "upload_time": "2010-08-11T09:52:37", "url": "https://files.pythonhosted.org/packages/c6/4b/76449faf6c3fc928fe862361238823599c6a368f2a3348f39830b3981044/collective.migrator-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "22bccb6faea2844fadde980e91b23643", "sha256": "c8009829ec6f16e9532ad2e3b23dd893ed57a0ee29a962639328b4858e6c9258" }, "downloads": -1, "filename": "collective.migrator-1.3.tar.gz", "has_sig": false, "md5_digest": "22bccb6faea2844fadde980e91b23643", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14676, "upload_time": "2010-10-25T20:03:09", "url": "https://files.pythonhosted.org/packages/6f/b0/dfe7df76ff845cc7f6981e211b41617535b6c29ee61232ff1d8b33cf8375/collective.migrator-1.3.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "367de191b0779f90bf62259f89c87317", "sha256": "e385c9c378d38923964ebcd89dfe23a910c16e91cd45e7b2087c937dc666e9a3" }, "downloads": -1, "filename": "collective.migrator-1.4.tar.gz", "has_sig": false, "md5_digest": "367de191b0779f90bf62259f89c87317", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15780, "upload_time": "2010-11-27T04:40:43", "url": "https://files.pythonhosted.org/packages/a9/ca/b21fb550e5c6279b05fd7e222443d78c8cf4ab2d884cd3b45214327a1349/collective.migrator-1.4.tar.gz" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "dd8eda03e87185e39503f0f032a8de0f", "sha256": "e81ae5cdebdc6107e67651a8fc41f07d97e1be01f7f14925d0544b9a4a76b603" }, "downloads": -1, "filename": "collective.migrator-1.5.tar.gz", "has_sig": false, "md5_digest": "dd8eda03e87185e39503f0f032a8de0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17549, "upload_time": "2011-02-26T03:56:01", "url": "https://files.pythonhosted.org/packages/1d/d0/189b684d163a8a8d0aac75ce14d5cf290e526061840257c1f2eb485edac3/collective.migrator-1.5.tar.gz" } ], "1.8": [ { "comment_text": "", "digests": { "md5": "f9ecbb3cc7f784488581073d491d80df", "sha256": "e4c7a6b2f888c09a29bf94a6bf17dce8a9662a6b0d9476ffa31ca1915af6979a" }, "downloads": -1, "filename": "collective.migrator-1.8.tar.gz", "has_sig": false, "md5_digest": "f9ecbb3cc7f784488581073d491d80df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19320, "upload_time": "2012-02-22T18:11:27", "url": "https://files.pythonhosted.org/packages/0c/1f/79e28f5f345b77fd4bdc04622e1d7597925a6c149475df33d04acc631724/collective.migrator-1.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f9ecbb3cc7f784488581073d491d80df", "sha256": "e4c7a6b2f888c09a29bf94a6bf17dce8a9662a6b0d9476ffa31ca1915af6979a" }, "downloads": -1, "filename": "collective.migrator-1.8.tar.gz", "has_sig": false, "md5_digest": "f9ecbb3cc7f784488581073d491d80df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19320, "upload_time": "2012-02-22T18:11:27", "url": "https://files.pythonhosted.org/packages/0c/1f/79e28f5f345b77fd4bdc04622e1d7597925a6c149475df33d04acc631724/collective.migrator-1.8.tar.gz" } ] }