Add audit trail functionality for collections #198
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
orinoco/dump-things-server!198
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "audit-trail"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR introduces a git-based audit trail backend. An audit trail can be added to any collection. On curated write, it is automatically records timestamp, user-id, diff, and the resulting record. Reports can be generated based on PIDs.
The backend tries to minimize git commit calls. It will only commit the changes in the current worktree, if a new audit-entry would overwrite them.
87f8e91011e49ca98c1bapply_change_setminiladof datalad-coretest_gitaudit.pyWIP: add audit trail functionality for collectionsto Add audit trail functionality for collections