Skip to content

VaultInternal Version and Logging #336

@tegefaulkes

Description

@tegefaulkes

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

Tasks

  • 1. create/update vault log command.
  • 2. create/update vault version command.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions