From 9ac13c344b2b2f5c0d67c0f6375734e14476c554 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Tue, 22 Apr 2014 16:42:25 -0700 Subject: report-error: Add posting in the public note (From OE-Core rev: c2eb5cd1aa4632f7ee8c261414e599dcb6f40a8b) (From OE-Core rev: cfb4539b932e9f6c686206840e0cd60d0af86adb) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/classes/report-error.bbclass | 1 + scripts/send-error-report | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/classes/report-error.bbclass b/meta/classes/report-error.bbclass index 479b38deb0..15adc97b52 100644 --- a/meta/classes/report-error.bbclass +++ b/meta/classes/report-error.bbclass @@ -60,6 +60,7 @@ python errorreport_handler () { filename = "error_report_" + e.data.getVar("BUILDNAME")+".txt" datafile = errorreport_savedata(e, jsondata, filename) bb.note("The errors of this build are stored in: %s. You can send the errors to an upstream server by running: send-error-report %s [server]" % (datafile, datafile)) + bb.note("The contents of these logs will be posted in public if you use the above script. Please ensure you remove any identifying or propriety information before sending.") } addhandler errorreport_handler diff --git a/scripts/send-error-report b/scripts/send-error-report index 3d1f7a4017..48d983bc0e 100755 --- a/scripts/send-error-report +++ b/scripts/send-error-report @@ -97,8 +97,9 @@ def sendData(json_file, server): if __name__ == '__main__': print ("\nSends an error report (if the report-error class was enabled) to a remote server.") + print("\nThis scripts sends the contents of the error to a public upstream server.") + print("\nPlease remove any identifying information before sending.") if len(sys.argv) < 2: - print("\nThis scripts sends the contents of a file to an upstream server.") print("\nUsage: send-error-report [server]") print("\nIf this is the first when sending a report you'll be asked for your name and optionally your email address.") print("They will be associated with your report.\n") -- cgit v1.2.3-54-g00ecf