Skip to content

Make dura branch names more informative #91

Description

@chrisranderson

I'm brand new here, trying to find some easy way to make my first contribution to a Rust project, so I may be way off base as I am not a dura user. :)

Dura branches like dura/d4eaefdecb4ce75a2fd1666da5a8c15698eb8f86 could have more informative names to make recovery easier. Some options I've considered that could be mixed and matched:

  • Mostly-sortable save time:
    • dura/2022-02-05_08-30AM (or a 24-hour format which is harder to read, but sortable)
  • Some hint on the number of unstaged changes:
    • dura/2022-02-05_08-30AM_+127-12
  • A snippet of the last changed code that maxes out the length of the branch name to 80 characters or something (this sounds hard, and questionably useful):
    • dura/2022-02-05_08:30AM_+127-12_model.py
    • dura/2022-02-05_08-30AM_+127-12_.about(Run-a-single-backup-of-an-entire-repository.-This-is-the-one-single-iteratio...

We could also be careful about the placement of slashes for git GUIs as mentioned in #47.

Would this be helpful? Do I have the UX flow totally off? If you like the idea, I'd like to take a whack at it. I imagine it will only be a few simple lines.

Edits:

  • Maybe a helpful folder would be dura/<branch name that was copied>/<one of my suggestions>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions