summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2021-05-04 15:16:38 -0400
committerMike Frysinger <vapier@google.com>2021-05-04 19:37:48 +0000
commit2ee0a62db077c6e96ae2002a6f9fc1196146710a (patch)
treefdfcc6946cee8088eb67e277eabb157f8aa524bf
parentc177f944d95c460803f8a894fd13d4901c3155fe (diff)
downloadgit-repo-2ee0a62db077c6e96ae2002a6f9fc1196146710a.tar.gz
release-process: document the rate limiting in automatic updates
We check for updates only once per day, so clarify the docs. Change-Id: Ib669ca6ebc67bc13204996fa40e1a3a82012295e Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/305145 Reviewed-by: Raman Tenneti <rtenneti@google.com> Tested-by: Mike Frysinger <vapier@google.com>
-rw-r--r--docs/release-process.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/release-process.md b/docs/release-process.md
index 43209eb0..3373aae6 100644
--- a/docs/release-process.md
+++ b/docs/release-process.md
@@ -83,7 +83,8 @@ control how repo finds updates:
83* `--repo-rev`: This tells repo which branch to use for the full project. 83* `--repo-rev`: This tells repo which branch to use for the full project.
84 It defaults to the `stable` branch (`REPO_REV` in the launcher script). 84 It defaults to the `stable` branch (`REPO_REV` in the launcher script).
85 85
86Whenever `repo sync` is run, repo will check to see if an update is available. 86Whenever `repo sync` is run, repo will, once every 24 hours, see if an update
87is available.
87It fetches the latest repo-rev from the repo-url. 88It fetches the latest repo-rev from the repo-url.
88Then it verifies that the latest commit in the branch has a valid signed tag 89Then it verifies that the latest commit in the branch has a valid signed tag
89using `git tag -v` (which uses gpg). 90using `git tag -v` (which uses gpg).
@@ -95,6 +96,11 @@ If that tag is valid, then repo will warn and use that commit instead.
95 96
96If that tag cannot be verified, it gives up and forces the user to resolve. 97If that tag cannot be verified, it gives up and forces the user to resolve.
97 98
99### Force an update
100
101The `repo selfupdate` command can be used to force an immediate update.
102It is not subject to the 24 hour limitation.
103
98## Branch management 104## Branch management
99 105
100All development happens on the `main` branch and should generally be stable. 106All development happens on the `main` branch and should generally be stable.