Skip to content

Provenance: Changelog #187

Description

@ax3l

After #184, another common need that is written as form-free comments in today's lattice files is a "changelog" of a lattice file.

Today, it is common to write a file top comment that documents changes/the history of a file. While not replacing version control, we could provide a more stringent form for this in an optional field changelog, e.g.,:

PALS:
  version: null  # PALS schema version (not yet defined)
  
  authors:  # optional but recommended for provenance
  - name: last, first
  - name: last2, first2
    # ...

  changelog:
  - date: 2026-02-25
    authors: [1]  # reference above list, 1-indexed, optional
    change: "Upgraded the magnets to include fringe fields effects."
  - date: 2026-01-10
    authors: [1, 2]
    change: "Added the booster."
  # ...

  facility:
    - ...  # lattice elements, beamlines, lattices, parameter set commands, etc.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    standard documentUpdates to the written/prose document.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions