HomePhabricator

Give data exporters a header row

Description

Give data exporters a header row

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.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13049

Differential Revision: https://secure.phabricator.com/D18952

Details

Provenance
epriestleyAuthored on Jan 29 2018, 2:32 AM
epriestleyPushed on Jan 29 2018, 11:17 PM
Reviewer
amckinley
Differential Revision
D18952: Give data exporters a header row
Parents
rP213eb8e93de5: Define common ID and PHID export fields in SearchEngine
Branches
Unknown
Tags
Unknown
Tasks
T13049: Plans: Data Exporters (Excel, JSON, CSV, etc.)
Build Status
Buildable 19260
Build 26027: Run Core Tests