Git sha watermarking of plots/data
If we want to be really good about versioning of curves, we could add some way for the plotter/data-exporters to know the git sha of the code and whether the current checkout is dirty. I think that plots could keep a subtle text copy of the sha in the bottom/corner/side or alternatively the tag (version) if the current sha sits on a tag.
Maybe this is unnecessary if we are already being more careful about adjusting code.. If so we can close this and the issue serves as a decision.
There are many ways to do this. In the past I have added git hooks which update an auto_version.py in the working copy before or after commit. This is annoying because it makes the working tree always dirty (at least the way I've done it). It's also bad since users have to explicitly set up the hook, so it would also need a receive hook on gitlab to ensure that the update is performed.
Is there a better way? Is this necessary. Even without watermarking I like having an auto_version.py for code to query and report.