Go to file
Timo Lotterbach eec726c6d8 Add option REPO_IGNORE_SSH_INFO to ignore ssh_info
This is required for setups, where Gerrit access using ssh is only available
for some networks.
For network without ssh access, repo will get ssh_info from Gerrit and
use ssh for communications - which will fail. To support this setup
we need to have an option to ignore the ssh_info provided by Gerrit and
use http(s).

Using git insteadOf as alternative results in the inability to add
reviewers using "repo upload --re=...", since the syntax of adding
reviewers differs for ssh and https. repo is assuming an ssh
connection and uses "git push --receive-pack=...", which will fail
since git silently uses https for push operation. repo must be aware
that https is used so it uses "git push remote ...:refs/for/...%r=..."
for upload.

Change-Id: Idd83baef0fb26ffcc9ac65e204b68d323ce177a1
2017-05-26 15:11:11 +02:00
docs manifest-format: fix EMPTY keyword usage 2016-12-28 16:07:16 -05:00
hooks Update commit-msg hook to version from Gerrit 2.12.1 2016-03-14 10:08:33 +09:00
subcmds sync.py: report the remote URL on fatal git remote errors 2017-04-04 22:10:34 -07:00
tests Fix gitc-init behavior 2015-10-07 15:43:22 -07:00
.flake8 Replace pylint with pyflakes/flake8 2016-09-14 09:49:02 +02:00
.gitattributes Adds additional crlf clobber avoidance. 2016-06-22 08:36:45 +00:00
.gitignore Add repoc to the .gitignore file 2013-03-08 01:18:08 +00:00
.mailmap Update mailmap 2016-09-02 11:12:28 +09:00
.project Set correct name in PyDev and Eclipse project config 2013-04-19 09:35:43 +09:00
.pydevproject Set correct name in PyDev and Eclipse project config 2013-04-19 09:35:43 +09:00
color.py Pylint and PEP8 fixes for color.py 2015-03-28 21:12:27 +00:00
command.py repo: Repo does not always handle '.' parameter correctly 2016-04-08 00:07:52 +00:00
COPYING Initial Contribution 2008-10-21 07:00:00 -07:00
editor.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
error.py error: fix typos 2015-06-04 00:21:16 +00:00
git_command.py Add rpc: to default protocol whitelist 2016-02-26 18:53:54 -08:00
git_config.py Add option REPO_IGNORE_SSH_INFO to ignore ssh_info 2017-05-26 15:11:11 +02:00
git_refs.py Fix some python3 encoding issues 2013-11-21 06:03:22 +00:00
git_ssh Don't allow git fetch to start ControlMaster 2010-10-29 08:15:14 -07:00
gitc_utils.py gitc: Lower concurrent ls-projects requests 2016-08-23 14:19:00 -07:00
main.py pylint: Fix unused-{argument,variable} warning 2016-06-21 11:48:57 -07:00
manifest_xml.py Add sso to list of known schemes for relative URLs 2016-10-27 15:56:38 -07:00
pager.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
progress.py Support units in progress messages 2011-09-19 14:52:57 -07:00
project.py Merge "Fix removing broken symlink in reference dir" 2016-12-06 07:51:01 +00:00
pyversion.py Move Python version checking to a separate module 2013-05-23 07:28:53 +00:00
README.md improve docs 2016-08-16 00:14:28 -04:00
repo init: Add no-tags and current branch options 2016-12-01 19:03:41 -05:00
SUBMITTING_PATCHES.md Replace pylint with pyflakes/flake8 2016-09-14 09:49:02 +02:00
trace.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
wrapper.py Add wrapper module 2014-01-30 15:17:09 -08:00

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.