<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools/git-repo.git, branch v2.34</title>
<subtitle>Mirror of gerrit.googlesource.com/git-repo</subtitle>
<id>https://git.enea.com/cgit/tools/git-repo.git/atom?h=v2.34</id>
<link rel='self' href='https://git.enea.com/cgit/tools/git-repo.git/atom?h=v2.34'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/'/>
<updated>2023-05-25T17:26:22+00:00</updated>
<entry>
<title>sync: Show number of running fetch jobs</title>
<updated>2023-05-25T17:26:22+00:00</updated>
<author>
<name>Gavin Mak</name>
<email>gavinmak@google.com</email>
</author>
<published>2023-05-24T21:28:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=04cba4add52b11a27d09d73c2cbfebcd67a1f2cc'/>
<id>urn:sha1:04cba4add52b11a27d09d73c2cbfebcd67a1f2cc</id>
<content type='text'>
Last of the recent `repo sync` UX changes. Show number of fetch jobs eg:
"Fetching:  3% (8/251) 0:03 | 8 jobs | 0:01 chromiumos/overlays/chrom.."

Bug: https://crbug.com/gerrit/11293
Change-Id: I1b3dcf3e56ae6731c6c6cb73cfce069b2f374b69
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/374920
Reviewed-by: Josip Sokcevic &lt;sokcevic@google.com&gt;
Commit-Queue: Gavin Mak &lt;gavinmak@google.com&gt;
Tested-by: Gavin Mak &lt;gavinmak@google.com&gt;
Reviewed-by: Joanna Wang &lt;jojwang@google.com&gt;
</content>
</entry>
<entry>
<title>upload: use f-string</title>
<updated>2023-05-25T17:12:18+00:00</updated>
<author>
<name>Josip Sokcevic</name>
<email>sokcevic@google.com</email>
</author>
<published>2023-05-24T17:19:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=3eacfdf3090a961ada4ebeb8e28f0782eac4c9d8'/>
<id>urn:sha1:3eacfdf3090a961ada4ebeb8e28f0782eac4c9d8</id>
<content type='text'>
Change-Id: I91b99a7147c7c3cb5485d5406316c8ffd79f9272
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/374914
Commit-Queue: Josip Sokcevic &lt;sokcevic@google.com&gt;
Reviewed-by: Joanna Wang &lt;jojwang@google.com&gt;
Tested-by: Josip Sokcevic &lt;sokcevic@google.com&gt;
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>project: Include tags option during fetch retry</title>
<updated>2023-05-25T12:16:06+00:00</updated>
<author>
<name>Nasser Grainawi</name>
<email>nasser.grainawi@linaro.org</email>
</author>
<published>2023-05-24T18:51:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=aafed29d34e67619b0df5b4a062b914eb7584ea5'/>
<id>urn:sha1:aafed29d34e67619b0df5b4a062b914eb7584ea5</id>
<content type='text'>
If the original fetch attempt did not want tags, we should continue to
honor that when doing a retry fetch with depth set to None. This seems
to match the intent of the retry based on the inline comment and results
in a significant performance improvement when the original fetch-by-sha1
fails due to the server not allowing requests for unadvertised objects.

Change-Id: Ia26bb31ea9aecc4ba2d3e87fc0c5412472cd98c4
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/374918
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Reviewed-by: Kaushik Lingarkar &lt;kaushik.lingarkar@linaro.org&gt;
Tested-by: Kaushik Lingarkar &lt;kaushik.lingarkar@linaro.org&gt;
</content>
</entry>
<entry>
<title>Parse OpenSSH versions with no SSH_EXTRAVERSION</title>
<updated>2023-05-24T17:33:08+00:00</updated>
<author>
<name>Saagar Jha</name>
<email>saagarjha@google.com</email>
</author>
<published>2023-05-04T20:50:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=90f574f02e0b8432de2ad03951ea74df3464dc38'/>
<id>urn:sha1:90f574f02e0b8432de2ad03951ea74df3464dc38</id>
<content type='text'>
If the Debian banner is not used, then there won't be a space after the
version number: it'll be followed directly by a comma.

Bug: https://crbug.com/gerrit/16903
Change-Id: I12b873f32afc9424f42b772399c346f96ca95a96
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/372875
Tested-by: Saagar Jha &lt;saagarjha@google.com&gt;
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>sync: Show elapsed time for the longest syncing project</title>
<updated>2023-05-18T18:10:24+00:00</updated>
<author>
<name>Gavin Mak</name>
<email>gavinmak@google.com</email>
</author>
<published>2023-05-04T04:48:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=551285fa35ccd0836513e9cf64ee8d3372e5e3f4'/>
<id>urn:sha1:551285fa35ccd0836513e9cf64ee8d3372e5e3f4</id>
<content type='text'>
"Last synced: X" is printed only after a project finishes syncing.
Replace that with a message that shows the longest actively syncing
project.

