{ "info": { "author": "Lenka Segura", "author_email": "lenka@sepu.cz", "bugtrack_url": null, "classifiers": [], "description": "Cranc\n=====\n\nCranc is command line interface tool to interact with Pagure\n\nhomepage: https://pagure.io/cranc\n\nWhat Cranc does\n~~~~~~~~~~~~~~~\n\nAt the moment cranc lists pull requests and issues of a project. With\nthis commands:\n\n``cranc get prs``\n\n- ``[author]`` optional\n\n- ``[status]`` optional\n\n- ``[assignee]`` optional\n\n``cranc get issues``\n\n- ``[author]`` optional\n\n- ``[status]`` optional\n\n- ``[assignee]`` optional\n\n``cranc merge pr [request_id]``\n\n``cranc create pr [title] [repo] [brach_from] [branch_to]``\n\n- ``[initial_comment]`` is optional\n\nAbout its name\n~~~~~~~~~~~~~~\n\nSince Pagure is a hermit crab, cranc is crab in catalan.\n\nRun\n~~~\n\nCreate the virtual environment:\n\n``virtualenv3 ~/venvs/cranc-env``\n\n``source ~/venvs/cranc-env/bin/activate``\n\nRetrieve the sources:\n\n``git clone https://pagure.io/cranc.git``\n\n``cd cranc``\n\nInstall dependencies:\n\n``pip install -r requirements.txt``\n\nRun the setup file. This creates a link in the venv directory pointing\nto the cranc directory:\n\n``python setup.py install``\n\nRun the app:\n\n``cranc``\n\n::\n\n Usage: cranc [OPTIONS] COMMAND [ARGS]...\n\n Options:\n -a, --api-key API-KEY your API key for Pagure.io\n -r, --repo-url TEXT Repo url\n -i, --instance-url TEXT Pagure instance url\n -c, --config-file PATH\n --help Show this message and exit.\n\n Commands:\n config\n create\n get\n merge\n\n``cranc``\n\nOr run the command:\n\n``cranc get prs``\n\n``cranc merge pr --request_id [request_id]``\n\nWhen API TOKEN is needed, cranc will prompt you to insert it. It will ve\nstored in a ``.config`` file. Cranc will also try to guess the repo url\nand instance url, and prompt you to confirm/change.\n\nTest\n~~~~\n\nTo run tests type:\n\n``pytest``\n\nOr to run only 1 test type:\n\n``pytest tests/[name_of_the_test]``\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://pagure.io/cranc", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "cranc", "package_url": "https://pypi.org/project/cranc/", "platform": "", "project_url": "https://pypi.org/project/cranc/", "project_urls": { "Homepage": "https://pagure.io/cranc" }, "release_url": "https://pypi.org/project/cranc/1.0.1/", "requires_dist": [ "black", "click", "git-url-parse", "libpagure", "pbr", "pygit2", "pytest", "requests" ], "requires_python": "", "summary": "command line interface tool for Pagure pull requests", "version": "1.0.1" }, "last_serial": 5658174, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "0098e1d510ba3c751c55f38e90395791", "sha256": "1d0f75e5b67a03f99f8d886c2669b65306c6157ad1c376661e337f0ccb40dcb8" }, "downloads": -1, "filename": "cranc-1.0.0.tar.gz", "has_sig": false, "md5_digest": "0098e1d510ba3c751c55f38e90395791", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19027, "upload_time": "2019-08-09T23:36:30", "url": "https://files.pythonhosted.org/packages/3b/c1/d0599c2971bccbbe6129f216300a9740667cea73f1afb7a572530ffcbe92/cranc-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "1942c6f827e6d99396fa58cf9cb11207", "sha256": "56e7dbcbbf22213e0edf7614eacaabf28bcac0c67879045dd7eb9302f38a258c" }, "downloads": -1, "filename": "cranc-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1942c6f827e6d99396fa58cf9cb11207", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 19565, "upload_time": "2019-08-09T23:59:37", "url": "https://files.pythonhosted.org/packages/bf/64/cd9f0e978f4471d1c39ecaaac4318e87b8c5b3ca2884bdf20ab6d6ceaeee/cranc-1.0.1-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1942c6f827e6d99396fa58cf9cb11207", "sha256": "56e7dbcbbf22213e0edf7614eacaabf28bcac0c67879045dd7eb9302f38a258c" }, "downloads": -1, "filename": "cranc-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1942c6f827e6d99396fa58cf9cb11207", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 19565, "upload_time": "2019-08-09T23:59:37", "url": "https://files.pythonhosted.org/packages/bf/64/cd9f0e978f4471d1c39ecaaac4318e87b8c5b3ca2884bdf20ab6d6ceaeee/cranc-1.0.1-py2.py3-none-any.whl" } ] }