git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[RFC] Idea for Git Bugtracking Tool

From
Thomas Harning <harningt@gmail.com>
Date
Mar 6, 2008, 19:22 UTC
Message-ID
<20080306142246.5d9460b7@gmail.com>
Here's a 'basic' concept on how bugtracking could work w/ GIT
Entities:
  * BUG: Bug Repository
  * GIT: GIT Repository
---- May be co-located...
Idea:
  * BUG
    Receives bug reports referencing GIT revision ID(s) to which it affects
    Generates unique IDs for bugs (non-incremental,
      although a scheme could be setup ex: <UNIQUE-USER>-<INC ID>
    Contains a 'cached' calculated BUG-status from GIT log messages
      + permanent BUG-status changes
    Older status change takes precedence (need to make sure times are
      in sync, for sure!)
  * GIT
    Commit messages/annotated-tags may contain text denoting
      a bug's "new" status (FIXED/REOPEN/TO-BE-TESTED/...)
    On 'push' to a repository w/ BUG-hooks, trigger 'BUG's
      cache updates
    For 'merge' events, BUG-status changes may get a little more
      ugly and complicated...If a BUG-status change occurs in more
      than 1 branch, the user may need to be alerted that some
      manual checking may be necessary.
    BUG-status changes should probably have the name of the
      branch to which the change occurred, so that when a merge
      occurs, its a little easier to visualize from that, what was
      going on

You may query BUG for the list of bugs at any point in history and it will be able to walk up the list of parents and know what bugs existed where and what changes occurred.

Workflow enhancement:
  Specific comitters may only be allowed to change the status of
    a bug from OPEN->FIXED, wheras others who state 'FIXED' may
    get the status changed to VERIFY-FIXED or some sort of state
    based on a mapping/workflow tree
Ideally the 'BUG' database can be distributed (potentially within
  a GIT repository...) due to the use of unique IDs.  An issue
  here would be dealing w/ the order/time-sensitive bug status changes...

Any ideas/flaws with this concept? Anybody up for taking on this project ... or for taking this up as a GSOC project mentor?

Next: Matthieu Moy
Message 1 of 8 in “[RFC] Idea for Git Bugtracking Tool”
  1. Thomas HarningMar 6, 2008
  2. Matthieu MoyMar 6, 2008
  3. Jakub NarebskiMar 7, 2008
  4. Pierre HabouzitMar 8, 2008
  5. Jakub NarebskiMar 8, 2008
  6. Pierre HabouzitMar 8, 2008
  7. Jan HudecMar 9, 2008
  8. Thomas HarningMar 11, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.