<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools/git-repo.git/project.py, 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-05T17:53:11+00:00</updated>
<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>project.py: Remove extraneous ','</title>
<updated>2020-04-15T19:55:44+00:00</updated>
<author>
<name>George Engelbrecht</name>
<email>engeg@google.com</email>
</author>
<published>2020-04-15T17:28:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=2fe84e17b923f29139dc6056756ab30078864c18'/>
<id>urn:sha1:2fe84e17b923f29139dc6056756ab30078864c18</id>
<content type='text'>
Bug: https://crbug.com/1061473
Change-Id: I0f02f122d6313679c1ae5ad6fb4e05f68b764186
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/263112
Tested-by: George Engelbrecht &lt;engeg@google.com&gt;
Reviewed-by: George Engelbrecht &lt;engeg@google.com&gt;
Reviewed-by: SPA SARC &lt;spanc.sarc@gmail.com&gt;
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>project: have clone.bundle failures print better diagnostics</title>
<updated>2020-04-15T06:52:52+00:00</updated>
<author>
<name>George Engelbrecht</name>
<email>engeg@google.com</email>
</author>
<published>2020-04-02T19:53:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=b6871899be405178e8557fd9097918143532dd8f'/>
<id>urn:sha1:b6871899be405178e8557fd9097918143532dd8f</id>
<content type='text'>
Bug: https://crbug.com/1061473

Change-Id: If066dc56ca575720bfb25c1a9892dbd6f4af15c6
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/261852
Tested-by: George Engelbrecht &lt;engeg@google.com&gt;
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>sync: add retry to fetch operations</title>
<updated>2020-04-02T21:17:54+00:00</updated>
<author>
<name>George Engelbrecht</name>
<email>engeg@google.com</email>
</author>
<published>2020-04-02T18:36:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=9bc283e49bcb2663dc8c06a4efad289a3683aaa4'/>
<id>urn:sha1:9bc283e49bcb2663dc8c06a4efad289a3683aaa4</id>
<content type='text'>
Add retries with exponential backoff and jitter to the fetch
operations. By default don't change behavior and enable
behind the new flag '--fetch-retries'.

Bug: https://crbug.com/1061473

Change-Id: I492710843985d00f81cbe3402dc56f2d21a45b35
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/261576
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Tested-by: George Engelbrecht &lt;engeg@google.com&gt;
</content>
</entry>
<entry>
<title>download: support -x when cherry-picking</title>
<updated>2020-03-23T00:27:52+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2020-03-22T16:15:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=915fda130efa14b9314b500d122f9af707518508'/>
<id>urn:sha1:915fda130efa14b9314b500d122f9af707518508</id>
<content type='text'>
This is a pretty common option for people to want too use, so include
it as a pass-thru option when cherry-picking.

Bug: https://crbug.com/gerrit/9418
Change-Id: I2a24c1ed7544541719caa4d3c0574347a151a1b0
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/259853
Reviewed-by: David Pursehouse &lt;dpursehouse@collab.net&gt;
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>download: support --ff when cherry-picking</title>
<updated>2020-03-23T00:26:26+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2020-03-22T16:14:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=ea43176de0a46eadb12be814517532a13eec8b1d'/>
<id>urn:sha1:ea43176de0a46eadb12be814517532a13eec8b1d</id>
<content type='text'>
The git cherry-pick already supports this, so plumb the existing repo
option down.  Otherwise it's confusing when people use -c --ff and it
doesn't use that behavior.

Change-Id: Id68932ffa09204bb30b92a21aff185c00394a520
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/259852
Reviewed-by: David Pursehouse &lt;dpursehouse@collab.net&gt;
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>repo/init/sync: rework default git download output</title>
<updated>2020-03-14T04:02:42+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2020-02-22T05:07:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=4847e0574303f90438335a7c6c7c009145deb8ef'/>
<id>urn:sha1:4847e0574303f90438335a7c6c7c009145deb8ef</id>
<content type='text'>
When we download git sources, we get a progress bar (good) and we get
a dump of all the refs we downloaded (bad) as it can easily be 100+ if
not 1000+ depending on the project (for each git repo!).  Lets rework
the output behavior so that:
* quiet: Only errors.
* default: Progress bars (if on a tty).
* verbose: Full output (progress bars &amp; downloaded refs).

Bug: https://crbug.com/gerrit/11293
Change-Id: I87a380075e79de6805f91095876dd1b37d32873a
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/256456
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
Reviewed-by: Michael Mortensen &lt;mmortensen@google.com&gt;
</content>
</entry>
<entry>
<title>project: fix m/ pseudo ref handling with git worktrees</title>
<updated>2020-02-29T07:22:08+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2020-02-27T04:53:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=21b7fbe14d9457400a90683a9bd3febe4b7f8840'/>
<id>urn:sha1:21b7fbe14d9457400a90683a9bd3febe4b7f8840</id>
<content type='text'>
Since most ref namespaces are shared among all worktrees, trying to
set the pseudo m/&lt;branch&gt; in the common git repo ends up clobbering
each other when using shared checkouts.  For example, in CrOS:
  &lt;project path="src/third_party/kernel/v3.8"
           name="chromiumos/third_party/kernel"
           revision="refs/heads/chromeos-3.8" /&gt;
  &lt;project path="src/third_party/kernel/v3.10"
           name="chromiumos/third_party/kernel"
           revision="refs/heads/chromeos-3.10" /&gt;

Trying to set m/master in chromiumos/third_party/kernel.git/ will
keep clobbering the other.

Instead, when using git worktrees, lets set the m/ pseudo ref to
point into the refs/worktree/ namespace which is unique to each
git worktree.  So we have in the common dir:
  chromiumos/third_party/kernel.git/:
    refs/remotes/m/master:
      ref: refs/worktree/m/master
And then in each worktree we point refs/worktree/m/master to the
respective manifest revision expression.  Now people can use the
m/master in each git worktree and have it resolve to the right
commit for that worktree.

Bug: https://crbug.com/gerrit/12404
Change-Id: I78814bdd5dd67bb13218c4c6ccd64f8a15dd0a52
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/256952
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
Reviewed-by: David Pursehouse &lt;dpursehouse@collab.net&gt;
</content>
</entry>
<entry>
<title>upload: drop support for drafts</title>
<updated>2020-02-25T20:58:09+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2020-02-25T07:58:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=b0fbc7fb58af8ee1875993daad481b87bf8c2f94'/>
<id>urn:sha1:b0fbc7fb58af8ee1875993daad481b87bf8c2f94</id>
<content type='text'>
Draft CLs were replaced by private/wip CLs in Gerrit instead years ago.

Change-Id: If4f3d6606aad40a6f1617a49681dfd45c64d3d37
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/256673
Reviewed-by: David Pursehouse &lt;dpursehouse@collab.net&gt;
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>upload: allow users to set labels when uploading</title>
<updated>2020-02-24T23:35:47+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2020-02-24T20:38:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=fc1b18ae9e39afc69b37ef4ada7a990e74b2c075'/>
<id>urn:sha1:fc1b18ae9e39afc69b37ef4ada7a990e74b2c075</id>
<content type='text'>
Bug: https://crbug.com/gerrit/11801
Change-Id: I060465105b4e68ddfc815e572f62bf5dac2c1ffd
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/256614
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
Reviewed-by: Jack Rosenthal &lt;jrosenth@chromium.org&gt;
Reviewed-by: David Pursehouse &lt;dpursehouse@collab.net&gt;
</content>
</entry>
</feed>
