repo v2.15 prerelease

233 views
Skip to first unread message

Mike Frysinger

unread,
May 10, 2021, 5:39:47 PM5/10/21
to Repo and Gerrit Discussion
I've created a new release, but not yet pushed it live.  Instead, people have to opt-in to it by passing --repo-rev=main when running `repo init`.  You can then run `repo selfupdate && repo version` to double check your local state.

So please bang on things and let us know how it goes.  Even "it works" is useful feedback as it means I'm not the only one running it :).
If things look good the rest of this week, I'll publish it next week.

339f2df1ddd7 (Mike Frysinger) ssh: rewrite proxy management for multiprocessing usage
19e409c81863 (Mike Frysinger) ssh: move proxy usage to the sync subcommand
4a5810025162 (Mike Frysinger) launcher: bump version for new release
0e8828c47b50 (Craig Northway) Handle 400 error code when attempting to fetch clone bundle.
23ea7545244e (Raman Tenneti) sync: added --no-use-superproject to disable superproject.
f907ced0fead (Raman Tenneti) sync: Recommend using --no-use-superproject if sync fails.
b44294395f44 (Mike Frysinger) sync: refactor main fetch loop
5291eafa4121 (Mike Frysinger) ssh: move all ssh logic to a common place
8e768eaaa722 (Mike Frysinger) git_command: switch version caches to functools
2f8fdbecde98 (Raman Tenneti) manifest_xml: cleanup of contactinfo test for readability with f-strings.
219431e1c986 (Mike Frysinger) sync: fix recursive fetching
5ba80d404cd6 (Mike Frysinger) git_config: hoist Windows ssh check earlier
1c3f57e8f13d (Raman Tenneti) manifest_xml: initial support for <contactinfo>
05638bf77193 (Mike Frysinger) sync: use manifest_name passed in
c99322a6a9e4 (Mike Frysinger) sync: switch to multiprocessing.Event
14208f4c938a (Mike Frysinger) sync: fix logic error with linkfile errors
2ee0a62db077 (Mike Frysinger) release-process: document the rate limiting in automatic updates
c177f944d95c (Mike Frysinger) subcmds: force consistent help text format
aedd1e5ef015 (Mike Frysinger) sync: fix print error when handling server error
5a41b0be012f (Raman Tenneti) superproject: skip updating commit ids if remote's fetchUrl don't match.
d68ed63328fe (Mike Frysinger) init/sync: add --no-tags to match --tags
7356114d9084 (Mike Frysinger) add --no-current-branch option to invert --current-branch
b8e09ea1d6e8 (Mike Frysinger) harmonize --current-branch short option across subcommands
feb28914bd17 (Raman Tenneti) superproject: Don't update the commit ids of projects if remote is different.
d1f3e149df44 (Mike Frysinger) upload: search local projects in parallel
29626b4f463d (Mike Frysinger) project: fix m/ generation when switching manifest branches
3b038cecc4ff (Mike Frysinger) upload: include the project in error messages
a590e640a69b (jiajia tang) Update copyfile and linkfile if manifest updated
f69c7ee3187e (Mike Frysinger) manifest_xml: ban use of newlines in paths
aabf79d3f073 (Xin Li) sync: Fix a corner case when both superproject and depth used.
a1cd770d5664 (Mike Frysinger) help/version: sprinkle bug report URL around

Mike Frysinger

unread,
May 17, 2021, 12:45:08 PM5/17/21
to Repo and Gerrit Discussion
i've pushed the 2.15 release live since i didn't hear anything back

Mike Frysinger

unread,
May 19, 2021, 11:16:42 AM5/19/21
to Repo and Gerrit Discussion
i've pushed out a minor 2.15.1 update with a single commit:
993af5e13603 (Raman Tenneti) superproject: Use bugurl from contactinfo in the missing commits error message.
-mike

Peter Kjellerstedt

unread,
May 19, 2021, 2:32:09 PM5/19/21
to repo-d...@googlegroups.com, Mike Frysinger

