Closed nstelter-slac closed 2 months ago
Strange that the multi-backend test is only now failing, after being like that for some time. That failure is unrelated to the changes you made here.
think my github account needs more permissions in this repo, i cant seem to run CI or add reviewers
also sry im setting my PRs as drafts atm b/c still need to fill out descriptions
Description
Make it so running
happi repair
only saves an item if it had a field actually changed during the repair process. This stops the last_edit times from being updated on unchanged items.Also, it wasn't immediately clear to me how to use the cli along with the example db.json (so I could try commands on a small example db). So added an example cfg and some instructions to the README to make this easy.
Motivation and Context
closes #324
How Has This Been Tested?
Manually tested and verified, and test case added.
Where Has This Been Documented?
In function's doc string and comments.
Pre-merge checklist
docs/pre-release-notes.sh
and created a pre-release documentation page