<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools/git-repo.git/git_superproject.py, branch v2.57</title>
<subtitle>Mirror of gerrit.googlesource.com/git-repo</subtitle>
<id>https://git.enea.com/cgit/tools/git-repo.git/atom?h=v2.57</id>
<link rel='self' href='https://git.enea.com/cgit/tools/git-repo.git/atom?h=v2.57'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/'/>
<updated>2025-06-10T19:38:23+00:00</updated>
<entry>
<title>info: fix mismatched format args and wrong symbol name</title>
<updated>2025-06-10T19:38:23+00:00</updated>
<author>
<name>Scott Lee</name>
<email>ddoman@google.com</email>
</author>
<published>2025-06-10T19:34:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=b262d0e4619c406a2708856ed312091d21c5bf39'/>
<id>urn:sha1:b262d0e4619c406a2708856ed312091d21c5bf39</id>
<content type='text'>
Bug: 416589884
Change-Id: Icbaade585932f0cbb51367e07925ef606f089697
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/482762
Commit-Queue: Scott Lee &lt;ddoman@google.com&gt;
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Lint: Scott Lee &lt;ddoman@google.com&gt;
Tested-by: Scott Lee &lt;ddoman@google.com&gt;
</content>
</entry>
<entry>
<title>git_superproject: Replace walrus operator</title>
<updated>2025-06-04T17:02:01+00:00</updated>
<author>
<name>Gavin Mak</name>
<email>gavinmak@google.com</email>
</author>
<published>2025-06-04T04:06:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=0cb88a8d791486d7c9bc86b6fdfdd26f64a37006'/>
<id>urn:sha1:0cb88a8d791486d7c9bc86b6fdfdd26f64a37006</id>
<content type='text'>
It was released in python 3.8, and repo still supports 3.6.

Bug: 422226033
Change-Id: I6bdd2cdbb074766ecfb1492d842c847781c4b264
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/481201
Tested-by: Gavin Mak &lt;gavinmak@google.com&gt;
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>upload: Add rev to rootRepo push option</title>
<updated>2025-05-28T18:44:55+00:00</updated>
<author>
<name>Gavin Mak</name>
<email>gavinmak@google.com</email>
</author>
<published>2025-05-23T17:35:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=08815ad3eb245872700201e03c47cb504d1dc3f9'/>
<id>urn:sha1:08815ad3eb245872700201e03c47cb504d1dc3f9</id>
<content type='text'>
Bug: b/401147338
Change-Id: Iac19af5aadd250538702920d9beaeef9250c78fe
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/478801
Tested-by: Gavin Mak &lt;gavinmak@google.com&gt;
Reviewed-by: Scott Lee &lt;ddoman@google.com&gt;
</content>
</entry>
<entry>
<title>info: print superproject revision</title>
<updated>2025-05-27T18:49:32+00:00</updated>
<author>
<name>Scott Lee</name>
<email>ddoman@google.com</email>
</author>
<published>2025-05-27T18:36:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=3c8bae27ecb8a8d95f814430e8985924f770d63b'/>
<id>urn:sha1:3c8bae27ecb8a8d95f814430e8985924f770d63b</id>
<content type='text'>
Bug: 416589884
Change-Id: I5d1c709518d76d777a7f07c4c774569773c5a265
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/478205
Lint: Scott Lee &lt;ddoman@google.com&gt;
Tested-by: Scott Lee &lt;ddoman@google.com&gt;
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Commit-Queue: Scott Lee &lt;ddoman@google.com&gt;
</content>
</entry>
<entry>
<title>upload: Add superproject identifier as push option</title>
<updated>2025-05-05T22:10:49+00:00</updated>
<author>
<name>Gavin Mak</name>
<email>gavinmak@google.com</email>
</author>
<published>2025-05-05T21:13:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=8d37f6147174fe170cc00a1d82b1cc5fe8ec0a7b'/>
<id>urn:sha1:8d37f6147174fe170cc00a1d82b1cc5fe8ec0a7b</id>
<content type='text'>
When uploading, add the root superproject repo as a push option in the
format `-o custom-keyed-value=rootRepo:$HOST/$PROJECT`.

