Skip to content

Make plots reading and rendering API friendly #3818

@Suor

Description

@Suor

Context: this will help using it in viewer.

This things need to be implemented somewhat public:

  • separate data and template extraction
  • separate raw data fetching and post-processing (add rev and some json magic)
  • provide a way to make a spec from raw data and template

The last point is culmination. The viewer scenario of using it is:

  • parse repo, save raw plot data and templates (as text) to DB.
  • on user request fetch data for selected commits and pass it to some template (postprocessing happens somewhere inbetween or within a template part)

Ideally one won't need post-processing or if that is not possible it might be separated into postread and prerender parts. A thing to discuss.

This is not p0, since I'll be handling it in some dirty way for now myself, but still important.

NOTE: this issue is scoped to plot data reading and plot rendering, plot data file discovery is discussed separately in #3807.

Metadata

Metadata

Assignees

Labels

p1-importantImportant, aka current backlog of things to do

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions