Page MenuHomePhabricator

Give data exporters a header row
ClosedPublic

Authored by epriestley on Jan 29 2018, 2:35 AM.
Tags
None
Referenced Files
F13239251: D18952.id45451.diff
Wed, May 22, 1:26 AM
F13237705: D18952.diff
Tue, May 21, 2:27 PM
F13231970: D18952.id.diff
Tue, May 21, 12:54 AM
F13222239: D18952.id.diff
Sun, May 19, 3:26 AM
F13221470: D18952.diff
Sun, May 19, 2:48 AM
F13215537: D18952.diff
Fri, May 17, 6:03 PM
F13209383: D18952.id45476.diff
Thu, May 16, 11:47 PM
F13203864: D18952.diff
Wed, May 15, 12:10 AM
Subscribers
None

Details

Summary

Depends on D18951. Ref T13049. When we export to CSV or plain text, add a header row in the first line of the file to explain what each column means. This often isn't obvious with PHIDs, etc.

JSON has keys and is essentially self-labeling, so don't do anything special.

Test Plan

Exported CSV and text, saw new headers. Exported JSON, no changes.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable