<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools/git-repo.git, branch maint</title>
<subtitle>Mirror of gerrit.googlesource.com/git-repo</subtitle>
<id>https://git.enea.com/cgit/tools/git-repo.git/atom?h=maint</id>
<link rel='self' href='https://git.enea.com/cgit/tools/git-repo.git/atom?h=maint'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/'/>
<updated>2020-02-12T02:03:35+00:00</updated>
<entry>
<title>Revert "Save cookies back to jar when fetching clone.bundle"</title>
<updated>2020-02-12T02:03:35+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2020-02-09T21:20:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=d92076d930af11bb9a3025a6b2f12ca139c0436f'/>
<id>urn:sha1:d92076d930af11bb9a3025a6b2f12ca139c0436f</id>
<content type='text'>
This reverts commit 4abf8e6ef81e78469148b156ae2d2da70ace627a.

The curl process for updating the cookie file is not atomic.  When
fetching many bundles in parallel, we can sometimes corrupt the file
causing it to be cleared.  Since users should manage gitcookies on
their own, leave it read-only.

Bug: https://crbug.com/gerrit/12300
Change-Id: Id472c99b197bc4cf8533c649f8881509f38643c1
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254092
Reviewed-by: David Pursehouse &lt;dpursehouse@collab.net&gt;
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
(cherry picked from commit dc1d0e0c7fffa5109048ac52a67aa97bb362ae3a)
</content>
</entry>
<entry>
<title>repo: bump launcher version</title>
<updated>2020-02-12T00:12:14+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2020-02-11T19:44:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=aeb2eee9d355b5753d04ef5045f91e98de1bf95b'/>
<id>urn:sha1:aeb2eee9d355b5753d04ef5045f91e98de1bf95b</id>
<content type='text'>
This way we can push out the updated stable branch change.

Change-Id: I72d5dab4523a10dfeb6529796892096aa80eba3c
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254492
Reviewed-by: David Pursehouse &lt;dpursehouse@collab.net&gt;
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>project: fix bytes/str encoding when updating git submodules</title>
<updated>2020-02-11T19:46:13+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2020-02-11T08:35:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=45d1c372a79fe35e1deb4956708432bc9ae80ea0'/>
<id>urn:sha1:45d1c372a79fe35e1deb4956708432bc9ae80ea0</id>
<content type='text'>
Since tempfile.mkstemp() returns a file handle in binary mode,
make sure we turn our strings into bytes before writing.

Bug: https://crbug.com/gerrit/12043
Change-Id: I3e84d595e84b8bc12a1fbc7fd0bb3ea0ba2832b0
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254393
Reviewed-by: Michael Mortensen &lt;mmortensen@google.com&gt;
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
(cherry picked from commit 163d42eb43ba79677aae22fa859896010badba9b)
</content>
</entry>
<entry>
<title>repo: allow REPO_REV to be an env var</title>
<updated>2020-02-11T19:44:29+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2020-02-06T04:52:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=19607b28172c3be8153fa0c44326052929fe8653'/>
<id>urn:sha1:19607b28172c3be8153fa0c44326052929fe8653</id>
<content type='text'>
We do this for REPO_URL already.

Bug: https://crbug.com/gerrit/10233
Change-Id: I53410645474b00d900467c96fa5d8446f3a607d3
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/253552
Reviewed-by: David Pursehouse &lt;dpursehouse@collab.net&gt;
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
(cherry picked from commit 563f1a651298eaa3616f92c3cd7b264fe5442379)
</content>
</entry>
<entry>
<title>Fixing forall subcommand for Py3</title>
<updated>2020-02-11T04:31:45+00:00</updated>
<author>
<name>Jiri Tyr</name>
<email>jiri.tyr@gmail.com</email>
</author>
<published>2020-02-06T16:32:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=68744dbc01490dc283db7c965c5cfe07135814ac'/>
<id>urn:sha1:68744dbc01490dc283db7c965c5cfe07135814ac</id>
<content type='text'>
Execution of 'repo forall -p -c' doesn't work with Py3 and ends up
with an error:

Got an error, terminating the pool: TypeError: can only concatenate
str (not "bytes") to str

That's fixed by using the decode() method.

