<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools/git-repo.git/project.py, branch v2.38</title>
<subtitle>Mirror of gerrit.googlesource.com/git-repo</subtitle>
<id>https://git.enea.com/cgit/tools/git-repo.git/atom?h=v2.38</id>
<link rel='self' href='https://git.enea.com/cgit/tools/git-repo.git/atom?h=v2.38'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/'/>
<updated>2023-10-13T19:34:26+00:00</updated>
<entry>
<title>Update logger.warn to logger.warning</title>
<updated>2023-10-13T19:34:26+00:00</updated>
<author>
<name>Aravind Vasudevan</name>
<email>aravindvasudev@google.com</email>
</author>
<published>2023-10-13T19:22:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=8bc5000423aef45900b7fba112458ed586e13251'/>
<id>urn:sha1:8bc5000423aef45900b7fba112458ed586e13251</id>
<content type='text'>
Bug: 305035810
Change-Id: Ic2b35d5c3cbe92480c24da612f29382f5d26d4aa
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/389414
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Tested-by: Aravind Vasudevan &lt;aravindvasudev@google.com&gt;
Commit-Queue: Aravind Vasudevan &lt;aravindvasudev@google.com&gt;
</content>
</entry>
<entry>
<title>git_command: Augment underlying git errors with suggestions</title>
<updated>2023-10-06T18:21:45+00:00</updated>
<author>
<name>Aravind Vasudevan</name>
<email>aravindvasudev@google.com</email>
</author>
<published>2023-10-06T00:40:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=2844a5f3cc81ffe2b749e574bdeb61809deab5b9'/>
<id>urn:sha1:2844a5f3cc81ffe2b749e574bdeb61809deab5b9</id>
<content type='text'>
This change appends suggestions to the underlying git error to make the
error slightly more actionable.

DD: go/improve-repo-error-reporting &amp; go/tee-repo-stderr

Bug: b/292704435
Change-Id: I2bf8bea5fca42c6a9acd2fadc70f58f22456e027
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/387774
Commit-Queue: Aravind Vasudevan &lt;aravindvasudev@google.com&gt;
Reviewed-by: Jason Chang &lt;jasonnc@google.com&gt;
Tested-by: Aravind Vasudevan &lt;aravindvasudev@google.com&gt;
Reviewed-by: Aravind Vasudevan &lt;aravindvasudev@google.com&gt;
</content>
</entry>
<entry>
<title>project: Invoke realpath on dotgit for symmetry with gitdir to ensure a short relpath.</title>
<updated>2023-10-05T14:29:29+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@google.com</email>
</author>
<published>2023-09-29T16:42:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=47944bbe2ea69009c0da78573f6536ad2c77f026'/>
<id>urn:sha1:47944bbe2ea69009c0da78573f6536ad2c77f026</id>
<content type='text'>
Bug: 302680231

Change-Id: Icd01dd2ce62d737a4acb114e729189cd31f6bde9
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/388234
Tested-by: Jason R. Coombs &lt;jaraco@google.com&gt;
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Commit-Queue: Jason R. Coombs &lt;jaraco@google.com&gt;
</content>
</entry>
<entry>
<title>Track expected git errors in logs</title>
<updated>2023-09-27T19:05:16+00:00</updated>
<author>
<name>Jason Chang</name>
<email>jasonnc@google.com</email>
</author>
<published>2023-09-27T18:34:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=87058c6ca5ec2c66d0850f1015de01ec6c0dd758'/>
<id>urn:sha1:87058c6ca5ec2c66d0850f1015de01ec6c0dd758</id>
<content type='text'>
Sometimes it is expected that a GitCommand executed in repo fails. In
such cases indicate in trace logs that the error was expected.

