tag | ea9da2dc5a96ec63d581a47a5fe545a95ae48ed0 | |
---|---|---|
tagger | Aravind Vasudevan <aravindvasudev@google.com> | Thu Oct 19 18:57:47 2023 +0000 |
object | 024df06ec15d7304fbb5f9a2b1aa44f2af9daf4c |
repo v2.38
commit | 024df06ec15d7304fbb5f9a2b1aa44f2af9daf4c | [log] [tgz] |
---|---|---|
author | Jason R. Coombs <jaraco@google.com> | Mon Oct 02 13:58:54 2023 -0400 |
committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 17 15:15:55 2023 +0000 |
tree | 731c6f2176308623193f05e58c268c783efca2af | |
parent | 45809e51ca6f4dfb84c9400e5dffef6daa2d667d [diff] |
tests: Set HOME to a temporary directory when running tests. When running the tests in my environment, tests that derived from `test_wrapper.GitCheckoutTestCase` would fail on commit or tag due to incomplete or incorrect gpg config. Ideally, the tests should not be dependent on the user's git config. This change ensures $HOME (or Windows equivalent) is replaced for the session. Bug: 302797407 Change-Id: Ib42b712dd7b6602fee6e18329a8c6d52fb9458b9 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/388235 Tested-by: Jason R. Coombs <jaraco@google.com> Reviewed-by: Mike Frysinger <vapier@google.com> Commit-Queue: Jason R. Coombs <jaraco@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.
Please use the repo-discuss mailing list or issue tracker for questions.
You can file a new bug report under the “repo” component.
Please do not e-mail individual developers for support. They do not have the bandwidth for it, and often times questions have already been asked on repo-discuss or bugs posted to the issue tracker. So please search those sites first.
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