repo v2.63

146 views
Skip to first unread message

Gavin Mak

unread,
Apr 20, 2026, 7:11:30 PMApr 20
to Repo and Gerrit Discussion
Hi all,

repo v2.63 has been released: https://gerrit.googlesource.com/git-repo/+/refs/tags/v2.63. I plan to promote it to stable Wednesday 4/22.

v2.63 introduces command forgiveness with autocorrect to handle typoed repo subcommands and adds a new `sync-strategy` manifest attribute to support "stateless" sync for large repos. It also refactors sync GC operations to fix a config leakage bug and fixes hangs during repacks in partial clones.

Changelog (link):
baa281d (Gavin Mak) sync: Refactor to use _RunOneGC and fix config leakage
7e9079b (Gavin Mak) sync: Switch to using self._bloated_projects
61bd6b3 (Gavin Mak) tests: Add tests for _CheckForBloatedProjects and _GCProjects
32e7327 (Marty Heavey) upload: Clarify partial sync message on hook failure
4f707ff (Gavin Mak) sync: Provide feedback during post-sync operations
e2671c1 (Gavin Mak) progress: Ignore updates after progress ends
b43a20b (Becky Siegel) project: Avoid skipping fetches for shallow clones without .git/shallow
8869a30 (Miyako.Enei) project: Drop --no-deref from update-ref --stdin
3b0eebe (Gavin Mak) project: implement stateless sync pruning logic
00991bf (Gavin Mak) manifest: Add `sync-strategy` attribute to project elements
e8338b5 (Nasser Grainawi) tests: Convert forall subcmd test to pytest
951666f (Gavin Mak) gc: Fix hang during repack in partial clones
854b330 (Carlos Fernandez) test_wrapper: add test for repo script executable permission
654690e (Mike Frysinger) tests: convert more tests to pytest
ac2be4c (Mike Frysinger) tests: convert __file__ usage to pathlib
3d819e8 (Mike Frysinger) tests: unify fixture() helper with Path constant
5739839 (Carlos Fernandez) Fix all flake8 warnings from newer flake8-bugbear and flake8-comprehensions
3f3c681 (Gavin Mak) project: Refactor GetHead to use symbolic-ref first
242e97d (Sam Saccone) Implement command forgiveness with autocorrect

Gavin Mak

unread,
Apr 22, 2026, 3:00:14 PMApr 22
to Repo and Gerrit Discussion
I just received a report of sync failing on some manifests, likely due to a optimizations made in b43a20b. I'll postpone promoting v2.63 to stable until this is resolved. 

Gavin Mak

unread,
Apr 27, 2026, 12:11:35 PMApr 27
to Repo and Gerrit Discussion
v2.63 has now been promoted to stable. (The reporter of the previously mentioned bug confirmed it wasn't introduced by v2.63)

Marc De Boeck

unread,
May 5, 2026, 4:14:16 AMMay 5
to Repo and Gerrit Discussion
Hello Gavin,

Since this release, it seems our windows users have problems running the upgrade of repo during the repo init command. Is this a known problem? Can you advice what to do?

Downloading Repo source from https://gerrit.googlesource.com/git-repo
repo: error: "git" failed with exit status 1
  cwd: C:\Data\GIT\.repo\repo.tmp
  cmd: ['git', 'tag', '-v', 'v2.63']
  stdout:
>> object baa281d99e59dbf1447524e6fd95b384cadbc06e
>> type commit
>> tag v2.63
>> tagger Gavin Mak <gavi...@google.com> 1776725691 +0000
>>
>> repo v2.63
  stderr:
>> gpg: keyblock resource '/c/Data/GIT/.repo/repo.tmp/C:\\Users\\xxx\\.repoconfig\\gnupg/pubring.kbx': No such file or directory
>> gpg: Signature made Tue Apr 21 00:54:51 2026
>> gpg:                using DSA key 8BB9AD793E8E6153AF0F9A4416530D5E920F5C65
>> gpg: Can't check signature: No public key
fatal: double check your --repo-rev setting.
fatal: cloning the git-repo repository failed, will remove '.repo\repo'

Thanks in advance,
Marc


Op dinsdag 21 april 2026 om 01:11:30 UTC+2 schreef Gavin Mak:

Gavin Mak

unread,
May 5, 2026, 4:59:53 PM (14 days ago) May 5
to Repo and Gerrit Discussion
Please file a bug here: https://issues.gerritcodereview.com/new?component=1370071. This looks like an issue in the repo launcher, but that hasn't had any changes since v2.61.1. As temporary workaround, you can pass --no-repo-verify to repo init.

Marc De Boeck

unread,
May 8, 2026, 2:48:24 AM (12 days ago) May 8
to Repo and Gerrit Discussion

Thx. Bug report created: https://issues.gerritcodereview.com/510840000

Op dinsdag 5 mei 2026 om 22:59:53 UTC+2 schreef Gavin Mak:
Reply all
Reply to author
Forward
0 new messages