Sorry to say, but checking out submodules is broken with 2.15.1 (and 2.15). When syncing a manifest with a superrepo that has sync-s="true", the first sync only checks out the superrepo, the second sync checks out the submodules.

 

I have pushed a review that fixes the problem here: https://gerrit-review.googlesource.com/c/git-repo/+/307065

 

//Peter

 

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/CAAbOSc%3D3Rq80NrzFeCtmwO1kRS3Wp0TgCqXpnQd-h%2BEcp9a7hg%40mail.gmail.com.

Mike Frysinger

unread,
May 20, 2021, 12:28:54 PM5/20/21
to Repo and Gerrit Discussion
another minor fix for v2.15.2:
b16b9d26bd2d (Mike Frysinger) project: fix error display when output_redir is disabled

Jerry Wehler

unread,
May 28, 2021, 11:26:32 AM5/28/21
to Repo and Gerrit Discussion
Found a rather obscure issue in v2.15.x in Windows that only applies to older Win10 installs. ssh wasn't built into the Terminal until Windows 10 version 1803. We have some VMs running version 1703 and the v2.15.x releases now fail during repo sync. I can force --repo-rev=v2.14.5 and proceed successfully.

-Jerry

Traceback (most recent call last):
  File "c:\dev\test\.repo\repo\main.py", line 627, in <module>
    _Main(sys.argv[1:])
  File "c:\dev\test\.repo\repo\main.py", line 603, in _Main
    result = run()
  File "c:\dev\test\.repo\repo\main.py", line 596, in <lambda>
    run = lambda: repo._Run(name, gopts, argv) or 0
  File "c:\dev\test\.repo\repo\main.py", line 262, in _Run
    result = cmd.Execute(copts, cargs)
  File "c:\dev\test\.repo\repo\subcmds\sync.py", line 1008, in Execute
    ssh_proxy.sock()
  File "c:\dev\test\.repo\repo\ssh.py", line 270, in sock
    if version() < (6, 7):
  File "c:\dev\test\.repo\repo\ssh.py", line 54, in version
    return _parse_ssh_version()
  File "c:\dev\test\.repo\repo\ssh.py", line 42, in _parse_ssh_version
    ver_str = _run_ssh_version()
  File "c:\dev\test\.repo\repo\ssh.py", line 36, in _run_ssh_version
    return subprocess.check_output(['ssh', '-V'], stderr=subprocess.STDOUT).decode()
  File "C:\Users\fwbuilduser\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 424, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "C:\Users\fwbuilduser\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 505, in run
    with Popen(*popenargs, **kwargs) as process:
  File "C:\Users\fwbuilduser\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\fwbuilduser\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1420, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified


repo version v2.15
       (tracking refs/heads/stable)
       (Mon, 10 May 2021 21:16:06 +0000)
repo launcher version 2.15
       (from C:\dev\bin\repo)
       (currently at 2.15)
repo User-Agent git-repo/2.15 (Win32) git/2.31.1.windows.1 Python/3.9.2
git 2.31.1.windows.1
git User-Agent git/2.31.1.windows.1 (Win32) git-repo/2.15
Python 3.9.2 (tags/v3.9.2:1a79785, Feb 19 2021, 13:44:55) [MSC v.1928 64 bit (AMD64)]
OS Windows 10 (10.0.15063)
CPU AMD64 (Intel64 Family 6 Model 63 Stepping 0, GenuineIntel)

Mike Frysinger

unread,
Jun 16, 2021, 9:24:41 AM6/16/21
to Repo and Gerrit Discussion
hmm, looks like i tagged v2.15.3 & v2.15.4, and then forgot to actually release them.

v2.15.3 had one fix:
d177609cb028 (Peter Kjellerstedt) sync: Sync submodules correctly again

v2.15.4 had one more fix:
e253b43e17de (Raman Tenneti) superproject: require git version 2.28.0 or higher.
5d58c18146e1 (Peter Kjellerstedt) tests: Make the tests pass for Python < 3.8

this should conclude the 2.15 series.
-mike
Reply all
Reply to author
Forward
0 new messages