{ "info": { "author": "Ren\u00e9 Jochum", "author_email": "rene@jochums.at", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Version Control", "Topic :: Software Development :: Version Control :: Bazaar", "Topic :: Software Development :: Version Control :: Git" ], "description": ".. image:: https://badge.fury.io/py/vcs-mirrors.svg\n :target: https://badge.fury.io/py/vcs-mirrors\n\n.. image:: https://img.shields.io/pypi/pyversions/vcs-mirrors.svg\n :target: https://pypi.python.org/pypi/vcs-mirrors\n\nvcs-mirrors\n===========\n\nA python-only clone of https://github.com/samrocketman/gitlab-mirrors/ with a YAML config file.\n\nRequirements\n------------\n\n- Python 3.5+ (Debian Stretch+, Ubuntu Xenial+)\n- virtualenv if you don't want to mess with System Python\n- git-remote-bzr https://github.com/felipec/git-remote-bzr for Bazaar support\n\nFeatures\n--------\n\n* Mirror different types of source repositories: Bazaar, Git, Subversion. Mirror all into git.\n* GitLab mirror adding.\n * When adding a mirror if the project doesn't exist in GitLab it will be auto-created.\n * Set project creation defaults (e.g. issues enabled, wiki enabled, etc.)\n* Github mirror adding.\n * Same as with Gitlab.\n* mirror anything to Git (not just Gitlab and Github).\n* Update a single mirror.\n* Update all known mirrors.\n\n\nInstallation\n++++++++++++\n\nOn Debian\n---------\n\nFor Bazaar support:\n\n.. code:: bash\n\n $ apt install git-remote-bzr\n\nInstall into a virtualenv:\n\n.. code:: bash\n\n $ virtualenv -p /usr/bin/python3 --no-site-packages venv\n $ venv/bin/pip install \"vcs-mirrors[gitlab,github]\"\n\nThen copy vcs-mirrors.yaml.example into your current-working-directory:\n\n.. code:: bash\n\n $ cp venv/lib/python3.6/site-packages/vcs-mirrors/vcs-mirrors.yaml.sample vcs-mirrors.yaml\n\nEdit it for your needs.\n\nUsage\n+++++\n.. code:: bash\n\n venv/bin/vcs-mirrors -h\n venv/bin/vcs-mirrors add -h\n\nadd examples:\n-------------\n\nThis one try to create a repo \"pcdummy/proxmox-dockerfiles\" on git.lxch.eu - the identifier must be unique in the config file:\n\n.. code:: bash\n\n $ vcs-mirrors add me/p-dockerfiles https://github.com/pcdummy/proxmox-dockerfiles.git git.lxch.eu:pcdummy/proxmox-dockerfiles\n\n\nThis doesn't:\n\n.. code:: bash\n\n $ vcs-mirrors add me/p-dockerfiles https://github.com/pcdummy/proxmox-dockerfiles.git git@git.lxch.eu:pcdummy/proxmox-dockerfiles.git\n\nFull mirroring include \"prune\" and \"force\" pull/push:\n\n.. code:: bash\n\n $ vcs-mirrors add -f -p me/p-dockerfiles https://github.com/pcdummy/proxmox-dockerfiles.git git.lxch.eu:pcdummy/proxmox-dockerfiles\n\nIf you give an host as target \"add\" creates the repo on the host and translates it to a git URL else add does nothing else than adding the params to your configuration file.\n\n\nDevelopment\n+++++++++++\n\n.. code:: bash\n\n $ pip install -e .\"[development,gitlab,github]\"\n\n\nKeywords\n++++++++\n\ngitlab github sync mirror vcs-mirror bazaar\n\nChangelog\n=========\n\nThis document describes changes between each past release.\n\n0.0.7 (2018-04-23)\n------------------\n\n- Fix pip install by moving away of PEP 420 Namespaces. [pcdummy]\n\n\n0.0.6 (2018-04-23)\n------------------\n\n- Fix another typo in MANIFEST.in. [pcdummy]\n\n\n0.0.5 (2018-04-23)\n------------------\n\n- Include python files in the pip packages, part2. [pcdummy]\n\n\n0.0.4 (2018-04-23)\n------------------\n\n- Include python files in the pip packages. [pcdummy]\n\n\n0.0.3 (2018-04-22)\n------------------\n\n- Add another debug line (to show CWD changes). [pcdummy]\n- Add tag pushes. [pcdummy]\n- Make mirroring finaly working by using \"--mirror\". [pcdummy]\n\n0.0.2 (2018-04-21)\n------------------\n\n- Fixup classifiers. [pcdummy]\n\n0.0.1 (2018-04-21)\n------------------\n\n- Initial Release. [pcdummy]\n\nContributors\n============\n\n* Sam Gleske - Idea and some code from https://github.com/samrocketman\n* Ren\u00e9 Jochum ", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://git.lxch.eu/pcdummy/vcs-mirrors", "keywords": "Console VCS mirror vcs-mirrors", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "vcs-mirrors", "package_url": "https://pypi.org/project/vcs-mirrors/", "platform": "", "project_url": "https://pypi.org/project/vcs-mirrors/", "project_urls": { "Homepage": "https://git.lxch.eu/pcdummy/vcs-mirrors" }, "release_url": "https://pypi.org/project/vcs-mirrors/0.0.7/", "requires_dist": null, "requires_python": "", "summary": "", "version": "0.0.7" }, "last_serial": 3798287, "releases": { "0.0.6": [ { "comment_text": "", "digests": { "md5": "9397d9505473ea6fdd580041b1577f8d", "sha256": "4f205a0e2a8a0869a1ee647021291a64e7e3df2c4b97ace452dde75a9d57b74a" }, "downloads": -1, "filename": "vcs_mirrors-0.0.6.tar.gz", "has_sig": false, "md5_digest": "9397d9505473ea6fdd580041b1577f8d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12201, "upload_time": "2018-04-23T11:53:39", "url": "https://files.pythonhosted.org/packages/dd/42/1664116f89295d111ee1efc81c2dea3fbc00e0b748d7550fe8a9a8d7bba6/vcs_mirrors-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "f94f585855d8e3533c0c7eff68f8a430", "sha256": "5ba388137c8b1452477ba7897adb407a7e2dfd618e2a5f33ee068abf27040054" }, "downloads": -1, "filename": "vcs_mirrors-0.0.7.tar.gz", "has_sig": false, "md5_digest": "f94f585855d8e3533c0c7eff68f8a430", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10690, "upload_time": "2018-04-23T12:47:02", "url": "https://files.pythonhosted.org/packages/7c/12/c675b1465679182a6fda0a649bf1d2762c5a47a1be154c9e9abaf510ad56/vcs_mirrors-0.0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f94f585855d8e3533c0c7eff68f8a430", "sha256": "5ba388137c8b1452477ba7897adb407a7e2dfd618e2a5f33ee068abf27040054" }, "downloads": -1, "filename": "vcs_mirrors-0.0.7.tar.gz", "has_sig": false, "md5_digest": "f94f585855d8e3533c0c7eff68f8a430", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10690, "upload_time": "2018-04-23T12:47:02", "url": "https://files.pythonhosted.org/packages/7c/12/c675b1465679182a6fda0a649bf1d2762c5a47a1be154c9e9abaf510ad56/vcs_mirrors-0.0.7.tar.gz" } ] }