{ "info": { "author": "Georgi Valkov", "author_email": "georgi.t.valkov@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Utilities" ], "description": "*git-link*\n----------\n\n*Git-link* is a git sub-command for getting a repo-browser link to a\ngit object. The motivation behind *git-link* is that it is often\nfaster to navigate to a git object or path on the command line than it\nis to click your way to it through a web interface. An example using\n*git-link*'s github sources:\n\n.. code-block:: bash\n\n $ git config --add link.url https://github.com/gvalkov/git-link\n $ git config --add link.browser github\n\n $ git link HEAD~10\n https://github.com/gvalkov/git-link/commit/d0bca29bd7\n\n $ git link v0.2.0\n https://github.com/gvalkov/git-link/tree/v0.2.0\n\n $ git link v0.2.0 -- setup.py\n https://github.com/gvalkov/git-link/tree/af4ad8c89b/setup.py\n\n*Git-link* can be used with : cgit_, gitweb_, github_, github-private_\n\nInstall\n=======\n\nInstall from PyPi:\n\n.. code-block:: bash\n\n $ pip install gitlink\n\nOr simply put git-link in your ``$PATH`` and make it executable::\n\n https://raw.githubusercontent.com/gvalkov/git-link/master/git-link\n\nUsage\n=====\n\n::\n\n Usage: git link [options] \n\n Options:\n -h, --help show this help message and exit\n -v, --version show version and exit\n -c, --clipboard copy link to clipboard (overwrites link.clipboard)\n -u, --url repo browser url (overwrites link.url)\n -b, --browser repo browser type (overwrites link.browser)\n -s, --short truncate hashes to length (overwrites link.short)\n -r, --raw show raw blob if possible\n\n Repo browsers:\n github-private cgit gitweb github\n\n Configuration:\n git config --add link.url \n git config --add link.browser \n git config --add link.clipboard false|true\n\n Examples:\n git link HEAD~10 url of 10th commit before HEAD\n git link v0.1.0^{tree} url of tree object at tag v0.1.0\n git link master:file url of file in branch master\n git link path/file url of path/file in current branch\n git link devel -- path url of path in branch devel\n git link v0.1.0 url of tag v0.1.0\n\nSetup\n=====\n\n*Git-link* needs to know the name and url of the repository browser\nfor the repository it is being run in. This can be set through\n``git-config`` or on the command line on each run:\n\n.. code-block:: bash\n\n $ git config --add link.url \n $ git config --add link.browser \n $ git config --add link.clipboard false|true # optional\n $ git config --add link.short 7 # optional\n $ git link --browser --name --clipboard ...\n\nDevelopment\n===========\n\n.. image:: https://travis-ci.org/gvalkov/git-link.svg?branch=master\n :target: https://travis-ci.org/gvalkov/git-link\n\nSee repobrowsers.py_ and test_cgit.py_ if you are interested in adding\na new repository browser. Release checklist:\n\n1) Run ``py.test``.\n\n2) Bump version in ``gitlink/__init__.py``.\n\n3) Update man page - ``make man/git-link.1``.\n\n4) Create standalone script - ``make git-link``.\n\nPlease make do without bringing in any external dependencies. As nice\nas GitPython_ and libgit2_ are, anything that this tool needs from git\ncan be queried using its command line interface.\n\n\nLcense\n=======\n\n*Git-link* is released under the terms of the `Revised BSD License`_.\n\nLinks\n=====\n\nDevelopment:\n https://github.com/gvalkov/git-link\n\nPackage:\n http://pypi.python.org/pypi/gitlink\n\n.. _cgit: http://hjemli.net/git/cgit/\n.. _gitweb: http://git.kernel.org/?p=git/git.git;a=tree;f=gitweb;hb=refs/heads/master\n.. _github: http://github.com/\n.. _github-private: https://github.com/plans\n.. _`Revised BSD License`: https://raw.github.com/gvalkov/git-link/master/LICENSE\n.. _GitPython: https://pypi.python.org/pypi/GitPython/\n.. _PyGit2: https://pypi.python.org/pypi/pygit2\n.. _repobrowsers.py: https://github.com/gvalkov/git-link/blob/master/gitlink/repobrowsers.py\n.. _test_cgit.py: https://github.com/gvalkov/git-link/blob/master/tests/test_cgit.py\n.. _libgit2: http://www.pygit2.org/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/gvalkov/git-link", "keywords": "git gitweb github cgit subcommand", "license": "Revised BSD License", "maintainer": null, "maintainer_email": null, "name": "gitlink", "package_url": "https://pypi.org/project/gitlink/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/gitlink/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/gvalkov/git-link" }, "release_url": "https://pypi.org/project/gitlink/0.5.0/", "requires_dist": null, "requires_python": null, "summary": "Git sub-command for getting a repo browser link to a git object", "version": "0.5.0" }, "last_serial": 1234091, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "120a1e3cec928e9cc1c5c3b5a00d2d4e", "sha256": "e9d0b72f125d8fd1419695626aae0b78e7795b7c265a852eacda9bfefd125474" }, "downloads": -1, "filename": "gitlink-0.1.0.tar.gz", "has_sig": false, "md5_digest": "120a1e3cec928e9cc1c5c3b5a00d2d4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13319, "upload_time": "2012-02-14T21:46:02", "url": "https://files.pythonhosted.org/packages/6b/c6/e0af5e325dbd9e08808979506e45b3c24bd6a1b1a86ddbd60c5611bc55d4/gitlink-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "92fd380f4122b7120187a628f8e4341f", "sha256": "8030e0ed9c84ff26a498f9e7db5635fa2ff49ab633da89a6782557badf901849" }, "downloads": -1, "filename": "gitlink-0.2.0.tar.gz", "has_sig": false, "md5_digest": "92fd380f4122b7120187a628f8e4341f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19961, "upload_time": "2012-06-09T12:47:41", "url": "https://files.pythonhosted.org/packages/91/ca/14d018fc6fba47cb4fd20d5bddb58b46c8a031db218e0cf75e256896a8e6/gitlink-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "7a98557675e22cceeb6522a4ab654b58", "sha256": "687a31cb5359591f61d05b499edb51cd603d690275d1ccc576ed8eccefdab278" }, "downloads": -1, "filename": "gitlink-0.3.0.tar.gz", "has_sig": false, "md5_digest": "7a98557675e22cceeb6522a4ab654b58", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19390, "upload_time": "2013-11-28T19:27:14", "url": "https://files.pythonhosted.org/packages/5e/de/73a19c4005e57b134bad499b7d1361464a477e9f5ec1640325308b3104f2/gitlink-0.3.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "09d38972e8768e0850614eaf766d5850", "sha256": "7e98a9846eaa3e84ab7c0d804e407fbe328194abe7e00bd741b7f7dcd502c842" }, "downloads": -1, "filename": "gitlink-0.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "09d38972e8768e0850614eaf766d5850", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 15805, "upload_time": "2014-09-22T22:19:43", "url": "https://files.pythonhosted.org/packages/be/f5/28ec337678b7417f6a43c28ae23cafc80ca991137fef5b09cb5677596a86/gitlink-0.5.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6e1d20ef0f1d663890d5e1fdc0765034", "sha256": "c7eca6a2337640350859a6367e6d4318a3840bd4f9c254a17dffa627cb4cf8df" }, "downloads": -1, "filename": "gitlink-0.5.0.tar.gz", "has_sig": false, "md5_digest": "6e1d20ef0f1d663890d5e1fdc0765034", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12839, "upload_time": "2014-09-22T22:17:32", "url": "https://files.pythonhosted.org/packages/9a/bd/8dd39d6aa842e96ce194b7786a61e9fe1a3eacf0ee7c6c6e8a11d3bbec03/gitlink-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "09d38972e8768e0850614eaf766d5850", "sha256": "7e98a9846eaa3e84ab7c0d804e407fbe328194abe7e00bd741b7f7dcd502c842" }, "downloads": -1, "filename": "gitlink-0.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "09d38972e8768e0850614eaf766d5850", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 15805, "upload_time": "2014-09-22T22:19:43", "url": "https://files.pythonhosted.org/packages/be/f5/28ec337678b7417f6a43c28ae23cafc80ca991137fef5b09cb5677596a86/gitlink-0.5.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6e1d20ef0f1d663890d5e1fdc0765034", "sha256": "c7eca6a2337640350859a6367e6d4318a3840bd4f9c254a17dffa627cb4cf8df" }, "downloads": -1, "filename": "gitlink-0.5.0.tar.gz", "has_sig": false, "md5_digest": "6e1d20ef0f1d663890d5e1fdc0765034", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12839, "upload_time": "2014-09-22T22:17:32", "url": "https://files.pythonhosted.org/packages/9a/bd/8dd39d6aa842e96ce194b7786a61e9fe1a3eacf0ee7c6c6e8a11d3bbec03/gitlink-0.5.0.tar.gz" } ] }