-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ureport: enable attaching of arbitrary values
Whenever we introduce a new report type we need to teach reporter-ureport to attach its report results to micro-reports. This commit adds support for attaching arbitrary values, so we will not need to modify reporter-ureport when a new reporter is added. Two operating modes are being introduced. The mode for attaching random values: $ reporter-ureport -l "foo" -T "blah" -A and the mode for attaching the report results (data from reported_to file): $ reporter-ureport -L "URL" -T "url" -r "upload" -A '-v', '--value' is taken by '--verbose'. '-d', '--data' is taken by '--directory'. Hence I used '-l', '--value'. '-t', '--type' is taken by '--auth'. Hence I used '-T', '--type'. Signed-off-by: Jakub Filak <[email protected]>
- Loading branch information
Jakub Filak
committed
Oct 27, 2015
1 parent
3f47cdc
commit 5b9d8bf
Showing
2 changed files
with
81 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters