Page MenuHomePhabricator

Give data exporters a header row
ClosedPublic

Authored by epriestley on Jan 29 2018, 2:35 AM.
Tags
None
Referenced Files
F15376147: D18952.id45476.diff
Thu, Mar 13, 2:05 AM
Unknown Object (File)
Wed, Feb 26, 9:37 AM
Unknown Object (File)
Wed, Feb 26, 3:47 AM
Unknown Object (File)
Tue, Feb 25, 10:53 AM
Unknown Object (File)
Mon, Feb 24, 1:07 PM
Unknown Object (File)
Feb 9 2025, 5:06 AM
Unknown Object (File)
Feb 9 2025, 5:06 AM
Unknown Object (File)
Feb 9 2025, 5:06 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