Page MenuHomePhabricator

Give data exporters a header row
ClosedPublic

Authored by epriestley on Jan 29 2018, 2:35 AM.
Tags
None
Referenced Files
F19895727: D18952.diff
Sat, Mar 28, 11:32 PM
F19810016: D18952.diff
Mar 3 2026, 5:04 PM
F19665159: D18952.diff
Feb 7 2026, 12:58 PM
F19615073: D18952.diff
Feb 3 2026, 11:21 PM
F19513676: D18952.id.diff
Jan 13 2026, 3:56 PM
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
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
Branch
export2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 19235
Build 25986: Run Core Tests
Build 25985: arc lint + arc unit