Bug: b/401147338
Change-Id: I00230256eb7ae307b03840bb4090c28dc8a0505e
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/472601
Reviewed-by: Josip Sokcevic &lt;sokcevic@chromium.org&gt;
Tested-by: Gavin Mak &lt;gavinmak@google.com&gt;
Commit-Queue: Gavin Mak &lt;gavinmak@google.com&gt;
</content>
</entry>
<entry>
<title>superproject: Remove notice about beta</title>
<updated>2024-10-03T20:37:18+00:00</updated>
<author>
<name>Josip Sokcevic</name>
<email>sokcevic@chromium.org</email>
</author>
<published>2024-10-03T20:10:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=70ee4dd313bda9cca7fdd826f1c58de03fad1121'/>
<id>urn:sha1:70ee4dd313bda9cca7fdd826f1c58de03fad1121</id>
<content type='text'>
It's been the default for Android for over a year now, and it's no
longer useful notice.

Change-Id: I53c6f1e7cee8c1b2f408e67d3a6732db3b272bee
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/438521
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>git_superproject: tell git that superproject is bare</title>
<updated>2023-11-09T22:13:17+00:00</updated>
<author>
<name>Emily Shaffer</name>
<email>nasamuffin@google.com</email>
</author>
<published>2023-09-15T20:26:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=8a6d1724d9d9f4598d15338be9723542ba79467e'/>
<id>urn:sha1:8a6d1724d9d9f4598d15338be9723542ba79467e</id>
<content type='text'>
The superproject is initialized as a bare repo in Superproject:_Init().
That means that later operations must treat it as a bare repository,
specifying the gitdir and setting 'bare' appropriately when launching
GitCommand()s. It's also OK not to specify cwd here because GitCommand()
will drop cwd if bare == True anyways.

With this change, it's possible to run `repo init` and `repo sync` with the
Git config 'safe.bareRepository' set to 'explicit'. This config strengthens
Git's security posture against embedded bare repository attacks like
https://github.com/justinsteven/advisories/blob/main/2022_git_buried_bare_repos_and_fsmonitor_various_abuses.md.

Bug: b/227257481
Change-Id: I954a64c6883d2ca2af9c603e7076fd83b52584e9
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/389794
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Tested-by: Jason R. Coombs &lt;jaraco@google.com&gt;
Tested-by: Emily Shaffer &lt;emilyshaffer@google.com&gt;
Reviewed-by: Emily Shaffer &lt;emilyshaffer@google.com&gt;
Commit-Queue: Jason R. Coombs &lt;jaraco@google.com&gt;
</content>
</entry>
<entry>
<title>cleanup: convert exceptions to OSError</title>
<updated>2023-10-21T00:56:10+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2023-10-20T17:47:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=ae824fb2fc2770c84cc34c1956e4c76c8c972860'/>
<id>urn:sha1:ae824fb2fc2770c84cc34c1956e4c76c8c972860</id>
<content type='text'>
In Python 3, these exceptions were merged into OSError, so switch
everything over to that.

Change-Id: If876a28b692de5aa5c62a3bdc8c000793ce52c63
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/390376
Reviewed-by: Aravind Vasudevan &lt;aravindvasudev@google.com&gt;
Commit-Queue: Mike Frysinger &lt;vapier@google.com&gt;
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>delete Python 2 (object) compat</title>
<updated>2023-10-20T04:51:01+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2023-10-19T09:13:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=d4aee6570b64c5b6de584b0a5ce76e6a139faf38'/>
<id>urn:sha1:d4aee6570b64c5b6de584b0a5ce76e6a139faf38</id>
<content type='text'>
Bug: 302871152
Change-Id: I39636d73a6e1d69efa8ade74f75c5381651e6dc8
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/390054
Commit-Queue: Mike Frysinger &lt;vapier@google.com&gt;
Reviewed-by: Aravind Vasudevan &lt;aravindvasudev@google.com&gt;
Tested-by: Mike Frysinger &lt;vapier@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>
</feed>
