-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Specification
Logging is similar to a git log. where we get the commit history tracing back from the specified ref or the HEAD if no ref specified. It should contain information relating to each commit ordered in newest to oldest. The information it contains is
- ref
- author information
- commit message containing a generated list of changes for each commit.
This history will be linear and only containing the commits from the main branch. Any commits outside the branch can not be listed.
We need to have a way to checkout previous history of the vault. this will be done via a Version command. To set the commit we wish to check out it should take a ref parameter that accepts HEAD, main or any valid ref string. We should for safety check if the specified ref exists within the expected branch. This should be unnecessary due to GC but it's any easy check to include.
Specify this out more if needed. Add details for command usage.
Additional context
- Relates Introducing vault sharing and the restrictions of pulling and cloning with vault permissions #266
- From: Introducing vault sharing and the restrictions of pulling and cloning with vault permissions #266 (comment)
- To: Introducing vault sharing and the restrictions of pulling and cloning with vault permissions #266 (comment)
Tasks
- 1. create/update vault log command.
- 2. create/update vault version command.