add copy/paste output to BaseScript

RESOLVED FIXED

Status

RESOLVED FIXED
6 years ago
5 months ago

People

(Reporter: aki, Assigned: aki)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
run_command and get_output_from_command can take a list as a command, but the output could be more friendly to copy/paste.
(Assignee)

Comment 1

6 years ago
Created attachment 647633 [details] [diff] [review]
add copy/paste output

Sample output:

12:13:12     INFO - Running command: ['hg', '--config', 'ui.merge=internal:merge', 'update', '-C'] in /src/runcmd/graphs
12:13:12     INFO - Copy/paste: hg --config ui.merge=internal:merge update -C
12:13:13     INFO -  311 files updated, 0 files merged, 0 files removed, 0 files unresolved
12:13:13     INFO - Return code: 0
12:13:13     INFO - Getting output from command: ['hg', '--config', 'ui.merge=internal:merge', 'parent', '--template', '{node|short}'] in /src/runcmd/graphs
12:13:13     INFO - Copy/paste: hg --config ui.merge=internal:merge parent --template {node|short}
12:13:13     INFO - Reading from file tmpfile_stdout
12:13:13     INFO - Output received:
12:13:13     INFO -  da54bac92c1b
12:13:13     INFO - Got revision da54bac92c1b
Attachment #647633 - Flags: review?(rail)
Comment on attachment 647633 [details] [diff] [review]
add copy/paste output

Review of attachment 647633 [details] [diff] [review]:
-----------------------------------------------------------------

Happy to r+ this aki, not sure if you should accept me instead of rail though
Attachment #647633 - Flags: review+
(Assignee)

Updated

6 years ago
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Component: General Automation → General
Product: Release Engineering → Release Engineering
You need to log in before you can comment on or make changes to this bug.