Lurker News

Comments (94) 25 threads

Show all comments

Showing thread 7 of 25

pjc503 replies#
Bugs are "retroactive" - you discover a bug, and then go on to determine the earliest point it was present.

Given that, I am looking for an extremely niche but vital feature: the ability to keep track of which branches a bug has been fixed in. Is this something git-bug can or does enable?

michaelmure1 reply#
Not yet, but that might be a good feature. Also, the goal is to have an extensible data model where you can store whatever metadata you want to support arbitrary external bug tracker.

Please open an issue so we can discuss that.

cryptonector#
It would be nice to have a way to automatically update a bug's status when a commit claims to fix it. Presumably that could be done with a (server-side) hook.
deathanatos#
If you have the commit hash of the commit(s) introducing the bug, the it's a simple matter of seeing if that commit is an ancestor of any commit (or branch) you're interested in. Similarly, once fixed, it's just a matter of seeing if the fix is an ancestor of the interested branch/tag/commit. (Not saying that this tool couldn't or shouldn't, just simply that this should be very doable within git, I think.)

I imagine the most difficult part of this is just getting the data collected. Even with git-bisect, I very rarely find myself looking for the point of introduction, and instead just fixing the bug.

eeZah7Ux#
Not so niche: Bugs Everywhere does that, and when you fix a bug in a branch and then merge the branch in master the bug is closed in master as well.