{ "info": { "author": "Peter Bengtsson", "author_email": "mail@peterbe.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: Implementation :: CPython" ], "description": "# kuma-deployer\n\nIn the ancient times of roaming saber tooth tigers and the smog over London\nhanging deep there was a time the poor serfs of Kuma had to trudge through\n[https://kuma.readthedocs.io/en/latest/deploy.html](https://kuma.readthedocs.io/en/latest/deploy.html)\nlike some Kafkaesque slave of the man. That was then. This is now.\n\nEverything that can be automated in the Kuma deploy process is scripted here.\n\n## Limitations and caveats\n\n**Hopefully, all temporary limitations and caveats.**\n\nThere are some things that are hard to do such as pulling information out of Jenkins\nsince it requires authentication and VPN.\n\nThe other thing is that all the current commands are independent and users need to\nknow which order to run them. Ideally, it should all be wrapped up into one single\ncommand but that's a little bit tricky since it requires waiting and external\nchecking.\n\n## Getting started\n\nYou'll need a GitHub access token.\nGo to [github.com/settings/tokens](https://github.com/settings/tokens) and create a token,\ncopy and paste it into your `.env` file or use `export`. E.g.\n\n cat .env\n GITHUB_ACCESS_TOKEN=a36f6736...\n\n pip install kuma-deployer\n kuma-deployer --help\n\nIf you don't use a `.env` file you can use:\n\n GITHUB_ACCESS_TOKEN=a36f6736... kuma-deployer --help\n\nNOTE! The `.env` file (with the `GITHUB_ACCESS_TOKEN`) needs to be in the\n_current working directory_. I.e. where you are when you run `kuma-deployer`. So\nnot necessarily where your `kuma` directory is (if these two are different).\n\n## Goal\n\nThe goal is that you simply install this script and type `kuma-deploy` and sit\nback and relax and with a bit of luck MDN is fully upgraded, deployment, and enabled.\n\n## Contributing\n\nClone this repo then run:\n\n pip install -e \".[dev]\"\n\nThat should have installed the CLI `kuma-deployer`\n\n kuma-deployer --help\n\nIf you wanna make a PR, make sure it's formatted with `black` and passes `flake8`.\n\nYou can check that all files are `flake8` fine by running:\n\n flake8 deployer\n\nAnd to check that all files are formatted according to `black` run:\n\n black --check deployer\n\nAll of the code style stuff can be simplified by installing `therapist`. It should\nget installed by default, but setting it up as a `git` `pre-commit` hook is optional.\nHere's how you set it up once:\n\n therapist install\n\nNow, next time you try to commit a `.py` file with a `black` or `flake8` violation\nit will remind you and block the commit. You can override it like this:\n\n git commit -a -m \"I know what I'm doing\"\n\nTo run _all_ code style and lint checkers you can also use `therapist` with:\n\n therapist run --use-tracked-files\n\nSome things can't be automatically fixed, but `black` violations can for example:\n\n therapist run --use-tracked-files --fix\n\n## Contributing and using\n\nIf you like to use the globally installed executable `kuma-deployer` but don't want\nto depend on a new PyPI release for every change you want to try, use this:\n\n # If you use a virtualenv, deactivate it first\n deactive\n # Use the global pip (or pip3) on your system\n pip3 install -e .\n\nIf you do this, you can use this repo to install in your system.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mdn/kuma-deployer", "keywords": "git github submodule", "license": "MPL 2.0", "maintainer": "", "maintainer_email": "", "name": "kuma-deployer", "package_url": "https://pypi.org/project/kuma-deployer/", "platform": "", "project_url": "https://pypi.org/project/kuma-deployer/", "project_urls": { "Homepage": "https://github.com/mdn/kuma-deployer" }, "release_url": "https://pypi.org/project/kuma-deployer/0.2.6/", "requires_dist": [ "GitPython", "click", "PyGithub", "python-decouple", "requests", "black (==19.3b0) ; extra == 'dev'", "flake8 (==3.7.8) ; extra == 'dev'", "therapist ; extra == 'dev'" ], "requires_python": "", "summary": "https://kuma.readthedocs.io/en/latest/deploy.html as a script", "version": "0.2.6" }, "last_serial": 5777656, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "daec5df381b72fc337044a48a7f4b8ea", "sha256": "983eb4ef54436b6a2edbed4bf928d42f8df599ba850efafd8712f6fedfff096d" }, "downloads": -1, "filename": "kuma_deployer-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "daec5df381b72fc337044a48a7f4b8ea", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13365, "upload_time": "2019-08-16T15:56:59", "url": "https://files.pythonhosted.org/packages/ab/46/f6902a07f5e174861b75c2e23d09f8cc897b1f9c574507c2a9ab6bf59b3e/kuma_deployer-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "099ef14335fd28725ee770f29a5e3ec4", "sha256": "0869e1d22c289edaba8527929c79cb50ab707a42a0c72a61cd294740442b600d" }, "downloads": -1, "filename": "kuma-deployer-0.0.1.tar.gz", "has_sig": false, "md5_digest": "099ef14335fd28725ee770f29a5e3ec4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7826, "upload_time": "2019-08-16T15:57:02", "url": "https://files.pythonhosted.org/packages/21/bd/8ae6ec5c7ab8cfb3b77723acd73b078a5ad03d154535a53a0aa293f520ad/kuma-deployer-0.0.1.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "df35b8c61a05631855d6b8d6dfe636ef", "sha256": "84185d474c847c402a68f0c67bfcd6fd7b7e1f68531d7542104b5069fc642cc4" }, "downloads": -1, "filename": "kuma_deployer-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "df35b8c61a05631855d6b8d6dfe636ef", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15047, "upload_time": "2019-09-03T10:28:15", "url": "https://files.pythonhosted.org/packages/f5/0e/14d74f593602655a4459465454576788e0c32e79fc2b73eda31e451896b2/kuma_deployer-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "722fdb1264c9ba61bbcb13169e1b55ee", "sha256": "f1d035015371c08b4f8ed0f5bb36782ca58fca6ef7fb910d4b06fb6d6437a57a" }, "downloads": -1, "filename": "kuma-deployer-0.1.0.tar.gz", "has_sig": false, "md5_digest": "722fdb1264c9ba61bbcb13169e1b55ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10586, "upload_time": "2019-09-03T10:28:16", "url": "https://files.pythonhosted.org/packages/23/bf/c30784d353fa440c90843d9a787f04795fbff4a43e3e90989230617ea200/kuma-deployer-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "d5cb5e0e1058fcd8554bb57886c9e56c", "sha256": "1830bcb457da56902e9844e029f0ad801a777f5c3cecd49daa7a0661c2a01faf" }, "downloads": -1, "filename": "kuma_deployer-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d5cb5e0e1058fcd8554bb57886c9e56c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15869, "upload_time": "2019-09-03T11:03:28", "url": "https://files.pythonhosted.org/packages/11/15/609df7fce7a9b4cf68ab38e93ecd874080d7d028b42008ea605b55419b16/kuma_deployer-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5fa454cdac62606824b043c9c2318f71", "sha256": "f750fcb7a2c2291ccba29271481618c7e2f52ae77d53805eda83d881c7f1b6a4" }, "downloads": -1, "filename": "kuma-deployer-0.2.0.tar.gz", "has_sig": false, "md5_digest": "5fa454cdac62606824b043c9c2318f71", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10878, "upload_time": "2019-09-03T11:03:30", "url": "https://files.pythonhosted.org/packages/d3/04/66e4aff935bcaf30f288a9a9f218817628fc84b432ee9002ad74a80b1450/kuma-deployer-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "bc21e96442b39ee6d113e8ee97cb6972", "sha256": "7b0b4339e7ced5babb7583f8a8f27da24e6211ca0e15e8ecc591d0b87932e044" }, "downloads": -1, "filename": "kuma_deployer-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "bc21e96442b39ee6d113e8ee97cb6972", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 16072, "upload_time": "2019-09-03T11:16:05", "url": "https://files.pythonhosted.org/packages/12/90/08c6731dfd0c54ac3031b73d331e6b7354bfe43fc58a9b0a6dc788f30d70/kuma_deployer-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cd05b1ac593cafffac4c20562bdec773", "sha256": "08b287991899312d6dc4e8b6520e9a197d5c21e6bc8ed4680cd084ff49d56814" }, "downloads": -1, "filename": "kuma-deployer-0.2.1.tar.gz", "has_sig": false, "md5_digest": "cd05b1ac593cafffac4c20562bdec773", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11337, "upload_time": "2019-09-03T11:16:07", "url": "https://files.pythonhosted.org/packages/52/26/758acf314af342bce55df98b8f235d9bb92d7016db04462aa0cfed3c3c66/kuma-deployer-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "77a4ffaf1070978fc6684a51fe27eb03", "sha256": "369721f8938281f6fc9d065d11d492e2a0d7b4a7601f31a73cf2f764a0173b52" }, "downloads": -1, "filename": "kuma_deployer-0.2.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "77a4ffaf1070978fc6684a51fe27eb03", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 16201, "upload_time": "2019-09-03T11:35:11", "url": "https://files.pythonhosted.org/packages/85/0c/1892bd777b36d497da659afbcc00138b8bcd22d8ab657a781517cd24deab/kuma_deployer-0.2.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "65c8ec02e0338040ded1f402912fd6d4", "sha256": "176cfd345b4f15877a5e39fbdbdb1df1820376b829c9b25f12cc5f7919bd2cf4" }, "downloads": -1, "filename": "kuma-deployer-0.2.2.tar.gz", "has_sig": false, "md5_digest": "65c8ec02e0338040ded1f402912fd6d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11490, "upload_time": "2019-09-03T11:35:12", "url": "https://files.pythonhosted.org/packages/72/d5/88ab8d64518cc432ec64030c8df581a0f112ea771908e55ccb6efa232a51/kuma-deployer-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "51c7d4741c931efb227143ba2554af63", "sha256": "c21268f1d4c50b4d90f5c3235a9bd69ba9a485f58e647bcbab97bb87b8c76f9a" }, "downloads": -1, "filename": "kuma_deployer-0.2.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "51c7d4741c931efb227143ba2554af63", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 16295, "upload_time": "2019-09-03T11:58:14", "url": "https://files.pythonhosted.org/packages/5e/df/46e298631790af7ffb02d15eb606d3f1955bbb60f17067d0faaf9d762e29/kuma_deployer-0.2.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "68d58f5f703e22f65f16796f6b568b7e", "sha256": "213b515bc82f7e18ffcd55c6b0563afbcb5a8dec444f6e2bd2d377e51f02c3fb" }, "downloads": -1, "filename": "kuma-deployer-0.2.3.tar.gz", "has_sig": false, "md5_digest": "68d58f5f703e22f65f16796f6b568b7e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11588, "upload_time": "2019-09-03T11:58:16", "url": "https://files.pythonhosted.org/packages/9e/b0/8879247712f3018672bb9b3b5b8b4456af98a271d54ab523b8a5c6f89a67/kuma-deployer-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "794c0cbcd810465ebdc3451687ac0451", "sha256": "b61407a54b8e76fddf6b8be4259bb2182d245e58f71bb68b3a274cae52bf7f7c" }, "downloads": -1, "filename": "kuma_deployer-0.2.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "794c0cbcd810465ebdc3451687ac0451", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 16303, "upload_time": "2019-09-03T12:25:29", "url": "https://files.pythonhosted.org/packages/ea/f8/8aaf0d4495672c847dec9cea755d8e91989de37533674b6fbd3ba29166e6/kuma_deployer-0.2.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b0463ac299e75c92cc2eb695b6fa7ff1", "sha256": "823959241518882f773bed3af9fdb841d0e8e18c3cfe567365d04148f49dcf1a" }, "downloads": -1, "filename": "kuma-deployer-0.2.4.tar.gz", "has_sig": false, "md5_digest": "b0463ac299e75c92cc2eb695b6fa7ff1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11601, "upload_time": "2019-09-03T12:25:30", "url": "https://files.pythonhosted.org/packages/84/ae/23fc6810f23236cac3bfb304ee7b2e2a71251eaa25e9f9709a6be7d4f092/kuma-deployer-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "c08319450d3a0f1e638e96387468d63b", "sha256": "704517a8817b4928b6c43f87b43cff22c0c2cdb2f65850f765b6653a5b8bc289" }, "downloads": -1, "filename": "kuma_deployer-0.2.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c08319450d3a0f1e638e96387468d63b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 16819, "upload_time": "2019-09-03T14:05:29", "url": "https://files.pythonhosted.org/packages/45/74/19196b51e1bd9aced2137cc1625607af72c35733da04dcfc08ec00848000/kuma_deployer-0.2.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5b21e2301409c87a4fe64343159c6eb1", "sha256": "f0a66a29bb53c4d43e7537fc6d87be449cd1f28887b585b0546f903cecb76e3e" }, "downloads": -1, "filename": "kuma-deployer-0.2.5.tar.gz", "has_sig": false, "md5_digest": "5b21e2301409c87a4fe64343159c6eb1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12176, "upload_time": "2019-09-03T14:05:30", "url": "https://files.pythonhosted.org/packages/9c/43/255499fd69f222b1482ff84ab28253855eb9a928b18692ad1ae22c84056f/kuma-deployer-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "d6f533934c57dcd5680162e203b7cf6e", "sha256": "4c0f8d5c8aceb609a2994cb17854313eea52a9c73b13d18ae2cf4edec41c417b" }, "downloads": -1, "filename": "kuma_deployer-0.2.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d6f533934c57dcd5680162e203b7cf6e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 17171, "upload_time": "2019-09-03T19:46:42", "url": "https://files.pythonhosted.org/packages/e5/52/893bcbce393c9fe1570e84841c07f4427893f7defe0ff8fa5e4fc40db06f/kuma_deployer-0.2.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3b8812b38154143776b68d77f0acd3ea", "sha256": "3fa1212d414bf4ae6646e778b7424d0ae4fa390caa077152607a078d7e29f306" }, "downloads": -1, "filename": "kuma-deployer-0.2.6.tar.gz", "has_sig": false, "md5_digest": "3b8812b38154143776b68d77f0acd3ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12501, "upload_time": "2019-09-03T19:46:44", "url": "https://files.pythonhosted.org/packages/03/e9/d1828882ec139dbe7fd9658e75fdf797c56aa14d8f1e5b093fee868f79c2/kuma-deployer-0.2.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d6f533934c57dcd5680162e203b7cf6e", "sha256": "4c0f8d5c8aceb609a2994cb17854313eea52a9c73b13d18ae2cf4edec41c417b" }, "downloads": -1, "filename": "kuma_deployer-0.2.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d6f533934c57dcd5680162e203b7cf6e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 17171, "upload_time": "2019-09-03T19:46:42", "url": "https://files.pythonhosted.org/packages/e5/52/893bcbce393c9fe1570e84841c07f4427893f7defe0ff8fa5e4fc40db06f/kuma_deployer-0.2.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3b8812b38154143776b68d77f0acd3ea", "sha256": "3fa1212d414bf4ae6646e778b7424d0ae4fa390caa077152607a078d7e29f306" }, "downloads": -1, "filename": "kuma-deployer-0.2.6.tar.gz", "has_sig": false, "md5_digest": "3b8812b38154143776b68d77f0acd3ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12501, "upload_time": "2019-09-03T19:46:44", "url": "https://files.pythonhosted.org/packages/03/e9/d1828882ec139dbe7fd9658e75fdf797c56aa14d8f1e5b093fee868f79c2/kuma-deployer-0.2.6.tar.gz" } ] }