<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools/git-repo.git, branch v2.29.4</title>
<subtitle>Mirror of gerrit.googlesource.com/git-repo</subtitle>
<id>https://git.enea.com/cgit/tools/git-repo.git/atom?h=v2.29.4</id>
<link rel='self' href='https://git.enea.com/cgit/tools/git-repo.git/atom?h=v2.29.4'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/'/>
<updated>2022-10-25T22:46:47+00:00</updated>
<entry>
<title>sync: do not require python 3.9</title>
<updated>2022-10-25T22:46:47+00:00</updated>
<author>
<name>LaMont Jones</name>
<email>lamontjones@google.com</email>
</author>
<published>2022-10-25T22:38:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=78dcd3799b50fd512f83e27cfad31bd0d6139ba4'/>
<id>urn:sha1:78dcd3799b50fd512f83e27cfad31bd0d6139ba4</id>
<content type='text'>
Use pre-3.9 syntax for NamedTuple, so that users do not need to have
python 3.9 or later installed.

Bug: b/255632143, crbug.com/gerrit/16355
Test: manually verified with python 3.8
Change-Id: I488d2d5267ed98d5c55c233cc789e629f1911c9d
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/349395
Tested-by: LaMont Jones &lt;lamontjones@google.com&gt;
Reviewed-by: Jonathan Nieder &lt;jrn@google.com&gt;
</content>
</entry>
<entry>
<title>sync: only use --cruft when git supports it.</title>
<updated>2022-09-22T19:18:48+00:00</updated>
<author>
<name>LaMont Jones</name>
<email>lamontjones@google.com</email>
</author>
<published>2022-09-22T19:05:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=acc4c857a0b6e2e33e3647028cbd312498fd5900'/>
<id>urn:sha1:acc4c857a0b6e2e33e3647028cbd312498fd5900</id>
<content type='text'>
git gc --cruft was added in 2.37.0.

