<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools/git-repo.git, branch v2.8</title>
<subtitle>Mirror of gerrit.googlesource.com/git-repo</subtitle>
<id>https://git.enea.com/cgit/tools/git-repo.git/atom?h=v2.8</id>
<link rel='self' href='https://git.enea.com/cgit/tools/git-repo.git/atom?h=v2.8'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/'/>
<updated>2020-05-21T22:46:11+00:00</updated>
<entry>
<title>launcher: fix version to latest</title>
<updated>2020-05-21T22:46:11+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2020-05-21T22:13:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=60fc51bb1dcf8970189a544c2ca75f2cdcfdb6f8'/>
<id>urn:sha1:60fc51bb1dcf8970189a544c2ca75f2cdcfdb6f8</id>
<content type='text'>
We've already released 2.7, and the next tag is 2.8, so this should
be pulled up to 2.8 so it'll stay in sync.

Change-Id: Id47bdbdb8050b29ea36442ac2149dd948648237f
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/268572
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
Reviewed-by: David Pursehouse &lt;dpursehouse@digital.ai&gt;
</content>
</entry>
<entry>
<title>launcher: bump version for cli changes</title>
<updated>2020-05-21T21:04:42+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2020-05-21T20:13:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=72325c5f3e64711f575bd3e04a5cbe3fb320be18'/>
<id>urn:sha1:72325c5f3e64711f575bd3e04a5cbe3fb320be18</id>
<content type='text'>
Change-Id: I9b2194df0c1af3bc5b42115a25992747368a7383
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/268532
Reviewed-by: Xin Li &lt;delphij@google.com&gt;
Tested-by: Xin Li &lt;delphij@google.com&gt;
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>Make partial clone imply no-clone-bundle by default.</title>
<updated>2020-05-21T19:47:36+00:00</updated>
<author>
<name>Xin Li</name>
<email>delphij@google.com</email>
</author>
<published>2020-05-20T23:03:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=d79a4bc51b6ca5b47bbea861143c72bccc0ad13a'/>
<id>urn:sha1:d79a4bc51b6ca5b47bbea861143c72bccc0ad13a</id>
<content type='text'>
For large projects, clone bundle is useful because it provided a way to
efficiently transfer a large portion of git objects through CDN, without
needing to interact with git server. However, with partial clones, the
intention is to not download most of the objects, so the use of clone
bundles would defeat the space savings normally seen with partial
clones, as they are downloaded before the first fetch.

A new option, --clone-bundle is added to override this behavior.
Add a new repo.clonebundle variable which remembers the choice if
explicitly given from command line at repo init.

Change-Id: I03638474af303a82af34579e16cd4700690b5f43
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/268452
Tested-by: Xin Li &lt;delphij@google.com&gt;
Reviewed-by: Jonathan Nieder &lt;jrn@google.com&gt;
</content>
</entry>
<entry>
<title>Fix how we format the full destination branch when uploading.</title>
<updated>2020-05-19T15:25:42+00:00</updated>
<author>
<name>Sean McAllister</name>
<email>smcallis@google.com</email>
</author>
<published>2020-05-18T15:15:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=682f0b6426a06ed1e89b130d50c6521b1c67d529'/>
<id>urn:sha1:682f0b6426a06ed1e89b130d50c6521b1c67d529</id>
<content type='text'>
If the dest-branch attribute is set in the project manifest, then
we need to push to that branch.  Previously, we would unconditionally
pre-pend the refs/heads prefix to it.  The dest-branch attribute is
allowed to be a ref expression though, so it may already have it.

Simple fix is to check if it already has the prefix before adding it.

Bug: crbug.com/gerrit/12770

Change-Id: I45d6107ed6cf305cf223023b0ddad4278f7f4146
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/268152
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Tested-by: Sean McAllister &lt;smcallis@google.com&gt;
</content>
</entry>
<entry>
<title>repo info findRemoteLocalDiff use short branch</title>
<updated>2020-05-12T16:15:01+00:00</updated>
<author>
<name>Daniel Kutik</name>
<email>daniel.kutik@lavawerk.com</email>
</author>
<published>2020-05-08T05:46:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=e7082ccb54ad870b185e99d7e39d1959c65ff899'/>
<id>urn:sha1:e7082ccb54ad870b185e99d7e39d1959c65ff899</id>
<content type='text'>
When running repo info -d an error would be thrown saying:
  fatal: bad revision 'refs/remotes/m/refs/heads/master..'

Using the short branch name here instead, like 'refs/remotes/m/master..'
resolves this issue.

