Page MenuHomePhabricator

Give data exporters a header row
ClosedPublic

Authored by epriestley on Jan 29 2018, 2:35 AM.
Tags
None
Referenced Files
F19086616: D18952.id45451.diff
Dec 2 2025, 10:21 PM
F19086612: D18952.id45451.diff
Dec 2 2025, 10:21 PM
F19081058: D18952.id45451.diff
Dec 2 2025, 3:45 AM
F19059535: D18952.id45451.diff
Nov 29 2025, 5:35 AM
F19055269: D18952.id.diff
Nov 28 2025, 4:25 PM
F19049623: D18952.diff
Nov 27 2025, 5:50 PM
F18998220: D18952.id45476.diff
Nov 20 2025, 6:15 PM
F18943582: D18952.diff
Nov 11 2025, 2:19 PM
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