buf
buf copied to clipboard
Make buf and the BSR more tolerant
We've run into a few issues where a user has mistakenly pushed a commit, but it's impossible for them to undo it. The tolerance principle suggests that
"... design should be flexible and tolerant, reducing the cost of mistakes and misuse by allowing undoing and redoing ..."
We should revisit how tolerant buf and the BSR are and see if there are improvements we can make. Some concerns that immediately come to mind are:
- Should we allow users to remove arbitrary commits, or only the
HEADcommit on a track? - How does this influence the behavior of synthetic versions and our ability to invalidate [cached] artifacts associated with the commit (e.g. packages served by the Go Module Proxy)?
- What other operations ought to be more tolerant that aren't already (e.g. removing a tag)?
What do we want to track here? Are there specific issues, or is this more a roadmap item?
This is more of a roadmap item. It's something we definitely need to investigate and improve, but nothing is actionable in the near term. I'd prefer to leave this one open so that we keep it at the top of mind.
Yes please! Additionally I'd love to be able to add a tag to an existing commit (that may or may not have already a tag).
Closing this as a tracking issue, see #1415 for any future changes.