Signed-off-by: Daniel Kutik &lt;daniel.kutik@lavawerk.com&gt;
Change-Id: I50ea92c45c011b2c3e3a63803decb88e7837a380
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/266578
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>project.py: Fix check for wild cards</title>
<updated>2020-05-05T17:53:11+00:00</updated>
<author>
<name>Angel Petkov</name>
<email>apetkov86@gmail.com</email>
</author>
<published>2020-05-02T20:16:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=dbfbcb14c162ef8233a5a13a462ba86f5b99921a'/>
<id>urn:sha1:dbfbcb14c162ef8233a5a13a462ba86f5b99921a</id>
<content type='text'>
The intention of the check is to verify whether the target
file name contains a wild card. The code, however, assumes
that if the file is non-existent - it contains a wild card.
This has the side effect that a target file that does not
exist at the moment of the check is considered to contain a
wild card, this leads itself to softlink not being created.

Change-Id: I4e4cd7b5e1b8ce2e4b2edc9abf5a1147cd86242f
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/265736
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Tested-by: Angel Petkov &lt;apetkov86@gmail.com&gt;
</content>
</entry>
<entry>
<title>Parse included files when reading git config files</title>
<updated>2020-04-29T18:28:41+00:00</updated>
<author>
<name>Ulrik Laurén</name>
<email>ulrik.lauren@gmail.com</email>
</author>
<published>2020-04-27T23:09:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=d0ca0f6814247d18d28e35de08ba193c4cf8e028'/>
<id>urn:sha1:d0ca0f6814247d18d28e35de08ba193c4cf8e028</id>
<content type='text'>
Git config files may have an include tag pointing to another file.
The included file is not parsed unless “git config --list” is
explicitly told to follow includes by adding the argument ”--includes”.

This change add the "--includes" when parsing the global gitconfig file.

Change-Id: I892c9a3a748754c1eb8c9e220578305ca5850dd5
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/264759
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Tested-by: Ulrik Laurén &lt;ulrik.lauren@gmail.com&gt;
</content>
</entry>
<entry>
<title>repo: exit on missing entry point</title>
<updated>2020-04-28T17:02:46+00:00</updated>
<author>
<name>Konrad Weihmann</name>
<email>kweihmann@outlook.com</email>
</author>
<published>2020-04-17T19:39:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=433977e95812f0839796efdf4fae5863efe2025b'/>
<id>urn:sha1:433977e95812f0839796efdf4fae5863efe2025b</id>
<content type='text'>
exit if no repo_main can be found right before executing the command.
This happens for instance when 'repo init' is run on root path
(for example in a container). Without this counter measure the tool
will crash at exec_command with
TypeError: sequence item 1: expected str instance, NoneType found

Change-Id: Ia8480cfe2151c3b35c9572789ad8cb619288cce1
Signed-off-by: Konrad Weihmann &lt;kweihmann@outlook.com&gt;
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/263457
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Reviewed-by: David Pursehouse &lt;dpursehouse@digital.ai&gt;
</content>
</entry>
<entry>
<title>main: re-exec self with the current interp</title>
<updated>2020-04-28T02:54:50+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2020-04-16T16:38:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=dd37fb22227f2abfb4b4f657dded42d422ac2e9c'/>
<id>urn:sha1:dd37fb22227f2abfb4b4f657dded42d422ac2e9c</id>
<content type='text'>
The launcher already raised itself up to use Python 3 on the fly, and
the main.py script uses a plain `python` shebang.  So make sure we use
the active interpreter when re-execing ourselves to avoid falling back
down to Python 2 (which then triggers warnings).

Change-Id: Ic53c07dead3bc9233e4089a0a422f83bb5ac2f91
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/263272
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
Reviewed-by: David Pursehouse &lt;dpursehouse@digital.ai&gt;
</content>
</entry>
<entry>
<title>When writing manifest, set the dest-branch attribute for projects</title>
<updated>2020-04-20T16:35:02+00:00</updated>
<author>
<name>Sean McAllister</name>
<email>smcallis@google.com</email>
</author>
<published>2020-04-20T14:41:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=af908cb5438ec3c03a9a32d1a9f286aa5657ff88'/>
<id>urn:sha1:af908cb5438ec3c03a9a32d1a9f286aa5657ff88</id>
<content type='text'>
When generating a revision locked manifest, we need to know what
ref to push changes to when doing 'repo upload'.  This information
is lost when we lock the revision attribute to a particular commit
hash, so we need to expose it through the dest-branch attribute.

Bug: https://crbug.com/1005103
Test: manual execution
Change-Id: Ib31fd77ad8c9379759c4181dac1ea97de43eec35
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/263572
Tested-by: Sean McAllister &lt;smcallis@google.com&gt;
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
</feed>
