Skip to content

Improve "how to recover" experience #4

@tkellogg

Description

@tkellogg

The readme outlines how to use a dura branch to recover, but it involves a lot of git-fu. It could be a lot easier

Idea: sub-commands

Add dura subcommands to do things like

  • Get the branch corresponding to HEAD, e.g. dura head
  • Get a commit by time frame, e.g. dura head 4h. I imagine this searching across dura branches, since we can indeed go prior to the HEAD commit.
  • Recover to a specific commit hash (or a time frame).

Idea: Add help messages in relevant places

Documentation in the readme is great, but it could be better if we added help directly into messages that dura has to leave anyway. For example, why not set the commit message to something like:

dura auto-backup

To recover to this commit, run this:

<<git commands>>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions