<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools/git-repo.git/git_config.py, branch v1.13.11</title>
<subtitle>Mirror of gerrit.googlesource.com/git-repo</subtitle>
<id>https://git.enea.com/cgit/tools/git-repo.git/atom?h=v1.13.11</id>
<link rel='self' href='https://git.enea.com/cgit/tools/git-repo.git/atom?h=v1.13.11'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/'/>
<updated>2020-02-11T04:28:40+00:00</updated>
<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>use open context managers in more places</title>
<updated>2019-11-12T03:44:39+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2019-11-11T10:40:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=3164d40e2247d42537aef8e80fa7e048e14bec9f'/>
<id>urn:sha1:3164d40e2247d42537aef8e80fa7e048e14bec9f</id>
<content type='text'>
Use open() as a context manager to simplify the close logic and make
the code easier to read &amp; understand.  This is also more Pythonic.

Change-Id: I579d03cca86f99b2c6c6a1f557f6e5704e2515a7
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/244734
Reviewed-by: David Pursehouse &lt;dpursehouse@collab.net&gt;
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>rename local trace module</title>
<updated>2019-08-27T07:08:52+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2019-08-27T04:26:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=8a11f6f24cecac28e7cdb3f5d0d7c83aec0df017'/>
<id>urn:sha1:8a11f6f24cecac28e7cdb3f5d0d7c83aec0df017</id>
<content type='text'>
There is a standard Python "trace" module, so having a local trace.py
prevents us being able to import that.  Rename the module to avoid.

Change-Id: I23e29ec95a2204bb168a641323d05e76968d9b57
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/234832
Reviewed-by: David Pursehouse &lt;dpursehouse@collab.net&gt;
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>git_config: include project name in missing ref exception</title>
<updated>2019-08-03T16:15:48+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2019-08-03T05:57:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=1f2462e0d2dc7002c794936ab81c59c3a9d3cf35'/>
<id>urn:sha1:1f2462e0d2dc7002c794936ab81c59c3a9d3cf35</id>
<content type='text'>
When syncing in parallel, this exception is hard to trace back to
a specific repo as the relevant log line could have been pushed
out by other repos syncing code.

Change-Id: I382efeec7651e85622aa51e351134aef0148267f
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/233075
Reviewed-by: David Pursehouse &lt;dpursehouse@collab.net&gt;
Reviewed-by: Nasser Grainawi &lt;nasser@codeaurora.org&gt;
Tested-by: Mike Frysinger &lt;vapier@google.com&gt;
</content>
</entry>
<entry>
<title>handle binary stream from urllib.request.urlopen</title>
<updated>2019-07-04T22:19:00+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2019-07-04T21:54:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=1b9adab75a87c5eb94c3c3b653fdc2c123ba0077'/>
<id>urn:sha1:1b9adab75a87c5eb94c3c3b653fdc2c123ba0077</id>
<content type='text'>
Python 3 returns bytes by default with urlopen.  Adjust our code to
handle that scenario and decode as necessary.

Bug: https://crbug.com/gerrit/10418
Change-Id: Icf4cd80e7ef92d71a3eefbc6113f1ba11c32eebc
</content>
</entry>
<entry>
<title>set default file encoding to utf-8</title>
<updated>2019-06-13T14:30:52+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2019-06-13T06:30:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=f601376e13e6beca7ab8d660e00d6c14714f305f'/>
<id>urn:sha1:f601376e13e6beca7ab8d660e00d6c14714f305f</id>
<content type='text'>
There's no reason to support any other encoding in these files.
This only affects the files themselves and not streams they open.

Bug: https://crbug.com/gerrit/10418
Change-Id: I053cb40cd3666ce5c8a0689b9dd938f24ca765bf
</content>
</entry>
<entry>
<title>Add support for long paths</title>
<updated>2018-10-22T15:16:35+00:00</updated>
<author>
<name>Renaud Paquay</name>
<email>rpaquay@google.com</email>
</author>
<published>2018-09-27T17:46:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=bed8b62345e484b27e048e8f21280c5611f795df'/>
<id>urn:sha1:bed8b62345e484b27e048e8f21280c5611f795df</id>
<content type='text'>
* Add more file i/o wrappers in platform_utils to allow using
  long paths (length &gt; MAX_PATH) on Windows.

* Paths using the long path syntax ("\\?\" prefix) should never
  escape the platform_utils API surface area, so that this
  specific syntax is not visible to the rest of the repo code base.

* Forward many calls from os.xxx to platform_utils.xxx in various place
  to ensure long paths support, specifically when repo decides to delete
  obsolete directories.

* There are more places that need to be converted to support long paths,
  this commit is an initial effort to unblock a few common use cases.

* Also, fix remove function to handle directory symlinks

Change-Id: If82ccc408e516e96ff7260be25f8fd2fe3f9571a
</content>
</entry>
<entry>
<title>fix some sync error while using python3</title>
<updated>2018-07-24T14:20:08+00:00</updated>
<author>
<name>Dylan Deng</name>
<email>dxx1104@gmail.com</email>
</author>
<published>2018-06-23T07:02:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=e469a0c741832f6584513f4a382d6b93f417b8d2'/>
<id>urn:sha1:e469a0c741832f6584513f4a382d6b93f417b8d2</id>
<content type='text'>
Change-Id: I70925e48756c356d48359679d8ad1b9e33a68595
</content>
</entry>
<entry>
<title>Remove unused pylint suppressions</title>
<updated>2018-07-24T14:20:08+00:00</updated>
<author>
<name>David Pursehouse</name>
<email>dpursehouse@collab.net</email>
</author>
<published>2018-06-24T07:21:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=65b0ba5aa0447f7ee25103828115662b1eb80ff9'/>
<id>urn:sha1:65b0ba5aa0447f7ee25103828115662b1eb80ff9</id>
<content type='text'>
pylint is not used since bb5b1a0. The pyflakes cleanup mentioned in that
commit has not been done, but given that this project is no longer being
actively developed I don't think it's worth spending time doing it.

Leaving the pylint suppressions causes confusion because it leads people
to think that we are still using pylint.

Change-Id: If7d9f280a0f408c780f15915ffdb80579ae21f69
</content>
</entry>
<entry>
<title>Take care of a tilde on cookie file path</title>
<updated>2018-02-25T23:53:08+00:00</updated>
<author>
<name>Daichi Ueura</name>
<email>daichi.ueura@sony.com</email>
</author>
<published>2018-02-25T23:49:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=ce7e02601cfb0fdd0d9faa5cc2afa42717b63f1f'/>
<id>urn:sha1:ce7e02601cfb0fdd0d9faa5cc2afa42717b63f1f</id>
<content type='text'>
This handles cookie file path like "~/.gitcookies".

Change-Id: I87ba120a940fff38073d520f83b70654e6a239ba
</content>
</entry>
</feed>
