<feed xmlns='http://www.w3.org/2005/Atom'>
<title>replicant/core/adb/bugreport.cpp, branch master</title>
<subtitle>Patches not merged yet, used for building and testing them
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/'/>
<entry>
<title>Merge "Don't preserve file attributes when pulling bugreport file..."</title>
<updated>2017-08-22T22:41:26+00:00</updated>
<author>
<name>Treehugger Robot</name>
<email>treehugger-gerrit@google.com</email>
</author>
<published>2017-08-22T22:41:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=8570d1db70a4fac6dff0c48fd085c70f7fab3ac9'/>
<id>8570d1db70a4fac6dff0c48fd085c70f7fab3ac9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>adb: allow selection of a specific transport.</title>
<updated>2017-08-21T21:15:06+00:00</updated>
<author>
<name>Josh Gao</name>
<email>jmgao@google.com</email>
</author>
<published>2017-08-16T23:57:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=b122b175555d80b1d13dc1d864126f531e224d84'/>
<id>b122b175555d80b1d13dc1d864126f531e224d84</id>
<content type='text'>
Extend device selection to allow selecting a specific transport via
monotonically increasing identifier (visible in devices -l).

This is useful when using multiple devices (like hikey960...) that
have identical bogus serial numbers like 0123456789ABCDEF.

Bug: http://b/37043226
Test: adb -t {1, 2, 9999999} {get-serialno, shell, features}
Change-Id: I55e5dc5a406a4eeee0012e39b52e8cd232e608a6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Extend device selection to allow selecting a specific transport via
monotonically increasing identifier (visible in devices -l).

This is useful when using multiple devices (like hikey960...) that
have identical bogus serial numbers like 0123456789ABCDEF.

Bug: http://b/37043226
Test: adb -t {1, 2, 9999999} {get-serialno, shell, features}
Change-Id: I55e5dc5a406a4eeee0012e39b52e8cd232e608a6
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't preserve file attributes when pulling bugreport file...</title>
<updated>2017-08-16T01:11:38+00:00</updated>
<author>
<name>Felipe Leme</name>
<email>felipeal@google.com</email>
</author>
<published>2017-08-16T01:09:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=4bfddbd20e3bf11ffc31c8c4177a13ed14ab1a11'/>
<id>4bfddbd20e3bf11ffc31c8c4177a13ed14ab1a11</id>
<content type='text'>
...otherwise it could have weird dates when the device clock is wrong.

Test: m -j32 adb &amp;&amp; ./out/host/linux-x86/bin/adb bugreport test.zip &amp;&amp; ls -l test.zip
Test: m -j32 adb_test &amp;&amp; ./out/host/linux-x86/nativetest64/adb_test/adb_test

Fixes: 63927360

Change-Id: I3f87277f1acb97212a87b89639e42b6d7d300faa
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
...otherwise it could have weird dates when the device clock is wrong.

Test: m -j32 adb &amp;&amp; ./out/host/linux-x86/bin/adb bugreport test.zip &amp;&amp; ls -l test.zip
Test: m -j32 adb_test &amp;&amp; ./out/host/linux-x86/nativetest64/adb_test/adb_test

Fixes: 63927360

Change-Id: I3f87277f1acb97212a87b89639e42b6d7d300faa
</pre>
</div>
</content>
</entry>
<entry>
<title>Always print the initial bugreport progress message.</title>
<updated>2017-05-23T23:58:16+00:00</updated>
<author>
<name>Felipe Leme</name>
<email>felipeal@google.com</email>
</author>
<published>2017-05-23T23:56:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=e5d665b46f5bbc841ab3eeb2070f390932f1a239'/>
<id>e5d665b46f5bbc841ab3eeb2070f390932f1a239</id>
<content type='text'>
Otherwise, it might take seconds to display the initial percentage,
and the user might thing something is wrong and CTRL-C the process.

Fixes: 62003852
Test: added BugreportTest.OkProgressZeroPercentIsNotIgnored
Test: m -j32 adb_test &amp;&amp; ./out/host/linux-x86/nativetest64/adb_test/adb_test --gtest_filter=BugreportTest.*

Change-Id: I8e7dbb28666c825c1408d5d204f813064fc3048f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise, it might take seconds to display the initial percentage,
and the user might thing something is wrong and CTRL-C the process.

Fixes: 62003852
Test: added BugreportTest.OkProgressZeroPercentIsNotIgnored
Test: m -j32 adb_test &amp;&amp; ./out/host/linux-x86/nativetest64/adb_test/adb_test --gtest_filter=BugreportTest.*

Change-Id: I8e7dbb28666c825c1408d5d204f813064fc3048f
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Don't display bugreport progress when it recedes, for real..."</title>
<updated>2017-05-03T15:21:26+00:00</updated>
<author>
<name>Treehugger Robot</name>
<email>treehugger-gerrit@google.com</email>
</author>
<published>2017-05-03T15:21:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=499af386236a978319d6e2784ba9ef8c14ed8c6e'/>
<id>499af386236a978319d6e2784ba9ef8c14ed8c6e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't display bugreport progress when it recedes, for real...</title>
<updated>2017-05-02T17:08:39+00:00</updated>
<author>
<name>Felipe Leme</name>
<email>felipeal@google.com</email>
</author>
<published>2017-05-02T17:06:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=4cc03611cdd8f381d199e63f353075d6c7a3c44d'/>
<id>4cc03611cdd8f381d199e63f353075d6c7a3c44d</id>
<content type='text'>
The previous fix was taking account just the progress reported by dumpstate,
not progress/percentage. As such, it was not detecting the cases where the
percentage decreased but the progress didn't.

