<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools/git-repo.git, branch v2.31</title>
<subtitle>Mirror of gerrit.googlesource.com/git-repo</subtitle>
<id>https://git.enea.com/cgit/tools/git-repo.git/atom?h=v2.31</id>
<link rel='self' href='https://git.enea.com/cgit/tools/git-repo.git/atom?h=v2.31'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/'/>
<updated>2022-12-08T17:17:30+00:00</updated>
<entry>
<title>tests: drop old unittest.main logic</title>
<updated>2022-12-08T17:17:30+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2022-12-08T06:27:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=a621254b263664efa308a645214d3d140e068676'/>
<id>urn:sha1:a621254b263664efa308a645214d3d140e068676</id>
<content type='text'>
We use pytest now which doesn't need this boilerplate.

Change-Id: Ib71d90b3f1669897814ee768927b5b595ca8d789
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/354355
Reviewed-by: Josip Sokcevic &lt;sokcevic@google.com&gt;
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>sync: fix manifest sync-j handling</title>
<updated>2022-12-08T15:06:24+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2022-12-07T14:41:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=f159ce0f9ef5bce5a4866a677f0534e3b45a80e2'/>
<id>urn:sha1:f159ce0f9ef5bce5a4866a677f0534e3b45a80e2</id>
<content type='text'>
Since --jobs defaults to 0, not None, we never pull the value out
of the manifest.  Treat values of 0 and None the same to fix.

Bug: http://b/239712300
Bug: http://b/260908907
Change-Id: I9b1026682072366616825fd72f90bd90c10a252f
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/354254
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
Reviewed-by: Josip Sokcevic &lt;sokcevic@google.com&gt;
Reviewed-by: Sam Saccone &lt;samccone@google.com&gt;
</content>
</entry>
<entry>
<title>sync: Fix undefined variable in _FetchOne</title>
<updated>2022-12-08T06:29:00+00:00</updated>
<author>
<name>Karsten Tausche</name>
<email>karsten@fairphone.com</email>
</author>
<published>2022-12-06T08:56:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=802cd0c6016d91c62c25178ee1ccc1e78505502c'/>
<id>urn:sha1:802cd0c6016d91c62c25178ee1ccc1e78505502c</id>
<content type='text'>
If syncing in _FetchOne fails with GitError, sync_result does not get
set. There's already a separate local variable for success; do the same
for remote_fetched instead of referring to the conditionally defined
named tuple.

This bug is originally caused by a combination of ad8aa697 "sync: only
print error.GitError, don't raise that exception." and 1eddca84 "sync:
use namedtuples for internal return values".

Change-Id: I0f9dbafb97f8268044e5a56a6f92cf29bc23ca6a
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/354176
Tested-by: Karsten Tausche &lt;karsten@fairphone.com&gt;
Reviewed-by: LaMont Jones &lt;lamontjones@google.com&gt;
</content>
</entry>
<entry>
<title>sync: finish marking REPO_AUTO_GC=1 as deprecated.</title>
<updated>2022-12-05T18:11:24+00:00</updated>
<author>
<name>LaMont Jones</name>
<email>lamontjones@google.com</email>
</author>
<published>2022-12-02T22:54:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=100a2143156c9e35d84688da62124f6a629773dd'/>
<id>urn:sha1:100a2143156c9e35d84688da62124f6a629773dd</id>
<content type='text'>
The wrong revision of the change was submitted as
d793553804c76677444709ebefd70f6e01c29525.

Change-Id: I6f3e4993cf40c30ccf0d69020177db8fe5f76b8c
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/353934
Tested-by: LaMont Jones &lt;lamontjones@google.com&gt;
Reviewed-by: Sam Saccone &lt;samccone@google.com&gt;
</content>
</entry>
<entry>
<title>test_manifest_config_properties: use assertEqual</title>
<updated>2022-12-05T13:09:09+00:00</updated>
<author>
<name>Daniel Kutik</name>
<email>daniel.kutik@lavawerk.com</email>
</author>
<published>2022-12-05T09:10:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=8051cdb6298a1916a28c9ff3ac5f897bdaa35c66'/>
<id>urn:sha1:8051cdb6298a1916a28c9ff3ac5f897bdaa35c66</id>
<content type='text'>
The method assertEquals is an deprecated alias for
assertEqual.
See: https://docs.python.org/3/library/unittest.html#deprecated-aliases

