Closed Bug 1233107 Opened 9 years ago Closed 9 years ago

[raptor-submit] Switch input to stdin

Categories

(Firefox OS Graveyard :: Gaia::PerformanceTest, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.6 S4 - 1/1

People

(Reporter: Eli, Assigned: Eli)

Details

(Whiteboard: [systemsfe])

Attachments

(1 file)

Right now submit is given a file location, but many of the other commands allow reading in data as a stream from stdin. Switch submit to also allow reading in data via stdin:

cat metrics.ldjson | raptor submit [options]
Not urgent, but would be nice to make this the default before publishing raptor-submit to v1.0.0.
Attachment #8699046 - Flags: review?(rwood)
Comment on attachment 8699046 [details] [review]
PR: https://github.com/mozilla-raptor/submit/pull/1

LGTM and works great with latest update, ship it
Attachment #8699046 - Flags: review?(rwood) → review+
In master: https://github.com/mozilla-raptor/submit/commit/99d481308a2b55b238c61c0e7646808114e530c6

Leaving open until I do the npm publishing.
In npm: raptor-submit@1.0.0
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: 2.6 S3 - 12/18 → 2.6 S4 - 1/1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: