{ "info": { "author": "Tobias Rodaebel", "author_email": "tobias (dot) rodaebel (at) googlemail (dot) com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Buildout", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "====================\nrod.recipe.mongodb\n====================\n\nBuildout recipe for downloading and installing mongoDB. Visit\nhttp://www.mongodb.org for further details on mongoDB.\n\n\nCopyright and license\n=====================\n\nCopyright 2009, 2010, 2011 Tobias Rodaebel\n\nThis software is released under the GNU Lesser General Public License,\nVersion 3.\n\n\nCredits\n=======\n\nThanks to Andreas Jung for provinding a patch to symlink all mongoDB binaries.\n\nThanks to Stephan Hofmockel who contributed a patch for creating a start script\nwith custom command line parameters specified as buildout options.\n\nA brief documentation\n=====================\n\nThis recipe takes a number of options:\n\ndarwin-32bit-url\n The URL to download the 32 bit binary package for the darwin platform.\n\ndarwin-64bit-url\n The URL to download the 64 bit binary package for the darwin platform.\n\nlinux2-32bit-url\n The URL to download the 32 bit binary package for the linux platform.\n\nlinux2-64bit-url\n The URL to download the 64 bit binary package for the linux platform.\n\n(And all options of mongod version v1.6.0 as described below.)\n \n\nTests\n=====\n\nWe will define a buildout template used by the recipe:\n\n >>> buildout_cfg = \"\"\"\n ... [buildout]\n ... parts = mongodb\n ...\n ... [mongodb]\n ... recipe = rod.recipe.mongodb\n ... darwin-32bit-url = http://downloads.mongodb.org/osx/mongodb-osx-i386-1.6.5.tgz\n ... darwin-64bit-url = http://downloads.mongodb.org/osx/mongodb-osx-x86_64-1.6.5.tgz\n ... linux2-32bit-url = http://downloads.mongodb.org/linux/mongodb-linux-i686-1.6.5.tgz\n ... linux2-64bit-url = http://downloads.mongodb.org/linux/mongodb-linux-x86_64-1.6.5.tgz\n ... \"\"\"\n\nWe'll start by creating a buildout:\n\n >>> import os.path\n >>> write('buildout.cfg', buildout_cfg)\n\nRunning the buildout gives us:\n\n >>> output = system(buildout)\n >>> 'rod.recipe.mongodb: downloading mongoDB distribution...' in output\n True\n\nCheck whether the binaries are copied:\n\n >>> set(os.listdir('bin')).issuperset(['mongo', 'mongod', 'mongodump', 'mongoexport', 'mongofiles', 'mongoimport', 'mongorestore', 'mongos', 'mongosniff', 'mongostat'])\n True\n\nA start script with the format 'start_PART-NAME_mongod.sh' should be generated.\n\n >>> 'start_mongodb_mongod.sh' in os.listdir('bin')\n True\n\nIt is possible to change the name of this start script with the 'script_name'\noption. Furthermore all options of mongod (version v1.6.0) are supported via\nbuildout options. A more comprehensive recipe could be for example:\n \n >>> buildout_cfg = \"\"\"\n ... [buildout]\n ... parts = mongodb\n ... [mongodb]\n ... recipe = rod.recipe.mongodb\n ... darwin-32bit-url = http://downloads.mongodb.org/osx/mongodb-osx-i386-1.6.5.tgz\n ... darwin-64bit-url = http://downloads.mongodb.org/osx/mongodb-osx-x86_64-1.6.5.tgz\n ... linux2-32bit-url = http://downloads.mongodb.org/linux/mongodb-linux-i686-1.6.5.tgz\n ... linux2-64bit-url = http://downloads.mongodb.org/linux/mongodb-linux-x86_64-1.6.5.tgz\n ... script_name = start_master.sh\n ... quiet=true\n ... fork=true\n ... logpath=${buildout:parts-directory}/mongodb/log\n ... dbpath=${buildout:parts-directory}/mongodb/data\n ... directoryperdb=true\n ... master=true\n ... update=true\n ... \"\"\"\n\n >>> write('buildout.cfg', buildout_cfg)\n\nRe-running the buildout:\n\n >>> output = system(buildout)\n\nChanges\n=======\n\n1.2.2 2011-01-21\n----------------\n\n - Added buildout option 'update=true/false' to force or prevent updating\n the part.\n\n\n1.2.1 2010-08-11\n----------------\n\n - Added missing command line parameters for Replica Sets (MongoDB 1.6.0).\n\n\n1.2.0 2010-05-16\n----------------\n\n - Creating start script with command line parameters specified as buildout\n options.\n\n\n1.1.4 2010-04-18\n----------------\n\n - Symlinking rather than copying binaries.\n\n\n1.1.0 2010-04-15\n----------------\n\n - Copying all MongoDB binaries into the 'bin' folder of the buildout\n environment (ajung).\n\n\n1.0.1 2009-08-21\n----------------\n\n - Removing part before updating.\n\n\n1.0.0 2009-08-14\n----------------\n\n - Initial release.", "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/rod.recipe.mongodb", "keywords": "mongodb zc.buildout recipe", "license": "LGPL 3", "maintainer": null, "maintainer_email": null, "name": "rod.recipe.mongodb", "package_url": "https://pypi.org/project/rod.recipe.mongodb/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/rod.recipe.mongodb/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/rod.recipe.mongodb" }, "release_url": "https://pypi.org/project/rod.recipe.mongodb/1.2.2/", "requires_dist": null, "requires_python": null, "summary": "ZC Buildout recipe for setting up mongoDB.", "version": "1.2.2" }, "last_serial": 799014, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "d357e431113927a2778f25e92ecb7111", "sha256": "7811d66a213e03f7e5cfd47096a4d9a21fb6f9fac0cfdaae81c8121c45e92aa4" }, "downloads": -1, "filename": "rod.recipe.mongodb-1.0.0-py2.5.egg", "has_sig": false, "md5_digest": "d357e431113927a2778f25e92ecb7111", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 8657, "upload_time": "2009-08-14T14:08:30", "url": "https://files.pythonhosted.org/packages/55/6b/939da4e750c1a11cf7f960ca477106761d7ef038e3d0f9f161ac6984dc01/rod.recipe.mongodb-1.0.0-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "1676439442b7fb334c530a50ecc1136a", "sha256": "7a5a69c47bf86d569a1cd2736d00e96d19b8c7fece7ef66ae4c39deaeaf91f99" }, "downloads": -1, "filename": "rod.recipe.mongodb-1.0.0.tar.gz", "has_sig": false, "md5_digest": "1676439442b7fb334c530a50ecc1136a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8007, "upload_time": "2009-08-14T14:08:45", "url": "https://files.pythonhosted.org/packages/34/1b/8c5bb870a6d27ece7a0decffe3b70f30945490745a596e6dcac532cd16b2/rod.recipe.mongodb-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "592746347f8bb728e5a597ee6a95f8f6", "sha256": "a18bd58c53903046ea3b2f779e901985b8891b72701b6b7be09593c3bb34e828" }, "downloads": -1, "filename": "rod.recipe.mongodb-1.0.1-py2.5.egg", "has_sig": false, "md5_digest": "592746347f8bb728e5a597ee6a95f8f6", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 8816, "upload_time": "2009-08-21T20:10:46", "url": "https://files.pythonhosted.org/packages/49/a7/5fd50f2a038496a8fd8135b4e94b35e20f345ead315d45a221f3b96e847d/rod.recipe.mongodb-1.0.1-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "f3f628deac7f2fbcd0ad1d719f6f0ce5", "sha256": "8057c3d730b3519cbf44d5f2196b7dd3b2ad3cf11f6197a0252439c22fcd791a" }, "downloads": -1, "filename": "rod.recipe.mongodb-1.0.1.tar.gz", "has_sig": false, "md5_digest": "f3f628deac7f2fbcd0ad1d719f6f0ce5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8075, "upload_time": "2009-08-21T20:10:37", "url": "https://files.pythonhosted.org/packages/62/92/7ba217380f98b41c7a258bb37579f9d97e6c7eca0d79eb26692590079ef8/rod.recipe.mongodb-1.0.1.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "96a74c342db7a9e6f6f9da5ced3d52f4", "sha256": "013a42ef6b9e1827bb225725d007758fbad6fc93928e0cbfe51a900e3065110a" }, "downloads": -1, "filename": "rod.recipe.mongodb-1.1.0.tar.gz", "has_sig": false, "md5_digest": "96a74c342db7a9e6f6f9da5ced3d52f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7937, "upload_time": "2010-04-15T11:30:27", "url": "https://files.pythonhosted.org/packages/07/80/37accb6e560d2a7a2c176b99db6add1e442f91d93185a546bd1e6a9e22dd/rod.recipe.mongodb-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "1cea01f3db0e3e389d94c33bf84a0dc7", "sha256": "38f76f0a83e64a3877c02087431586913a1e5900e5f82cbd9c41abed81bc58e4" }, "downloads": -1, "filename": "rod.recipe.mongodb-1.1.1.tar.gz", "has_sig": false, "md5_digest": "1cea01f3db0e3e389d94c33bf84a0dc7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7942, "upload_time": "2010-04-15T11:39:05", "url": "https://files.pythonhosted.org/packages/f2/40/479c44b2b8fa555bf58cb02adb76d0c86fcfcf49c436a474fd7e352b4fea/rod.recipe.mongodb-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "a9977fa0ac11c795a561661739e7f38f", "sha256": "0ffd80a4408ee98707f318eb1d1cf80daf521d5f71ad5970485899447f73f892" }, "downloads": -1, "filename": "rod.recipe.mongodb-1.1.2.tar.gz", "has_sig": false, "md5_digest": "a9977fa0ac11c795a561661739e7f38f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7948, "upload_time": "2010-04-18T12:41:53", "url": "https://files.pythonhosted.org/packages/63/05/ace403075ac8816f556df5d5de103af38df495b661fcda9a1a6c27b4a6ee/rod.recipe.mongodb-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "5c475d40c8198a13b01f784ffb2b5b83", "sha256": "4da513cd9645246972cb7dcbf5c8d64a01eea0e50aa416582003501447cd0424" }, "downloads": -1, "filename": "rod.recipe.mongodb-1.1.3.tar.gz", "has_sig": false, "md5_digest": "5c475d40c8198a13b01f784ffb2b5b83", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8008, "upload_time": "2010-04-18T12:50:30", "url": "https://files.pythonhosted.org/packages/6f/f3/510886f33f1bee124528d3cf9827244d642974cec15ba7246da0cf0006e4/rod.recipe.mongodb-1.1.3.tar.gz" } ], "1.1.4": [ { "comment_text": "", "digests": { "md5": "386de285bd4a050e9893961408a274ec", "sha256": "89881df0dcd7a61554bf6ff7ee6bc659cfa77de78b5706ae19469f43e3dc1077" }, "downloads": -1, "filename": "rod.recipe.mongodb-1.1.4.tar.gz", "has_sig": false, "md5_digest": "386de285bd4a050e9893961408a274ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8005, "upload_time": "2010-04-18T12:52:37", "url": "https://files.pythonhosted.org/packages/d0/ce/6383d41c5ceaa40d10b0f108c2013e6411f8b66ad8f5d1c2bc92e11efb6f/rod.recipe.mongodb-1.1.4.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "275570a6288877987807ad7f3630bac1", "sha256": "70581968ccded76dc1f91e855bee11c91a3421aa378b2b1d52efa09faeed03be" }, "downloads": -1, "filename": "rod.recipe.mongodb-1.2.0.tar.gz", "has_sig": false, "md5_digest": "275570a6288877987807ad7f3630bac1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10053, "upload_time": "2010-05-17T02:52:44", "url": "https://files.pythonhosted.org/packages/24/12/7713292b3b30fae4cfd234678b3841f9b1c29b72f5b0b68eed5a71a844cd/rod.recipe.mongodb-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "a183cac93728a04390e8bc55bf4db311", "sha256": "faf75f496c95e1ee19fe9d1c65a604c0f5730cfd5a0b436a278d8f74e928751a" }, "downloads": -1, "filename": "rod.recipe.mongodb-1.2.1.tar.gz", "has_sig": false, "md5_digest": "a183cac93728a04390e8bc55bf4db311", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9866, "upload_time": "2010-08-11T15:55:54", "url": "https://files.pythonhosted.org/packages/ce/eb/8c797c789c16719b12fbbe1bf25a5f0127215cc56f41c8db658963ce01fe/rod.recipe.mongodb-1.2.1.tar.gz" } ], "1.2.2": [ { "comment_text": "", "digests": { "md5": "65d9548799e0c7d9a4f5884ff9435fa6", "sha256": "2d6b6e0b2090b77455a6d1b42f58b9d3d2a403dde246b0252a749d5a23690f3e" }, "downloads": -1, "filename": "rod.recipe.mongodb-1.2.2.tar.gz", "has_sig": false, "md5_digest": "65d9548799e0c7d9a4f5884ff9435fa6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9932, "upload_time": "2011-01-21T23:38:01", "url": "https://files.pythonhosted.org/packages/ba/6f/cb6871cdf8fc3aa922216fc415e7fc2a7b7a989866bd0b2862d832cc4b65/rod.recipe.mongodb-1.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "65d9548799e0c7d9a4f5884ff9435fa6", "sha256": "2d6b6e0b2090b77455a6d1b42f58b9d3d2a403dde246b0252a749d5a23690f3e" }, "downloads": -1, "filename": "rod.recipe.mongodb-1.2.2.tar.gz", "has_sig": false, "md5_digest": "65d9548799e0c7d9a4f5884ff9435fa6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9932, "upload_time": "2011-01-21T23:38:01", "url": "https://files.pythonhosted.org/packages/ba/6f/cb6871cdf8fc3aa922216fc415e7fc2a7b7a989866bd0b2862d832cc4b65/rod.recipe.mongodb-1.2.2.tar.gz" } ] }