commit | f700ac79c3437b248f7add9cd1f53a44785d04f9 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@google.com> | Thu Feb 06 00:04:21 2020 -0500 |
committer | Mike Frysinger <vapier@google.com> | Wed Feb 12 11:46:30 2020 +0000 |
tree | 0acaff20fc01a8b17e23b9baa2f8c447cfdd85a6 | |
parent | 6f1c626a9b38af3cec15df8975bd26dd267bb07e [diff] |
repo: move parser init out of module scope We import the wrapper on the fly, so minimize how much code we run in module scope. It's pointless/wasted when importing. Change-Id: I4a71c2030325d0a639585671cd7ebe8f22687ecd Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254072 Tested-by: Mike Frysinger <vapier@google.com> Reviewed-by: David Pursehouse <dpursehouse@collab.net> Reviewed-by: Mike Frysinger <vapier@google.com>
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.
Many distros include repo, so you might be able to install from there.
# Debian/Ubuntu. $ sudo apt-get install repo # Gentoo. $ sudo emerge dev-vcs/repo
You can install it manually as well as it's a single script.
$ mkdir -p ~/.bin $ PATH="${HOME}/.bin:${PATH}" $ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo $ chmod a+rx ~/.bin/repo