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

Re: [Opinions] Integrated tickets

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 11, 2014, 17:17 UTC
Message-ID
<xmqqioil7j20.fsf@gitster.dls.corp.google.com>
In-Reply-To
<54620522.4060600@ira.uka.de>
Holger Hellmuth <hellmuth@ira.uka.de> writes:
Show 9 quoted lines
> Am 06.11.2014 um 19:45 schrieb Junio C Hamano:
>> This is a tangent, but I personally do not think "ticket" meshes
>> very well with "commit".  If you already know which commit was
>> problematic, why are you annotating it with a ticket before
>> reverting it first?
>
> I would expect a ticket to be annotating the commit or version tag
> where the bug was found, which usually isn't the commit where the bug
> was introduced.

You could arrange your "tickets" in such a way, but in general, the way you organize your data should match how the data is expected to commonly be accessed.

If somebody finds a bug when the version he happened to be using was v1.8.5-9-g144d846, do you mean to attach that ticket to that exact commit? Or do you use v1.8.5^0 (i.e. the closest tagged version) after making sure that it is not a commit between these two that introduced it as a new bug?

Either way, I do not see how such an arrangement is the most convenient way to organize the tickets and ask questions such as "what are the known, untriaged, or unresolved issues in v1.8.5?", "what are the issues that didn't exist in v1.7.0 but appear in v1.8.5?", "what are the outstanding issues around refs handling that are the highest priority?", etc. With your arrangement of data, any of the common questions I think of asking would require a linear scan of a commit range, followed by an enumeration and parsing of all the notes attached to the commits to answer.

So I would have to say that your expectation makes even less sense than annotating an exact buggy commit with a note saying what is broken by it.

Previous: Holger HellmuthNext: Holger Hellmuth
Message 5 of 7 in “[Opinions] Integrated tickets”
  1. Fredrik GustafssonNov 5, 2014
  2. Jeff KingNov 6, 2014
  3. Junio C HamanoNov 6, 2014
  4. Holger HellmuthNov 11, 2014
  5. Junio C HamanoNov 11, 2014
  6. Holger HellmuthNov 11, 2014
  7. Junio C HamanoNov 11, 2014

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.