commit | 37f28f1b4e6783c4a06e21977f2e30d592e13819 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@google.com> | Sun Feb 16 15:15:53 2020 -0500 |
committer | David Pursehouse <dpursehouse@collab.net> | Tue Feb 18 14:38:33 2020 +0000 |
tree | f6921d26c030505a585a37af495315ba258be885 | |
parent | af1e5dea3511c7e01f9a0a31f6e254d63848bed5 [diff] |
main: add python version checking If an older launcher script is used with newer repo source tree, we might be issuing python version warnings. Plus, we want to be able to roll Python version requirements independently of the launcher. Add some version checking here too. Change-Id: Ia35fc821f93c429296bdf5fd578276fef796b649 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/255592 Tested-by: Mike Frysinger <vapier@google.com> Reviewed-by: David Pursehouse <dpursehouse@collab.net>
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