tag | 1159448da2a26a54ca29caaac92c65d921a1c1e7 | |
---|---|---|
tagger | Josip Sokcevic <sokcevic@chromium.org> | Thu Sep 12 17:20:34 2024 +0000 |
object | 1e19f7dd61923b8835d9c6e1a7e560575dafaf1e |
repo v2.47
commit | 1e19f7dd61923b8835d9c6e1a7e560575dafaf1e | [log] [tgz] |
---|---|---|
author | Navil <navil@google.com> | Wed Sep 11 16:49:49 2024 +0000 |
committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 12 16:15:50 2024 +0000 |
tree | 2b0cf9d44af1a4ae52c68c0d86dad620d8331b19 | |
parent | d8b4101eae8d7b650c9fd27d4f6495a032187279 [diff] |
sync: include TARGET_RELEASE when constructing smart sync target. When using the smart sync option, we try to construct the target that was "lunched" from the TARGET_PRODUCT and TARGET_BUILD_VARIANT envvars. However, an android target is now made of three parts, {TARGET_PRODUCT}-{TARGET_RELEASE}-{TARGET_BUILD_VARIANT}. I am leaving the option of creating a target if a TARGET_RELEASE is not specified in case there are other consumers who depend on that option. BUG=b:358101714 TEST=./run_tests TEST=smart sync on android repo and manually inspecting smart_sync_override.xml Change-Id: I556137e33558783a86a0631f29756910b4a93d92 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/436977 Tested-by: Yiwei Zhang <yiwzhang@google.com> Reviewed-by: Yiwei Zhang <yiwzhang@google.com> Commit-Queue: Yiwei Zhang <yiwzhang@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