Bug: b/293344017
Change-Id: If137fae9ef9769258246f5b4494e070345db4a71
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/387714
Commit-Queue: Jason Chang &lt;jasonnc@google.com&gt;
Reviewed-by: Gavin Mak &lt;gavinmak@google.com&gt;
Tested-by: Jason Chang &lt;jasonnc@google.com&gt;
</content>
</entry>
<entry>
<title>project: Use repo logger</title>
<updated>2023-09-14T17:14:40+00:00</updated>
<author>
<name>Aravind Vasudevan</name>
<email>aravindvasudev@google.com</email>
</author>
<published>2023-09-14T08:17:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=7a1f1f70f0587795e2b6979adf7eac389037de57'/>
<id>urn:sha1:7a1f1f70f0587795e2b6979adf7eac389037de57</id>
<content type='text'>
Bug: b/292704435
Change-Id: I510fc911530db2c84a7ee099fa2905ceac35d0b7
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/386295
Reviewed-by: Jason Chang &lt;jasonnc@google.com&gt;
Tested-by: Aravind Vasudevan &lt;aravindvasudev@google.com&gt;
Commit-Queue: Aravind Vasudevan &lt;aravindvasudev@google.com&gt;
</content>
</entry>
<entry>
<title>project: Use IsId instead of ID_RE.match</title>
<updated>2023-09-11T12:35:19+00:00</updated>
<author>
<name>Sylvain</name>
<email>sylvain.desodt@gmail.com</email>
</author>
<published>2023-09-11T11:38:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=56a5a01c659ab005d9a0820f16e927e6253ab80c'/>
<id>urn:sha1:56a5a01c659ab005d9a0820f16e927e6253ab80c</id>
<content type='text'>
Change-Id: I8ca83a034400da0cb97cba41415bfc50858a898b
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/385857
Tested-by: Sylvain Desodt &lt;sylvain.desodt@gmail.com&gt;
Commit-Queue: Sylvain Desodt &lt;sylvain.desodt@gmail.com&gt;
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>project: Optimise GetCommitRevisionId when revisionId is set</title>
<updated>2023-09-11T12:28:25+00:00</updated>
<author>
<name>Sylvain</name>
<email>sylvain.desodt@gmail.com</email>
</author>
<published>2023-09-10T21:35:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=e9cb3911178669cb16a65ab5741eea44b79fea03'/>
<id>urn:sha1:e9cb3911178669cb16a65ab5741eea44b79fea03</id>
<content type='text'>
When comparing 2 manifests, most of the time is
spent getting the relevant commit id as it relies
on _allrefs which ends up loading all git references.

However, the value from `revisionIs` (when it is valid)
could be used directly leading to a huge performance improvement
(from 180+ seconds to less than 0.01 sec which is more
than 25000 times faster for manifests with 700+ projects).

Bug: 295282548

Change-Id: I5881aa4b2326cc17bbb4ee91d23293111f76ad7e
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/385834
Tested-by: Sylvain Desodt &lt;sylvain.desodt@gmail.com&gt;
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Commit-Queue: Sylvain Desodt &lt;sylvain.desodt@gmail.com&gt;
</content>
</entry>
<entry>
<title>project: Preserve stderr on upload</title>
<updated>2023-08-28T17:13:44+00:00</updated>
<author>
<name>Jason Chang</name>
<email>jasonnc@google.com</email>
</author>
<published>2023-08-25T17:31:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=1e9f7b9e9ef473305d10a26a48138bc6ad38ccf6'/>
<id>urn:sha1:1e9f7b9e9ef473305d10a26a48138bc6ad38ccf6</id>
<content type='text'>
A previous change captured stderr when uploading git projects. This
change ensures stderr is sent to stderr.

Bug: b/297097597
Change-Id: I8314e1017d2a42b7b655fe43ce3c312d397894ca
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/384134
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Commit-Queue: Jason Chang &lt;jasonnc@google.com&gt;
Tested-by: Jason Chang &lt;jasonnc@google.com&gt;
Reviewed-by: Sam Saccone &lt;samccone@google.com&gt;
</content>
</entry>
<entry>
<title>isort: format codebase</title>
<updated>2023-08-22T18:32:22+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2023-08-22T01:20:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=6447733eb28ea188d551ae518a7e51ebf63a4350'/>
<id>urn:sha1:6447733eb28ea188d551ae518a7e51ebf63a4350</id>
<content type='text'>
Change-Id: I6f11d123b68fd077f558d3c21349c55c5f251019
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/383715
Reviewed-by: Gavin Mak &lt;gavinmak@google.com&gt;
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
Commit-Queue: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>upload: fix error handling</title>
<updated>2023-08-21T16:52:48+00:00</updated>
<author>
<name>Jason Chang</name>
<email>jasonnc@google.com</email>
</author>
<published>2023-08-17T18:36:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=5a3a5f7cec40c70d8c5ceb473f828e1149724962'/>
<id>urn:sha1:5a3a5f7cec40c70d8c5ceb473f828e1149724962</id>
<content type='text'>
There was a bug in error handeling code that caused an uncaught
exception to be raised.

Bug: b/296316540
Change-Id: I49c72f29c00f26ba60de552f958bc6eddf841162
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/383254
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Commit-Queue: Jason Chang &lt;jasonnc@google.com&gt;
Tested-by: Jason Chang &lt;jasonnc@google.com&gt;
</content>
</entry>
</feed>
