<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tools/git-repo.git/git_command.py, branch v1.12.28</title>
<subtitle>Mirror of gerrit.googlesource.com/git-repo</subtitle>
<id>https://git.enea.com/cgit/tools/git-repo.git/atom?h=v1.12.28</id>
<link rel='self' href='https://git.enea.com/cgit/tools/git-repo.git/atom?h=v1.12.28'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/'/>
<updated>2015-06-03T15:50:39+00:00</updated>
<entry>
<title>git_command: only decode when needed</title>
<updated>2015-06-03T15:50:39+00:00</updated>
<author>
<name>Anthony King</name>
<email>anthonydking@slimroms.net</email>
</author>
<published>2015-06-03T15:50:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=cf738ed4a1acacc1dac5746ab3090f56c6f5df86'/>
<id>urn:sha1:cf738ed4a1acacc1dac5746ab3090f56c6f5df86</id>
<content type='text'>
strings no longer need decoding, since unicode is str

Change-Id: I9516d298fee7ddc058452394b7759327fe3aa7a8
</content>
</entry>
<entry>
<title>decode the buffer before appending</title>
<updated>2015-06-03T15:39:32+00:00</updated>
<author>
<name>Anthony King</name>
<email>anthonydking@slimroms.net</email>
</author>
<published>2015-06-03T15:39:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=6cfc68e1e635162926d27f3421f1dbc729c55116'/>
<id>urn:sha1:6cfc68e1e635162926d27f3421f1dbc729c55116</id>
<content type='text'>
output from a process is in bytes in python3. we need
to decode it.

in Python3, bytes don't have an encode attribute. use this
to identify it.

Change-Id: I152f2ec34614131027db680ead98b53f9b321ed5
</content>
</entry>
<entry>
<title>Always capture output for GitCommand</title>
<updated>2015-03-26T18:43:55+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john.l.villalovos@intel.com</email>
</author>
<published>2015-03-17T03:49:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=9c76f67f13c033b67b23206798701548207dd880'/>
<id>urn:sha1:9c76f67f13c033b67b23206798701548207dd880</id>
<content type='text'>
Switch the GitCommand program to always capture the output for stdout
and stderr.  And by default print the output while running.

The options capture_stdout and capture_stderr have effectively become
options to supress the printing of stdout and stderr.

Update the 'git fetch' to use '--progress' so that the progress messages
will be displayed.  git checks if the output location isatty() and if it
is not a TTY it will by default not print the progress messages.

Change-Id: Ifdae138e008f80a59195f9f43c911a1a5210ec60
</content>
</entry>
<entry>
<title>Decode git version</title>
<updated>2014-08-20T06:17:10+00:00</updated>
<author>
<name>Chirayu Desai</name>
<email>chirayudesai1@gmail.com</email>
</author>
<published>2014-08-20T04:04:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=c46de6932ac95eb6086a24c6880553f27cf5be44'/>
<id>urn:sha1:c46de6932ac95eb6086a24c6880553f27cf5be44</id>
<content type='text'>
Used by 'repo --version'
With Python 3,
* Before: b'git version 2.1.0'
* After: git version 2.1.0

Change-Id: I4321bb0f09e92cda1123c35910338b940e82a305
</content>
</entry>
<entry>
<title>Share git version parsing code with wrapper module</title>
<updated>2014-01-30T23:18:56+00:00</updated>
<author>
<name>Conley Owens</name>
<email>cco3@android.com</email>
</author>
<published>2014-01-30T22:46:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=ff0a3c8f80339960623acf76ec2bb6c1ad61c352'/>
<id>urn:sha1:ff0a3c8f80339960623acf76ec2bb6c1ad61c352</id>
<content type='text'>
'repo' and 'git_command.py' had their own git version parsing code.
This change shares that code between the modules.  DRY is good.

Change-Id: Ic896d2dc08353644bd4ced57e15a91284d97d54a
</content>
</entry>
<entry>
<title>Respect version hyphenation</title>
<updated>2014-01-30T21:53:55+00:00</updated>
<author>
<name>Conley Owens</name>
<email>cco3@android.com</email>
</author>
<published>2014-01-30T21:53:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=148a84de0ca7f828564f80cbe2bace33f295e65f'/>
<id>urn:sha1:148a84de0ca7f828564f80cbe2bace33f295e65f</id>
<content type='text'>
The last change regarding version parsing lost handling of version
hyphenation, this restores that.  In otherwords,
1.1.1-otherstuff is parsed as (1,1,1) instead of (1,1,0)

Change-Id: I3753944e92095606653835ed2bd090b9301c7194
</content>
</entry>
<entry>
<title>Handle release candidates in git version parsing</title>
<updated>2014-01-30T21:26:50+00:00</updated>
<author>
<name>Conley Owens</name>
<email>cco3@android.com</email>
</author>
<published>2014-01-30T21:09:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=1c5da49e6c0c2dd6a5f0ba6e5b57ecb783c27eea'/>
<id>urn:sha1:1c5da49e6c0c2dd6a5f0ba6e5b57ecb783c27eea</id>
<content type='text'>
Right now repo chokes on git versions like "1.9.rc1".  This change
treats 'rc*' as a '0'.

Change-Id: I612b7b431675ba7415bf70640a673e48dbb00a90
</content>
</entry>
<entry>
<title>Fix some python3 encoding issues</title>
<updated>2013-11-21T06:03:22+00:00</updated>
<author>
<name>Chirayu Desai</name>
<email>cdesai@cyanogenmod.org</email>
</author>
<published>2013-11-19T13:16:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=0eb35cbe5096128e4a760aca6842ecdbea5baf1a'/>
<id>urn:sha1:0eb35cbe5096128e4a760aca6842ecdbea5baf1a</id>
<content type='text'>
* Add .decode('utf-8') where needed
* Add 'b' to `open` where needed, and remove where unnecessary

Change-Id: I0f03ecf9ed1a78e3b2f15f9469deb9aaab698657</content>
</entry>
<entry>
<title>Change print statements to work in python3</title>
<updated>2012-11-14T01:33:56+00:00</updated>
<author>
<name>Sarah Owens</name>
<email>sarato@inkylabs.com</email>
</author>
<published>2012-11-02T05:59:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=cecd1d864fc3cf02cf50d367111e0d0e173c5dc6'/>
<id>urn:sha1:cecd1d864fc3cf02cf50d367111e0d0e173c5dc6</id>
<content type='text'>
This is part of a series of changes to introduce Python3 support.

Change-Id: I373be5de7141aa127d7debdbce1df39148dbec32
</content>
</entry>
<entry>
<title>Fix pylint warning W0108: Lambda may not be necessary</title>
<updated>2012-11-06T23:39:57+00:00</updated>
<author>
<name>David Pursehouse</name>
<email>david.pursehouse@sonymobile.com</email>
</author>
<published>2012-10-25T03:40:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/tools/git-repo.git/commit/?id=7e6dd2dff012062b8dd812f923339790323b3840'/>
<id>urn:sha1:7e6dd2dff012062b8dd812f923339790323b3840</id>
<content type='text'>
Remove unnecessary usage of lambda.

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