Bug: https://crbug.com/gerrit/16270
Change-Id: I71e46741e33472a92f16d6f11c51a23e1e55d869
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/346577
Reviewed-by: Emily Shaffer &lt;emilyshaffer@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>project: Add a missing call to _CopyAndLinkFiles</title>
<updated>2022-09-20T09:24:01+00:00</updated>
<author>
<name>Peter Kjellerstedt</name>
<email>pkj@axis.com</email>
</author>
<published>2022-09-01T17:24:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=a39af3d4322135202aabfc78cc65809a28a4ca75'/>
<id>urn:sha1:a39af3d4322135202aabfc78cc65809a28a4ca75</id>
<content type='text'>
If a file that is copied using a &lt;copyfile&gt; tag is modified and not
committed or if it is committed to a detached head, then running `repo
sync` would update the target file as expected. However, if the
modified file is committed to a local branch, then running `repo sync'
would not update the target file as expected.

Change-Id: Ic98e37d1c2e51fd1bf15abf149c7d06190cfd6d2
Signed-off-by: Peter Kjellerstedt &lt;peter.kjellerstedt@axis.com&gt;
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/344475
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>manifest: allow extend-project to override dest-branch and upstream</title>
<updated>2022-09-20T04:25:02+00:00</updated>
<author>
<name>Erik Elmeke</name>
<email>erik@haleytek.corp-partner.google.com</email>
</author>
<published>2022-09-09T15:13:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=4cdfdb77343b2d4664c0a13c9e485a02988e578f'/>
<id>urn:sha1:4cdfdb77343b2d4664c0a13c9e485a02988e578f</id>
<content type='text'>
Bug: https://crbug.com/gerrit/16238
Change-Id: Id6eff34791525b3df690e160c911c0286331984b
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/345144
Tested-by: Erik Elmeke &lt;erik@haleytek.corp-partner.google.com&gt;
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>sync: use namedtuples for internal return values</title>
<updated>2022-09-19T22:03:18+00:00</updated>
<author>
<name>LaMont Jones</name>
<email>lamontjones@google.com</email>
</author>
<published>2022-09-01T15:15:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=1eddca847625c50d985d9310e2bee2901c909925'/>
<id>urn:sha1:1eddca847625c50d985d9310e2bee2901c909925</id>
<content type='text'>
Replace tuple returns with namedtuples, to simplify adding new fields.

Extend the Sync_NetworkHalf return value to:
 - success: True if successful (the former return value)
 - remote_fetched: True if we called `git fetch`

Change-Id: If63c24c2f849523f77fa19c05bbf23a5e9a20ba9
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/344534
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Tested-by: LaMont Jones &lt;lamontjones@google.com&gt;
</content>
</entry>
<entry>
<title>sync: incorporate review feedback.</title>
<updated>2022-09-19T22:03:18+00:00</updated>
<author>
<name>LaMont Jones</name>
<email>lamontjones@google.com</email>
</author>
<published>2022-09-15T18:24:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=aefa4d3a29f35b00ce7e94870435b0a63c1e1612'/>
<id>urn:sha1:aefa4d3a29f35b00ce7e94870435b0a63c1e1612</id>
<content type='text'>
This incorporates feedback from
https://gerrit-review.googlesource.com/c/git-repo/+/345114

Change-Id: I04433d6435b967858f1ffb355217d90bc48c1e5d
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/345894
Tested-by: LaMont Jones &lt;lamontjones@google.com&gt;
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>diffmanifests: Handle Missing Projects in Repo Workspace</title>
<updated>2022-09-15T17:42:08+00:00</updated>
<author>
<name>Shashank Devaraj</name>
<email>shashankkarthik@gmail.com</email>
</author>
<published>2022-09-05T06:35:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=4ba29c42ca7edac9ea32b16614557e72bfbcb9c8'/>
<id>urn:sha1:4ba29c42ca7edac9ea32b16614557e72bfbcb9c8</id>
<content type='text'>
By default there are 4 categories in the diffmanifests
api puts the diffs in to - added, removed, changed and unreachable

Example of command - repo diffmanifests 1.xml 2.xml

added - list down the projects present in second manifest but not in
first
removed - list down the projects present in first but not in
second
changed - list down the changes and the differences for each project
unreachable - when it encounters revision value in a project is incorrect

But, when there are projects present in both manifests and could not
find in local workspace where we have cloned the repo(because of
different/subset manifest xml) - this will create unhandled exception

Now we have added a 5th category called 'missing' - where in such
cases it will handle the scenario and print the log for user

Example:
added projects :
        project_2 at revision e6c8a59832c05dc4b6a68cee6bc0feb832181725

removed projects :
        project_1 at revision e6c8a59832c05dc4b6a68cee6bc0feb832181725

changed projects :
        project_3 changed from 3bb890e1286f04e84d505e5db48e0ada89892331 to e434b3736f11537c67590fefadfe4495895e9785

missing projects :
        project_4

Change-Id: I244e8389bff7e95664c29d3dcb61e22308e3a573
Signed-off-by: Shashank Devaraj &lt;shashankkarthik@gmail.com&gt;
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/344774
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>update-manpages: force use of active interp</title>
<updated>2022-09-12T19:27:09+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2022-09-12T18:17:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=45ef9011c29b342f0c61e3ebe430ffff09e65501'/>
<id>urn:sha1:45ef9011c29b342f0c61e3ebe430ffff09e65501</id>
<content type='text'>
Since the repo wrapper uses #!/usr/bin/python, use the python3 that
this wrapper is actively using.

Change-Id: I03d1e54418d18a504eec628e549b4cc233621c45
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/345294
Reviewed-by: LaMont Jones &lt;lamontjones@google.com&gt;
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>sync: save any cruft after calling git gc.</title>
<updated>2022-09-09T19:04:30+00:00</updated>
<author>
<name>LaMont Jones</name>
<email>lamontjones@google.com</email>
</author>
<published>2022-09-08T20:17:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=891e8f72ce3551a19c377456574bbfbeac5c8b8e'/>
<id>urn:sha1:891e8f72ce3551a19c377456574bbfbeac5c8b8e</id>
<content type='text'>
This is ENABLED BY DEFAULT due to data corruption potential.  To disable
it, set REPO_BACKUP_OBJECTS=0 in the environment.

While the workspace will grow over time, this provides a recovery path
for an issue where objects are erroneously deleted from the workspace,
resulting in lost work.  Once the root cause is determined, we will be
able to stop saving backups again.

Backups are kept in .git/objects/.repo/pack.bak

Bug: https://crbug.com/gerrit/16247
Change-Id: Ib8b5c9b4bf0dfa9e29606e0f5c881d65996b2a40
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/345114
Reviewed-by: Jonathan Tan &lt;jonathantanmy@google.com&gt;
Tested-by: LaMont Jones &lt;lamontjones@google.com&gt;
Reviewed-by: Xin Li &lt;delphij@google.com&gt;
</content>
</entry>
<entry>
<title>Revert "project: initialize new manifests in temp dirs"</title>
<updated>2022-09-08T23:28:27+00:00</updated>
<author>
<name>LaMont Jones</name>
<email>lamontjones@google.com</email>
</author>
<published>2022-08-31T20:21:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=af8fb132d50bc76386677140ebeaf323f0f5d4e1'/>
<id>urn:sha1:af8fb132d50bc76386677140ebeaf323f0f5d4e1</id>
<content type='text'>
This reverts commit 07d21e6bde9bd7efdfb8f25f2ed23f023daa5c1f.

Reason for revert: crbug.com/gerrit/16230, b/244467766 - breaks aosp-master-with-phones case

Change-Id: Id967d92f8622c2c13356b09e46ece9f20040aabc
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/344314
Tested-by: LaMont Jones &lt;lamontjones@google.com&gt;
Reviewed-by: Xin Li &lt;delphij@google.com&gt;
</content>
</entry>
</feed>
