<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/scripts/send-error-report, branch python3</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=python3</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=python3'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2015-12-28T09:25:12+00:00</updated>
<entry>
<title>scripts: print usage in argparse-using scripts when a command-line error occurs</title>
<updated>2015-12-28T09:25:12+00:00</updated>
<author>
<name>Paul Eggleton</name>
<email>paul.eggleton@linux.intel.com</email>
</author>
<published>2015-12-22T04:02:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8e0a84c90175cc2fedff0272abda073ee270b876'/>
<id>urn:sha1:8e0a84c90175cc2fedff0272abda073ee270b876</id>
<content type='text'>
For scripts that use Python's standard argparse module to parse
command-line arguments, create a subclass which will show the usage
the usage information when a command-line parsing error occurs. The most
common case would be when the script is run with no arguments; at least
then the user immediately gets to see what arguments they might need to
pass instead of just an error message.

(From OE-Core rev: d62fe7c9bc2df6a4464440a3cae0539074bf99aa)

Signed-off-by: Paul Eggleton &lt;paul.eggleton@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>scripts/send-error-report: Rework script to support new features</title>
<updated>2015-03-10T10:47:38+00:00</updated>
<author>
<name>Michael Wood</name>
<email>michael.g.wood@intel.com</email>
</author>
<published>2015-02-27T11:47:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a8b1dede04433368cc1a3e57add2507ccefc04d3'/>
<id>urn:sha1:a8b1dede04433368cc1a3e57add2507ccefc04d3</id>
<content type='text'>
- Add arguments to allow for non-prompted sending, json encoded response
  and link backs.
- Add feature to check the server's max_log_size
- Add feature to allow reviewing of the final data
- Be a bit more helpful if the expected fields aren't filled in instead
  of exiting.
- Remove the redundant urlencode
- Add a user-agent so that the server can identify the encoding method.
- Remove custom proxy handling - urllib should 'just work'

[YOCTO #6736]
[YOCTO #7245]
[YOCTO #7105]

(From OE-Core rev: 5e036f3fd9caaedcd2759214766b3228299e929b)

Signed-off-by: Michael Wood &lt;michael.g.wood@intel.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>scripts/send-error-report: Set exit code if error occurs</title>
<updated>2015-01-29T15:36:52+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2015-01-29T14:32:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e2cffc00e1ea1b2d8bd5143f4d8ff56501b7e3f7'/>
<id>urn:sha1:e2cffc00e1ea1b2d8bd5143f4d8ff56501b7e3f7</id>
<content type='text'>
If an error occurs, set an error exit code so the world knows about it. This fixes
issues where the autobuilder doesn't notice these failures.

[YOCTO #7265]

(From OE-Core rev: b219377defc9517af360986352bd7da1a7906f10)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>scripts/send-error-report: fetch /Errors/ instead of /.</title>
<updated>2014-08-06T09:23:39+00:00</updated>
<author>
<name>Roxana Ciobanu</name>
<email>roxana.ciobanu@intel.com</email>
</author>
<published>2014-08-04T12:16:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6a77a1dd220bf8f8fbaba4fcd6ceca9da27559d2'/>
<id>urn:sha1:6a77a1dd220bf8f8fbaba4fcd6ceca9da27559d2</id>
<content type='text'>
If HTTP_PROXY or http_proxy is set when the send-error-report script
is run, it will check to see if fetching / on the specified server
returns 200 without the proxy set. If it does it will assume that the
proxy is not needed. However this check can never work because
fetching / always redirects to /Errors/ in the current code and
thus returns code 301. This is fixed by fetching /Errors/ instead of /.

[YOCTO #YB6576]

(From OE-Core rev: af93c89febcd186d7e31f1d15affc15f38e3379d)

Signed-off-by: Roxana Ciobanu &lt;roxana.ciobanu@intel.com&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>report-error: Add posting in the public note</title>
<updated>2014-04-24T16:55:15+00:00</updated>
<author>
<name>Saul Wold</name>
<email>sgw@linux.intel.com</email>
</author>
<published>2014-04-22T23:42:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b882c0f995d97e59190e71730c7e67c5e5289a94'/>
<id>urn:sha1:b882c0f995d97e59190e71730c7e67c5e5289a94</id>
<content type='text'>
(From OE-Core rev: c2eb5cd1aa4632f7ee8c261414e599dcb6f40a8b)

Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>scripts/send-error-report: simple hack to use proxy from the enviroment</title>
<updated>2014-04-23T10:43:27+00:00</updated>
<author>
<name>Stefan Stanacar</name>
<email>stefanx.stanacar@intel.com</email>
</author>
<published>2014-04-11T17:49:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e2661d73672947f0981ffacfeed28209c8a6a128'/>
<id>urn:sha1:e2661d73672947f0981ffacfeed28209c8a6a128</id>
<content type='text'>
People behind a proxy couldn't send an error report to an upstream server,
this should fix the issue if they use a proxy that doesn't require authentication,
or one that uses basic http authentication and it's correctly exported in the enviroment.

(From OE-Core rev: a8511ee80246b4e2caa353b87f4b586f1539e6d4)

Signed-off-by: Stefan Stanacar &lt;stefanx.stanacar@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>scripts/send-error-report: use a real server as the default</title>
<updated>2014-04-19T10:04:40+00:00</updated>
<author>
<name>Stefan Stanacar</name>
<email>stefanx.stanacar@intel.com</email>
</author>
<published>2014-04-17T10:35:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0c4d56c86feeeb5d5ecd2f663e1df4ea36b2c8cf'/>
<id>urn:sha1:0c4d56c86feeeb5d5ecd2f663e1df4ea36b2c8cf</id>
<content type='text'>
Now that there is a public instance [1] of the error report web interface [2],
we should set it as the default.

[1] http://errors.yoctoproject.org/
[2] http://git.yoctoproject.org/cgit/cgit.cgi/error-report-web/

(From OE-Core rev: 90a955761db4724f0222527a129a3904d6d8aa6e)

Signed-off-by: Stefan Stanacar &lt;stefanx.stanacar@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>send-error-report: show response</title>
<updated>2014-04-04T10:53:51+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>martin.jansa@gmail.com</email>
</author>
<published>2014-04-02T12:25:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d2c395a618c4bbdd8a52a136f8b3822f448200d7'/>
<id>urn:sha1:d2c395a618c4bbdd8a52a136f8b3822f448200d7</id>
<content type='text'>
* useful when debuging why it was refused by server

(From OE-Core rev: 0b8ff2231a36755a71d8bf8c7854364d69ef2df8)

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>report-error.bbclass: new class to save build information when errors occur</title>
<updated>2014-02-14T12:30:20+00:00</updated>
<author>
<name>Andreea Proca</name>
<email>andreea.b.proca@intel.com</email>
</author>
<published>2014-02-14T11:58:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=da0a4c7f8de57624f70ef4c8fabacd089241d91a'/>
<id>urn:sha1:da0a4c7f8de57624f70ef4c8fabacd089241d91a</id>
<content type='text'>
Class is used to save data about errors after every task that failed.
Errors saved as json files in ERROR_REPORT_DIR (defaults to tmp/log/error-report).
To use this class one has to add INHERIT += "report-error" to local.conf.

scripts/send-error-report is a simple script that sends the json file
to a HTTP server that collects data (git://git.yoctoproject.org/error-report-web
is a Django web interface that can be used to receive and visualize
the error reports). The script will give you an URL where you can
find your report.

(From OE-Core rev: f186b4c7c6c975638e60b30a512d669dc6dc390f)

Signed-off-by: Andreea Proca &lt;andreea.b.proca@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