Bug: https://crbug.com/gerrit/11293
Change-Id: I84c7873539d84999772cd554f426b44921521e85
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/372674
Reviewed-by: Josip Sokcevic &lt;sokcevic@google.com&gt;
Commit-Queue: Gavin Mak &lt;gavinmak@google.com&gt;
Reviewed-by: Joanna Wang &lt;jojwang@google.com&gt;
Tested-by: Gavin Mak &lt;gavinmak@google.com&gt;
</content>
</entry>
<entry>
<title>[git_trace2] Add logs for critical cmds</title>
<updated>2023-05-17T18:06:14+00:00</updated>
<author>
<name>Josip Sokcevic</name>
<email>sokcevic@google.com</email>
</author>
<published>2023-05-13T00:00:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=131fc96381e112b0aa7a1012243e2ed5cfd3ec01'/>
<id>urn:sha1:131fc96381e112b0aa7a1012243e2ed5cfd3ec01</id>
<content type='text'>
Trace logs emitted from repo are not useful on error for many critical
commands. This change adds errors for critical commands to trace logs.

Change-Id: Ideb9358bee31e540bd84a94327a09ff9b0246a77
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/373814
Reviewed-by: Joanna Wang &lt;jojwang@google.com&gt;
Tested-by: Josip Sokcevic &lt;sokcevic@google.com&gt;
Commit-Queue: Josip Sokcevic &lt;sokcevic@google.com&gt;
Reviewed-by: Gavin Mak &lt;gavinmak@google.com&gt;
</content>
</entry>
<entry>
<title>[trace2] Add absolute time on trace2 exit events</title>
<updated>2023-05-15T22:21:23+00:00</updated>
<author>
<name>Josip Sokcevic</name>
<email>sokcevic@google.com</email>
</author>
<published>2023-05-15T19:54:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=2ad5d508740a0bf3a4fe13bd27525b57da683a68'/>
<id>urn:sha1:2ad5d508740a0bf3a4fe13bd27525b57da683a68</id>
<content type='text'>
Change-Id: I58aff46bd4ff4ba79286a7f1226e19eb568c34c5
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/373954
Reviewed-by: Gavin Mak &lt;gavinmak@google.com&gt;
Tested-by: Josip Sokcevic &lt;sokcevic@google.com&gt;
Commit-Queue: Josip Sokcevic &lt;sokcevic@google.com&gt;
</content>
</entry>
<entry>
<title>SUBMITTING_PATCHES: update with commit queue details</title>
<updated>2023-05-11T19:27:57+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2023-05-11T19:02:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=acb9523eaab5a0aead71b85b5d17ac9b715b513c'/>
<id>urn:sha1:acb9523eaab5a0aead71b85b5d17ac9b715b513c</id>
<content type='text'>
Change-Id: I59dffb8524cb95b3fd4196bcecd18426f09bf9c4
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/373694
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
Commit-Queue: Mike Frysinger &lt;vapier@google.com&gt;
Reviewed-by: Gavin Mak &lt;gavinmak@google.com&gt;
</content>
</entry>
<entry>
<title>sync: Fix how sync times for shared projects are recorded</title>
<updated>2023-05-10T21:14:57+00:00</updated>
<author>
<name>Gavin Mak</name>
<email>gavinmak@google.com</email>
</author>
<published>2023-05-10T20:41:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=041f97725a8b647b82fbeba971cb2caf84da68c7'/>
<id>urn:sha1:041f97725a8b647b82fbeba971cb2caf84da68c7</id>
<content type='text'>
https://gerrit.googlesource.com/git-repo/+/d947858325ae70ff9c0b2f463a9e8c4ffd00002a introduced a moving average of fetch times in 2012.

The code does not handle shared projects, and averages times based on project names which is incorrect.

Change-Id: I9926122cdb1ecf201887a81e96f5f816d3c2f72a
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/373574
Tested-by: Gavin Mak &lt;gavinmak@google.com&gt;
Commit-Queue: Gavin Mak &lt;gavinmak@google.com&gt;
Reviewed-by: Josip Sokcevic &lt;sokcevic@google.com&gt;
</content>
</entry>
<entry>
<title>manifest: add support for revision in include</title>
<updated>2023-05-05T03:40:28+00:00</updated>
<author>
<name>Shuchuan Zeng</name>
<email>zengshuchuan@allwinnertech.com</email>
</author>
<published>2023-04-18T02:36:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=3e3340d94f8a680156ceaa81faca1c3b8863c6ac'/>
<id>urn:sha1:3e3340d94f8a680156ceaa81faca1c3b8863c6ac</id>
<content type='text'>
Attribute groups can now be added to manifest include, thus
all projects in an included manifest file can easily modify
default branch without modifying all projects in that manifest file.

For example,
the main manifest.xml has an include node contain revision attribute,
```
&lt;include name="include.xml" revision="r1" /&gt;
```
and the include.xml has some projects,
```
&lt;project path="project1_path" name="project1_name" revision="r2" /&gt;
&lt;project path="project2_path" name="project2_name" /&gt;
```
With this change, the final manifest will have revision="r1" for project2.
```
&lt;project name="project1_name" path="project1_path" revision="r2" /&gt;
&lt;project name="project2_name" path="project2_path" revision="r1" /&gt;
```

Test: added unit tests to cover the inheritance

Change-Id: I4b8547a7198610ec3a3c6aeb2136e0c0f3557df0
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/369714
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Commit-Queue: Shuchuan Zeng &lt;zengshuchuan@allwinnertech.com&gt;
Tested-by: Shuchuan Zeng &lt;zengshuchuan@allwinnertech.com&gt;
</content>
</entry>
</feed>