Change-Id: Ice01aaa1822dde8d957b5bf096021dd5a2b7dd51
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/253659
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Reviewed-by: David Pursehouse &lt;dpursehouse@collab.net&gt;
Tested-by: Jiri Tyr &lt;jiri.tyr@gmail.com&gt;
(cherry picked from commit 83a3227b62c936b346b825b333fc2ca65528ecfd)
</content>
</entry>
<entry>
<title>remove spurious +x bits</title>
<updated>2020-02-11T04:31:03+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2020-02-09T09:35:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=ef412624e953db6afdf402b18b004c0beabc5917'/>
<id>urn:sha1:ef412624e953db6afdf402b18b004c0beabc5917</id>
<content type='text'>
These files are not directly executable, so drop the +x bits.

Change-Id: Iaf19a03a497686cc21103e7ddf08073173440dd1
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254076
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
Reviewed-by: David Pursehouse &lt;dpursehouse@collab.net&gt;
(cherry picked from commit e7c91889a6ff23931d3fbc25481b276e50ed8229)
</content>
</entry>
<entry>
<title>find python via env</title>
<updated>2020-02-11T04:30:58+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2020-02-08T08:38:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=a06ab7d28b224d3400742f5e8c66f6e0e930d8ff'/>
<id>urn:sha1:a06ab7d28b224d3400742f5e8c66f6e0e930d8ff</id>
<content type='text'>
This allows these scripts to run through the active version of the
virtualenv python when invoked via tox.

Change-Id: Ib52f475b7b20c34d62cfd179a1341da1a08a8b5c
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/253974
Reviewed-by: David Pursehouse &lt;dpursehouse@collab.net&gt;
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
(cherry picked from commit 1b117db767804856a310210c012fdd40addae66a)
</content>
</entry>
<entry>
<title>git_config: fix encoding handling in GetUrlCookieFile</title>
<updated>2020-02-11T04:28:40+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2020-02-08T04:18:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=471a7ed5f77ac6b38fc9ef60d9fff2c9924a2df8'/>
<id>urn:sha1:471a7ed5f77ac6b38fc9ef60d9fff2c9924a2df8</id>
<content type='text'>
Make sure we decode the bytes coming from the subprocess.Popen as
we're treating them as strings.

Change-Id: I44100ca5cd94f68a35d489936292eb641006edbe
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/253973
Reviewed-by: Jonathan Nieder &lt;jrn@google.com&gt;
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
(cherry picked from commit ded477dbb9c6993cbe8b93b10654682b04fdeea8)
</content>
</entry>
<entry>
<title>Fix inverted logic around [gitc-]init and -c</title>
<updated>2020-02-07T20:54:52+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2020-02-07T01:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=619a2b58871e03ecc4f40b93a183206b51853fa5'/>
<id>urn:sha1:619a2b58871e03ecc4f40b93a183206b51853fa5</id>
<content type='text'>
Instead of not using '-c' for '--current-branch' when using gitc, we
were only using '-c' when using gitc, so we still had the conflict with
the gitc option, and other users still couldn't use '-c'.

Test: repo init -u https://android.googlesource.com/platform/manifest; repo init -c
Test: repo gitc-init -u ... -b ... -c testing
Change-Id: I71e4950a49c281418249f0783c6a2ea34f0d3e2b
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/253795
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Tested-by: Dan Willemsen &lt;dwillemsen@google.com&gt;
(cherry picked from commit 93293ca47f3a898b30eecf21e7b4e1038780c867)
</content>
</entry>
<entry>
<title>Do not try to fetch default revision for mirrors always</title>
<updated>2020-02-06T14:19:35+00:00</updated>
<author>
<name>Chirayu Desai</name>
<email>chirayudesai1@gmail.com</email>
</author>
<published>2020-02-04T12:20:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=ab15e42fa4403a0354c936d8740f864300b00929'/>
<id>urn:sha1:ab15e42fa4403a0354c936d8740f864300b00929</id>
<content type='text'>
* Mirrors may contain multiple projects, some of which may not
  always contain the default revision.
* Only fetch the default revision explicitly if
  '--current-branch' is set.
* Fixes breakage casued by
  commit 6856f98467aa5c98085cdee02587dbab984cebb1
  "Fix repo mirror with --current-branch"

Bug: https://crbug.com/gerrit/12274
Change-Id: Iaafabe2992f76f3644b841f24245d3e19c9515a9
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/253093
Reviewed-by: Kuang-che Wu &lt;kcwu@chromium.org&gt;
Reviewed-by: Mike Frysinger &lt;vapier@google.com&gt;
Tested-by: Chirayu Desai &lt;chirayudesai1@gmail.com&gt;
(cherry picked from commit f7b64e3350a622ee87e1927cdbc8d854a5696d85)
</content>
</entry>
</feed>
