{ "info": { "author": "Software Heritage developers", "author_email": "swh-devel@inria.fr", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "pyarcanist\n==========\n\nA simple cli tool for Phabricator. Aims at being some sort of arcanist on\nsteroids.\n\n## Installation\n\nPreferably in a venv:\n\n```\n(venv) user@host:~/src/project$ pip install pyarcanist\n```\n\n## Usage\n\nThe main cli entry point is the `pyarc` command:\n\n```\n(venv) user@host:~/src/project$ pyarc --help\nUsage: pyarc [OPTIONS] COMMAND [ARGS]...\n\n Entry point\n\nOptions:\n -v, --verbose / --no-verbose\n -h, --host TEXT\n -t, --token TEXT\n --help Show this message and exit.\n\nCommands:\n diff List Diffs\n send-message Send a harbormaster message\n whoami Gives informations on the current user\n```\n\nBy default, it will use your `~/.arcrc` file to get your Phabricator connection\ncredentials, but you can also pass the `--host` or `--token` options.\n\n### Diff\n\nThis commands allows to query currently open Phabricator Diff objects (not only\nyour Diff).\n\n```\n(venv) user@host:~/src/project$ pyarc diff --help\nUsage: pyarc diff [OPTIONS]\n\n List Diffs\n\nOptions:\n -u, --mine / --all-users\n -A, --all-repos / --current-repo\n -s, --summary / --default\n --help Show this message and exit.\n```\n\nIf it is executed from a directory which is a git repo corresponding to a\nPhabricator repository (a Diffusion oject), then the default behavior of the\n`diff` command is to display Diff objects for the current repo only\n(ie. `--current-repo`).\n\nIf it is executed in a directory that does not match any project in\nPhabricator, then all (open) Diff are returned by default (ie. `--all-repos`).\n\nNote that the matching between the local git repository and the Phabricator\nDiffusion object if made on tracked remote repositories (git remote): it looks\nfor a configured tracked repositories of the local git which URL corresponds to\na public URI of one of the Phabricator Diffusion object.\n\nExamples:\n\n```\n(venv) user@host:~/src/project$ pyarc diff -As\nChanges Planned D617: Always output valid JSON-LD.\nAccepted D619: Translate authors from package.json\n\n(venv) user@host:~/src/project$ pyarc diff -A\nNeeds Review D617\nRepo: swh-indexer (DCIDX)\nAuthor: vlorentz\nCreated: 7 days ago\nModified: 38 minutes ago\nSummary:\n Always output valid JSON-LD.\n\n Our metadata extraction used to export a nested dict structure\n loosely based on JSON-LD with schema.org/CodeMeta.\n\n This diff makes it output proper JSON-LD data.\n\n Note that because of some issues (eg.\n https://github.com/codemeta/codemeta/issues/198 and the impossibility to\n represent a software entity without a specific version), I removed\n `softwareRequirements` and `softwareSuggestions` from the output\n\n As a side-effect, it resolves T1289\n\n PS: Morane, don't review this diff today, it can wait until tomorrow :)\n\nNeeds Review D619\nRepo: swh-indexer (DCIDX)\nAuthor: vlorentz\nCreated: 6 days ago\nModified: 33 minutes ago\nSummary:\n Translate authors from package.json\n\n This is an example of hardcoded translation that's impossible\n to do directly from the crosswalk table\n\n```\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://forge.softwareheritage.org/source/pyarcanist/", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pyarcanist", "package_url": "https://pypi.org/project/pyarcanist/", "platform": "", "project_url": "https://pypi.org/project/pyarcanist/", "project_urls": { "Homepage": "https://forge.softwareheritage.org/source/pyarcanist/" }, "release_url": "https://pypi.org/project/pyarcanist/0.0.1/", "requires_dist": [ "beaker", "click", "gitpython", "humanize", "phabricator" ], "requires_python": "", "summary": "Pure python cli for Phabricator", "version": "0.0.1" }, "last_serial": 4453496, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "9d34a2126b226400d3f58e233314b135", "sha256": "1f082a4249db7398a5d022e18be9f8546bb74d244c5ec5d12571b3ae85cdab6e" }, "downloads": -1, "filename": "pyarcanist-0.0.1-py3-none-any.whl", "has_sig": true, "md5_digest": "9d34a2126b226400d3f58e233314b135", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 20162, "upload_time": "2018-11-05T16:02:38", "url": "https://files.pythonhosted.org/packages/08/7b/76cca4cfa8bd43b8cd3b1b8ce0d0b12035b3358e42a22ed9e1d6075cacec/pyarcanist-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2630baa9bcc0114041692dd096e6391b", "sha256": "008cc4a328275a71d204af5f22b2dd3907f42b6c7a0cafe492e63d6482d04d9b" }, "downloads": -1, "filename": "pyarcanist-0.0.1.tar.gz", "has_sig": true, "md5_digest": "2630baa9bcc0114041692dd096e6391b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18426, "upload_time": "2018-11-05T16:02:40", "url": "https://files.pythonhosted.org/packages/1e/c1/84c1b9cf693217abeebea0ab3d1ddec37145d0c14647c861f6bae59ef109/pyarcanist-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9d34a2126b226400d3f58e233314b135", "sha256": "1f082a4249db7398a5d022e18be9f8546bb74d244c5ec5d12571b3ae85cdab6e" }, "downloads": -1, "filename": "pyarcanist-0.0.1-py3-none-any.whl", "has_sig": true, "md5_digest": "9d34a2126b226400d3f58e233314b135", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 20162, "upload_time": "2018-11-05T16:02:38", "url": "https://files.pythonhosted.org/packages/08/7b/76cca4cfa8bd43b8cd3b1b8ce0d0b12035b3358e42a22ed9e1d6075cacec/pyarcanist-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2630baa9bcc0114041692dd096e6391b", "sha256": "008cc4a328275a71d204af5f22b2dd3907f42b6c7a0cafe492e63d6482d04d9b" }, "downloads": -1, "filename": "pyarcanist-0.0.1.tar.gz", "has_sig": true, "md5_digest": "2630baa9bcc0114041692dd096e6391b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18426, "upload_time": "2018-11-05T16:02:40", "url": "https://files.pythonhosted.org/packages/1e/c1/84c1b9cf693217abeebea0ab3d1ddec37145d0c14647c861f6bae59ef109/pyarcanist-0.0.1.tar.gz" } ] }