git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Is GGG mislabeling topics?
@ 2023-01-19 17:32 Junio C Hamano
  2023-02-02 14:20 ` Johannes Schindelin
  0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2023-01-19 17:32 UTC (permalink / raw)
  To: Johannes Schindelin; +Cc: git

These comments from GGG bot

    https://github.com/git/git/pull/1435#issuecomment-1386301994
    https://github.com/git/git/pull/1435#issuecomment-1386302018

add 'next' and 'seen' labels, citing merges e3ead5f and c52b021
respectively, but these merges are of a topic that has little to do
with this pull request (#1435).  Is this expected?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Is GGG mislabeling topics?
  2023-01-19 17:32 Is GGG mislabeling topics? Junio C Hamano
@ 2023-02-02 14:20 ` Johannes Schindelin
  2023-02-02 17:06   ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Schindelin @ 2023-02-02 14:20 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

Hi Junio,

On Thu, 19 Jan 2023, Junio C Hamano wrote:

> These comments from GGG bot
>
>     https://github.com/git/git/pull/1435#issuecomment-1386301994
>     https://github.com/git/git/pull/1435#issuecomment-1386302018
>
> add 'next' and 'seen' labels, citing merges e3ead5f and c52b021
> respectively, but these merges are of a topic that has little to do
> with this pull request (#1435).  Is this expected?

Since I could not make `amlog` work reliably for GitGitGadget (and you
will recall that it was not for lack of trying, not by _any_ stretch of
imagination, I really, really put in a few weeks and it just turned out
that there was no way to come up with a 100% correct record of mappings
between patches on the Git mailing list and the commits in git/git), the
best I could do was to use `range-diff` to identify which patches made it
upstream, and what the upstream OIDs are.

What you see in action is that this is imperfect. Because in the absence
of actual git/git commits that correspond to the GitGitGadget Pull
Requests' commits, `range-diff` will even identify replacements or
alternative patches as the git/git commits corresponding to the PR.

I don't see how this could be made robust without forcing you to adopt
different processes than you are using right now.

Ciao,
Johannes

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Is GGG mislabeling topics?
  2023-02-02 14:20 ` Johannes Schindelin
@ 2023-02-02 17:06   ` Junio C Hamano
  0 siblings, 0 replies; 3+ messages in thread
From: Junio C Hamano @ 2023-02-02 17:06 UTC (permalink / raw)
  To: Johannes Schindelin; +Cc: git

Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:

> On Thu, 19 Jan 2023, Junio C Hamano wrote:
>
>> These comments from GGG bot
>>
>>     https://github.com/git/git/pull/1435#issuecomment-1386301994
>>     https://github.com/git/git/pull/1435#issuecomment-1386302018
>>
>> add 'next' and 'seen' labels, citing merges e3ead5f and c52b021
>> respectively, but these merges are of a topic that has little to do
>> with this pull request (#1435).  Is this expected?
>
> Since I could not make `amlog` work reliably for GitGitGadget ...

"git rev-list e3ead5f^..e3ead5f" (as the comment claims that GGG saw
e3ead5f merged this topic) should be able to identify the individual
commits merged, in this case three topmost commits from Peff leading
to 6c065f72 (http: support CURLOPT_PROTOCOLS_STR, 2023-01-16).

> What you see in action is that this is imperfect. Because in the absence
> of actual git/git commits that correspond to the GitGitGadget Pull
> Requests' commits, `range-diff` will even identify replacements or
> alternative patches as the git/git commits corresponding to the PR.

Hmph, so the three topmost commits were mistaken to match the
patch(es) on this branch.  That's sort-of understandable but not
very satisfactory.

And amlog seems to know the message ID that resulted in that topmost
commit that was merged to 'next'.

    $ git notes --ref notes/amlog show e3ead5f^2
    Message-Id: <Y8YQUD8bMHc4Lmph@coredump.intra.peff.net>

Perhaps GGG can be told to recognise that it is not one of the
messages it sent out before, or something?


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-02 17:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-19 17:32 Is GGG mislabeling topics? Junio C Hamano
2023-02-02 14:20 ` Johannes Schindelin
2023-02-02 17:06   ` Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).