Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "João Henrique Ferreira de Freitas" <joaohf@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/2] reporter-error sending report
Date: Wed, 12 Nov 2014 21:08:37 -0200	[thread overview]
Message-ID: <1415833719-6255-1-git-send-email-joaohf@gmail.com> (raw)

When the Error Reporting Tool is enabled and the build fails, then the report-error 
prints an url that the user needs to get and use the send-error-report tool which
will sends the reporter to a public or private reporting server error.

This works very well if the user is sitting in front of the building machine.
There are some cases, like jobs running on Jenkins server, that need to send
reports automatically when a build fails.

This patch set introduces a glue between reporter-error.bbclass and send-error-reporter tool.
So, report erros will be send as soon as an error happens.

Two new variables were added and the user takes the responsible to fill them (conf/site.conf),
for example:

INHERIT += "report-error"
ERR_REPORT_SERVER = "127.0.0.1:8000"
ERR_REPORT_USER = "joaohf"
ERR_REPORT_EMAIL = "joaohf@gmail.com"


João Henrique Ferreira de Freitas (2):
  report-error: sending error report to server without user intervention
  report-error: send report error with username and email

 meta/classes/report-error.bbclass | 15 +++++++++++++
 scripts/send-error-report         | 45 ++++++++++++++++++++++++---------------
 2 files changed, 43 insertions(+), 17 deletions(-)

-- 
1.9.1



             reply	other threads:[~2014-11-12 23:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-12 23:08 João Henrique Ferreira de Freitas [this message]
2014-11-12 23:08 ` [PATCH 1/2] report-error: sending error report to server without user intervention João Henrique Ferreira de Freitas
2014-11-12 23:08 ` [PATCH 2/2] report-error: send report error with username and email João Henrique Ferreira de Freitas
2014-11-13 12:58 ` [PATCH 0/2] reporter-error sending report Martin Jansa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1415833719-6255-1-git-send-email-joaohf@gmail.com \
    --to=joaohf@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox