Skip to main content

Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow.

Project description

repo

Repo is a tool built on top of Git. Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow. Repo is not meant to replace Git, only to make it easier to work with Git. The repo command is an executable Python script that you can put anywhere in your path.

About pypi version

Version in pypi is not the official version from google, but a friendly fork, with support for normal setup.py style installation

  • local imports replaced by module imports, "repo" being the name of the python module
  • subcommand discovery uses the python entrypoint system
  • support for custom repo subcommand in an separate python package

Installation

pip3 install --user gitrepo

Custom commands

  • create a python module starting from any example in the repo/subcmds directory

  • add an entrypoint to your setup.py module:

  setup(...,
    install_requires=["gitrepo"],
    entry_points={
      'repo.subcmds': [
        'my_custom_cmd = mycustomrepo.my_custom_cmd:CustomCmd',
    }
  )

Then you can ask your developers to install your own mycustomrepo package instead of the gitrepo package.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gitrepo-1.13.2.post1.tar.gz (115.2 kB view hashes)

Uploaded Source

Built Distribution

gitrepo-1.13.2.post1-py2.py3-none-any.whl (150.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page