{ "info": { "author": "Rahiel Kasim", "author_email": "rahielkasim@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: POSIX", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Version Control :: Git", "Topic :: System :: Archiving :: Mirroring" ], "description": "giternity\n=========\n\n`Version `__\n`pyversions `__\n`Downloads `__\n`License `__\n\nGiternity is a tool to mirror git repositories from GitHub. You can\nspecify a username/organization to mirror all their repositories, or\njust individual repos. It retrieves some repo metadata so they can be\nnicely served with `cgit `__. Run\ngiternity periodically to update the mirrors.\n\nAn example result is `git.cpu.re `__. Follow the\n`tutorial `__\nto host your own.\n\nInstallation\n============\n\nInstall giternity:\n\n.. code:: shell\n\n sudo pip3 install giternity\n\nYou also need to have git installed.\n\nConfiguration\n=============\n\nThe configuration file is at ``/etc/giternity.toml``:\n\n.. code:: ini\n\n # path for the git mirrors\n git_data_path = \"/srv/git/\"\n\n # path for checkouts of the git mirrors (optional)\n # checkout_path = \"/srv/git_checkout/\"\n\n # public URL of your cgit instance (optional)\n # cgit_url = \"https://git.cpu.re/\"\n\n [github]\n repositories = [\n \"rahiel\",\n \"sunsistemo\",\n \"TeMPOraL/nyan-mode\",\n ]\n\nSet ``git_data_path`` to the path where you want to store the git\nrepositories. It will contain bare git repositories: the data you\nusually see in the ``.git`` directory in your projects. To also have the\nactual working files of the repos, set ``checkout_path`` to where to\nkeep them. If you\u2019ll be hosting the repos with cgit, set ``cgit_url`` to\nthe public URL.\n\nIn the ``[github]`` section you specify which repositories to mirror.\nYou list a username (``\"rahiel\"``) or an organization (``\"sunsistemo\"``)\nto mirror all of their non-fork repositories. For individual repos\n(``\"TeMPOraL/nyan-mode\"``) you specify them like ``owner/repo``.\n\nWith the configuration in place you simply run ``giternity``.\n\nFor convenience there is an automatic configuration that sets up a\nseparate system user, gives this user permissions to ``git_data_path``\n(and to ``checkout_path`` if specified) and creates a cron job at\n``/etc/cron.d/giternity`` to update the mirrors every hour. Apply these\ndefaults with:\n\n.. code:: shell\n\n sudo giternity --configure\n\ncgit\n====\n\nYour git mirrors are now suitable to serve with cgit. Customize your\n``/etc/cgitrc`` as you like and add the following to the bottom:\n\n.. code:: ini\n\n agefile=info/web/last-modified\n section-from-path=1\n scan-path=/srv/git/\n\nwhere you replace ``/srv/git/`` with the ``git_data_path`` from your\n``/etc/giternity.toml``.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rahiel/giternity", "keywords": "giternity git mirror cgit", "license": "GPLv3+", "maintainer": "", "maintainer_email": "", "name": "giternity", "package_url": "https://pypi.org/project/giternity/", "platform": "", "project_url": "https://pypi.org/project/giternity/", "project_urls": { "Homepage": "https://github.com/rahiel/giternity" }, "release_url": "https://pypi.org/project/giternity/0.5/", "requires_dist": [ "requests", "toml" ], "requires_python": ">=3.5", "summary": "Mirror git repositories and retrieve metadata for cgit.", "version": "0.5" }, "last_serial": 4984375, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "21a6bf8cc5ee5ebbcb26078d90ca625b", "sha256": "3d642de3185f575a176a10836a46143eb327c95213da73572de604e0f7676616" }, "downloads": -1, "filename": "giternity-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "21a6bf8cc5ee5ebbcb26078d90ca625b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6592, "upload_time": "2017-10-23T12:30:57", "url": "https://files.pythonhosted.org/packages/97/4d/cf2fce8cef812aafc979e220b56d0df2b130b5e4e4a851a6001fbea8b5da/giternity-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fe114abec6b45d8330a25a257bea4f28", "sha256": "0bef0c8b1e72fd619bfda955e5395e59c6476f9a1cc46b80198b2ddef250cd6c" }, "downloads": -1, "filename": "giternity-0.1.tar.gz", "has_sig": false, "md5_digest": "fe114abec6b45d8330a25a257bea4f28", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4657, "upload_time": "2017-10-23T12:30:58", "url": "https://files.pythonhosted.org/packages/39/b8/c59608a9d1090300e4f83f200b572d0bb2579d1b4f9efa074d190607532c/giternity-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "7c2555b932d37eabcc7efbb320d3b39d", "sha256": "a4406070e4d7df0e79c2d8eac36d33369edd32e21a96838c6889381f3533c076" }, "downloads": -1, "filename": "giternity-0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "7c2555b932d37eabcc7efbb320d3b39d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 7725, "upload_time": "2017-10-29T11:51:24", "url": "https://files.pythonhosted.org/packages/ae/85/b2cade2da558d6c64263926ea543845505237b50689a4dde9534615b738a/giternity-0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "48de449cebaad134f46497f3439fb850", "sha256": "c55c588543e4051373ee24f940891ce0a3e140fffad81f48181df6ae2f112ef2" }, "downloads": -1, "filename": "giternity-0.2.tar.gz", "has_sig": false, "md5_digest": "48de449cebaad134f46497f3439fb850", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 5602, "upload_time": "2017-10-29T11:51:27", "url": "https://files.pythonhosted.org/packages/db/e9/65b24643b60a4e8f616658d96f9e86b8f67214df531e5e8a24c109acfcfb/giternity-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "3570d73810c9d6d0e4e1e3effe35e79f", "sha256": "d25ae939f87126bbb670a8487d1ebbcfb456c3edf0da5d0e1d4199353805216f" }, "downloads": -1, "filename": "giternity-0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "3570d73810c9d6d0e4e1e3effe35e79f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 5693, "upload_time": "2018-06-10T18:38:06", "url": "https://files.pythonhosted.org/packages/aa/49/e11b1cc7eb825b83c0a03523733928a8bd086c2fad959ff6b11658d86277/giternity-0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0e406334c75f023f5b2fcf6a69b844e9", "sha256": "dc45b20f1d3a78e7c21a83d9d5b77e02569b5e0cf88925c3b2edf3e45c18c7f1" }, "downloads": -1, "filename": "giternity-0.3.tar.gz", "has_sig": false, "md5_digest": "0e406334c75f023f5b2fcf6a69b844e9", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 5887, "upload_time": "2018-06-10T18:38:08", "url": "https://files.pythonhosted.org/packages/e8/37/f891ef27c820b9aa2fe2ea0b35c8984cda623ca3b15e3cc7513cd0b90ca4/giternity-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "efdd3805cb54c161490fd6d47815d49d", "sha256": "ca881bf1d44b8a7daa00ae38fe62b833ad5aa70db5fe8bd67ae8eb520e4ddc20" }, "downloads": -1, "filename": "giternity-0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "efdd3805cb54c161490fd6d47815d49d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 5675, "upload_time": "2018-08-12T14:48:22", "url": "https://files.pythonhosted.org/packages/96/a6/7385316f5a207f50f0725cd2209d70998c25a13718ed778b53192fbd660a/giternity-0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b77f7763c4e5f00812b88ff8a7b0d078", "sha256": "9a29d6480a321681379b06f58bfe761b34f7340ae7b7d78204cb9efdd7cb942e" }, "downloads": -1, "filename": "giternity-0.4.tar.gz", "has_sig": false, "md5_digest": "b77f7763c4e5f00812b88ff8a7b0d078", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 5886, "upload_time": "2018-08-12T14:48:23", "url": "https://files.pythonhosted.org/packages/08/54/6c9827527ba45da218af55d550754f4a23970dda14f484e4360dba11a537/giternity-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "6124359bb47d45379376f72b907f2331", "sha256": "0a0e3ac2d8aee0dc866edf1e35d0ada05cdccaf771d3465951fd8ac52ee74c2d" }, "downloads": -1, "filename": "giternity-0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "6124359bb47d45379376f72b907f2331", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 17982, "upload_time": "2019-03-25T20:02:08", "url": "https://files.pythonhosted.org/packages/96/ba/ddde9837c6f50038592b2a66591e6fa6bc5049346c83a473babe292df3b4/giternity-0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cc656035801c8404dfa69a940028711f", "sha256": "539c14a906c82a0ab2745c4080fe2a1eabab752d7c4b0c187809a459c26da51a" }, "downloads": -1, "filename": "giternity-0.5.tar.gz", "has_sig": false, "md5_digest": "cc656035801c8404dfa69a940028711f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 5826, "upload_time": "2019-03-25T20:02:10", "url": "https://files.pythonhosted.org/packages/d7/bb/7e6afa3d2bc99d290cd37cabb0387762796e8d9667c4945c501b20c71969/giternity-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6124359bb47d45379376f72b907f2331", "sha256": "0a0e3ac2d8aee0dc866edf1e35d0ada05cdccaf771d3465951fd8ac52ee74c2d" }, "downloads": -1, "filename": "giternity-0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "6124359bb47d45379376f72b907f2331", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 17982, "upload_time": "2019-03-25T20:02:08", "url": "https://files.pythonhosted.org/packages/96/ba/ddde9837c6f50038592b2a66591e6fa6bc5049346c83a473babe292df3b4/giternity-0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cc656035801c8404dfa69a940028711f", "sha256": "539c14a906c82a0ab2745c4080fe2a1eabab752d7c4b0c187809a459c26da51a" }, "downloads": -1, "filename": "giternity-0.5.tar.gz", "has_sig": false, "md5_digest": "cc656035801c8404dfa69a940028711f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 5826, "upload_time": "2019-03-25T20:02:10", "url": "https://files.pythonhosted.org/packages/d7/bb/7e6afa3d2bc99d290cd37cabb0387762796e8d9667c4945c501b20c71969/giternity-0.5.tar.gz" } ] }