Bug: 37878670
Test: m -j32 adb_test &amp;&amp; ./out/host/linux-x86/nativetest64/adb_test/adb_test --gtest_filter=BugreportTest.*

Change-Id: I5830028f3191a9b17f63aeed5c049b29fa7d1179
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previous fix was taking account just the progress reported by dumpstate,
not progress/percentage. As such, it was not detecting the cases where the
percentage decreased but the progress didn't.

Bug: 37878670
Test: m -j32 adb_test &amp;&amp; ./out/host/linux-x86/nativetest64/adb_test/adb_test --gtest_filter=BugreportTest.*

Change-Id: I5830028f3191a9b17f63aeed5c049b29fa7d1179
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix various adb error reporting bugs.</title>
<updated>2017-04-18T21:51:27+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2017-04-18T21:34:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=1fc8f6e0cfdfd5c9dbbd82116fba2ebec82b4659'/>
<id>1fc8f6e0cfdfd5c9dbbd82116fba2ebec82b4659</id>
<content type='text'>
`adb install` was writing success to stderr rather than stdout.

Server mismatch messages were going to stdout rather than stderr.

Error messages should consistently start with a lower case letter.

Also improve consistency of syntax error reporting.

Bug: https://issuetracker.google.com/37128706 (adb install success to stdout)
Bug: https://issuetracker.google.com/37140458 (server mismatch on stderr)
Bug: http://b/32413861 (consistency)
Test: ran tests
Change-Id: I0d6cb0c7482bec03483dacefd996644b7a28d273
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`adb install` was writing success to stderr rather than stdout.

Server mismatch messages were going to stdout rather than stderr.

Error messages should consistently start with a lower case letter.

Also improve consistency of syntax error reporting.

Bug: https://issuetracker.google.com/37128706 (adb install success to stdout)
Bug: https://issuetracker.google.com/37140458 (server mismatch on stderr)
Bug: http://b/32413861 (consistency)
Test: ran tests
Change-Id: I0d6cb0c7482bec03483dacefd996644b7a28d273
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't display bugreport progress when it recedes.</title>
<updated>2017-03-20T18:49:21+00:00</updated>
<author>
<name>Felipe Leme</name>
<email>felipeal@google.com</email>
</author>
<published>2017-03-20T18:00:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=dedcbaad51106a62a72721a68a27c132d3c04a82'/>
<id>dedcbaad51106a62a72721a68a27c132d3c04a82</id>
<content type='text'>
Also fixed InvalidNumberArgs that broke when usage() was moved out from
bugreport.cpp.

Fixes: 26354314
Bug: 28054087
Test: m -j32 adb_test &amp;&amp; ./out/host/linux-x86/nativetest64/adb_test/adb_test --gtest_filter=BugreportTest.*

Change-Id: I7be5ef7de0fb0d339dc80a2abc816e1c905deb22
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also fixed InvalidNumberArgs that broke when usage() was moved out from
bugreport.cpp.

Fixes: 26354314
Bug: 28054087
Test: m -j32 adb_test &amp;&amp; ./out/host/linux-x86/nativetest64/adb_test/adb_test --gtest_filter=BugreportTest.*

Change-Id: I7be5ef7de0fb0d339dc80a2abc816e1c905deb22
</pre>
</div>
</content>
</entry>
<entry>
<title>Move adb_dirname and adb_basename to libbase</title>
<updated>2017-02-28T02:18:31+00:00</updated>
<author>
<name>Colin Cross</name>
<email>ccross@android.com</email>
</author>
<published>2017-02-24T05:23:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=58021d15c94eb6a81d2673634956b5374af6a1e5'/>
<id>58021d15c94eb6a81d2673634956b5374af6a1e5</id>
<content type='text'>
adb already provides an implementation of dirname and basename that
take and produce std::strings, move it into libbase so it can be
used in the implementation of GetExecutableDirectory.

Test: out/host/linux-x86/nativetest64/adb_test/adb_test
Test: out/host/linux-x86/nativetest64/libbase_test/libbase_test
Test: adb shell /data/nativetest64/libbase_test/libbase_test64
Change-Id: Ideb1627607b14562121316d4ed27fa6fb0930684
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
adb already provides an implementation of dirname and basename that
take and produce std::strings, move it into libbase so it can be
used in the implementation of GetExecutableDirectory.

Test: out/host/linux-x86/nativetest64/adb_test/adb_test
Test: out/host/linux-x86/nativetest64/libbase_test/libbase_test
Test: adb shell /data/nativetest64/libbase_test/libbase_test64
Change-Id: Ideb1627607b14562121316d4ed27fa6fb0930684
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't print 168^W143 lines of help when someone makes a typo.</title>
<updated>2017-02-07T00:20:30+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2017-02-07T00:20:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=2ec36b0da00f959ed5cf47b947630fe6bfe73c9f'/>
<id>2ec36b0da00f959ed5cf47b947630fe6bfe73c9f</id>
<content type='text'>
Print actual usage messages in most cases.

Add --help and --version.

Bug: http://b/28054087
Test: manual
Change-Id: I39c1cb7a84f52e0c35d24f140ec55c3a181283fb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Print actual usage messages in most cases.

Add --help and --version.

Bug: http://b/28054087
Test: manual
Change-Id: I39c1cb7a84f52e0c35d24f140ec55c3a181283fb
</pre>
</div>
</content>
</entry>
</feed>