Change-Id: Id94ba6d6055bdc18b87c53e8729902bb278855aa
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/354035
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Tested-by: Daniel Kutik &lt;daniel.kutik@lavawerk.com&gt;
</content>
</entry>
<entry>
<title>sync: cleanup output when not doing GC</title>
<updated>2022-12-02T22:50:23+00:00</updated>
<author>
<name>LaMont Jones</name>
<email>lamontjones@google.com</email>
</author>
<published>2022-11-30T19:55:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=43549d8d08ed206c1c5cb85bd6884d3bfd344d4c'/>
<id>urn:sha1:43549d8d08ed206c1c5cb85bd6884d3bfd344d4c</id>
<content type='text'>
Do not use a progress bar when not doing GC, and restrict activity in
that case to only repairing preciousObject state.

This also includes additional cleanup based on review comments from
previous changes.

Change-Id: I48581c9d25da358bc7ae15f40e98d55bec142331
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/353514
Tested-by: LaMont Jones &lt;lamontjones@google.com&gt;
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>Revert "sync: save any cruft after calling git gc."</title>
<updated>2022-12-02T22:40:06+00:00</updated>
<author>
<name>LaMont Jones</name>
<email>lamontjones@google.com</email>
</author>
<published>2022-12-01T21:17:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=55b7125d6a4e9ff35bf45b8ea32fad9528a1a9d3'/>
<id>urn:sha1:55b7125d6a4e9ff35bf45b8ea32fad9528a1a9d3</id>
<content type='text'>
This bug-cacher related code is no longer needed.

This reverts commit 891e8f72ce3551a19c377456574bbfbeac5c8b8e.

Change-Id: Ia94a2690ff149427fdcafacd39f5008cd60827d5
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/353774
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Reviewed-by: Sam Saccone &lt;samccone@google.com&gt;
Tested-by: LaMont Jones &lt;lamontjones@google.com&gt;
</content>
</entry>
<entry>
<title>sync: mark REPO_AUTO_GC=1 as deprecated.</title>
<updated>2022-12-02T22:33:11+00:00</updated>
<author>
<name>LaMont Jones</name>
<email>lamontjones@google.com</email>
</author>
<published>2022-12-01T20:18:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=d793553804c76677444709ebefd70f6e01c29525'/>
<id>urn:sha1:d793553804c76677444709ebefd70f6e01c29525</id>
<content type='text'>
REPO_AUTO_GC was introduced as a way for users to restore the previous
default behavior, since the default changed at the same time as the
option was added.  As such, it should be marked as deprecated, and
removed entirely in a future release.

Change-Id: Ib73d98fbea693e7057cc4587928c225a9e4beab2
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/353734
Reviewed-by: Sam Saccone &lt;samccone@google.com&gt;
Tested-by: LaMont Jones &lt;lamontjones@google.com&gt;
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>Fix ManifestProject.partial_clone_exclude property.</title>
<updated>2022-12-02T14:57:56+00:00</updated>
<author>
<name>Joanna Wang</name>
<email>jojwang@google.com</email>
</author>
<published>2022-12-02T14:47:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=ea5239ddd930624532cd1d0edccc0f3e74bec73f'/>
<id>urn:sha1:ea5239ddd930624532cd1d0edccc0f3e74bec73f</id>
<content type='text'>
Bug: b/256358360

Change-Id: Ic6e3a049aa38827123d0324c8b14157562c5986e
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/353574
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Tested-by: Joanna Wang &lt;jojwang@google.com&gt;
Reviewed-by: Josip Sokcevic &lt;sokcevic@google.com&gt;
</content>
</entry>
<entry>
<title>release-process: update to use ./release/sign-tag.py</title>
<updated>2022-12-01T00:04:24+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2022-11-24T04:43:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=1b8714937c20d43f98bd9ffe498a49fcfb086141'/>
<id>urn:sha1:1b8714937c20d43f98bd9ffe498a49fcfb086141</id>
<content type='text'>
We have a helper script for signing releases now, so point the docs
to that rather than the multiple manual steps.

Change-Id: I309e883dbce1894650e31682d9975cf0d6bdeca3
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/352834
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
Reviewed-by: Josip Sokcevic &lt;sokcevic@google.com&gt;
</content>
</entry>
</feed>
