<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools/git-repo.git/gitc_utils.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>2019-06-13T14:30:52+00:00</updated>
<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>tweak raise/dict syntax for Python 3 compat</title>
<updated>2019-06-13T13:39:25+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@google.com</email>
</author>
<published>2019-06-13T06:13:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=31067c0ac583af2304ffe52c11df8b14c6162502'/>
<id>urn:sha1:31067c0ac583af2304ffe52c11df8b14c6162502</id>
<content type='text'>
Use the `raise` statement directly.

Switch to using .items() instead of .iteritems().  Python 3 doesn't
have .iteritems() as .items() is a generator, and these are small
enough that the Python 2 overhead should be negligible.

We have to run .keys() through list() in a few places as Python 3
uses a generator and we sometimes want to iterate more than once.
That's why we don't change all .keys() or .items() calls -- most
are in places where generators are fine.

Bug: https://crbug.com/gerrit/10418
Change-Id: I469899d9b77ffd77ccabb831bc4b217407fefe6f
</content>
</entry>
<entry>
<title>gitc: Lower concurrent ls-projects requests</title>
<updated>2016-08-23T21:19:00+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2016-08-23T21:06:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=39252ba028012fd14e4e283217d842fb80206c52'/>
<id>urn:sha1:39252ba028012fd14e4e283217d842fb80206c52</id>
<content type='text'>
Too many requests at the same time is causing 502 errors.

Change-Id: Ic8fbb2fbb7fb6014733fa5be018d2dc02472f704
</content>
</entry>
<entry>
<title>Bail out when manifest is referencing a bad SHA-1 revision.</title>
<updated>2016-06-29T18:01:43+00:00</updated>
<author>
<name>Xin Li</name>
<email>delphij@google.com</email>
</author>
<published>2016-06-24T19:17:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=f97e72e5ddfcd34400aba384775b793170044f5c'/>
<id>urn:sha1:f97e72e5ddfcd34400aba384775b793170044f5c</id>
<content type='text'>
BUG: Issue 222
Change-Id: Ie0a64b39922d6fdf1be2989eb514985be8490278
</content>
</entry>
<entry>
<title>pylint: Fix unused-{argument,variable} warning</title>
<updated>2016-06-21T18:48:57+00:00</updated>
<author>
<name>Stefan Beller</name>
<email>sbeller@google.com</email>
</author>
<published>2016-06-21T18:48:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=9d2b14d2ec39245103e9ceb664afb5f0227d9056'/>
<id>urn:sha1:9d2b14d2ec39245103e9ceb664afb5f0227d9056</id>
<content type='text'>
This commit fixes 4 out of the remaining 5 pylint warnings:

$ pylint --rcfile=.pylintrc *.py
************* Module gitc_utils
W:146, 0: TODO(sbasi/jorg): Come up with a solution to remove the sleep below. (fixme)
W:130, 6: Unused variable 'name' (unused-variable)
************* Module main
W:382,32: Unused argument 'fp' (unused-argument)
W:382,36: Unused argument 'code' (unused-argument)
W:382,42: Unused argument 'msg' (unused-argument)

Change-Id: Ie3d77b9a65b7daefaa9aa4b80f4b682c1678fd58
Signed-off-by: Stefan Beller &lt;sbeller@google.com&gt;
</content>
</entry>
<entry>
<title>Fix gitc-init behavior</title>
<updated>2015-10-07T22:43:22+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2015-10-06T22:23:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=745b4ad660f8050045b521c4e15b7d3ac0b3d70e'/>
<id>urn:sha1:745b4ad660f8050045b521c4e15b7d3ac0b3d70e</id>
<content type='text'>
With gitc-init, a gitc client may be specified using '-c'. If we're
not currently in that client, we need to change directories so that
we don't affect the local checkout, and to ensure that repo is
checked out in the new client.

This also makes '-c' optional if already in a gitc client, to match
the rest of the init options.

Change-Id: Ib514ad9fd101698060ae89bb035499800897e9bd
</content>
</entry>
<entry>
<title>GITC: Always update the gitc manifest from the repo manifest</title>
<updated>2015-09-10T03:50:40+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2015-09-08T20:27:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=5ea32d135963da5542b78895f95332c6a17bbe11'/>
<id>urn:sha1:5ea32d135963da5542b78895f95332c6a17bbe11</id>
<content type='text'>
This way any changes made to the main manifest are reflected in the gitc
manifest. It's also necessary to use both manifests to sync since the
information required to update the gitc manifest is actually in the repo
manifest.

This also fixes a few issues that came up when testing. notdefault
groups weren't being saved to the gitc manifest in a method that matched
'sync'. The merge branch wasn't always being set to the correct value
either.

Change-Id: I435235cb5622a048ffad0059affd32ecf71f1f5b
</content>
</entry>
<entry>
<title>Revert "GITC: Always update the gitc manifest from the repo manifest"</title>
<updated>2015-09-09T21:43:32+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2015-09-09T21:43:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=037552333182497e9e38bff984de44df0f93e54b'/>
<id>urn:sha1:037552333182497e9e38bff984de44df0f93e54b</id>
<content type='text'>
This reverts commit 250303b437855c2b50d052a05a08ed517423af8b.

Change-Id: I1fd8af20f802553151aacb953c913f3305ca6057
</content>
</entry>
<entry>
<title>GITC: Always update the gitc manifest from the repo manifest</title>
<updated>2015-09-09T19:35:56+00:00</updated>
<author>
<name>Dan Willemsen</name>
<email>dwillemsen@google.com</email>
</author>
<published>2015-09-08T20:27:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=250303b437855c2b50d052a05a08ed517423af8b'/>
<id>urn:sha1:250303b437855c2b50d052a05a08ed517423af8b</id>
<content type='text'>
This way any changes made to the main manifest are reflected in the gitc
manifest. It's also necessary to use both manifests to sync since the
information required to update the gitc manifest is actually in the repo
manifest.

This also fixes a few issues that came up when testing. notdefault
groups weren't being saved to the gitc manifest in a method that matched
'sync'. The merge branch wasn't always being set to the correct value
either.

Change-Id: I5dbc850dd73a9fbd10ab2470ae4c40e46ff894de
</content>
</entry>
<entry>
<title>GITC: Pull GITC Manifest Dir from the config.</title>
<updated>2015-08-31T21:39:17+00:00</updated>
<author>
<name>Simran Basi</name>
<email>sbasi@google.com</email>
</author>
<published>2015-08-28T21:25:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=8ce5041596ef486510245946b7c6c68ec59add29'/>
<id>urn:sha1:8ce5041596ef486510245946b7c6c68ec59add29</id>
<content type='text'>
Updates the repo launcher and gitc_utils to pull the manifest
directory location out of the gitc config file.

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