Repository navigation
"Read" the "What's cooking" mails and map the comments to the PRs - #458
Conversation
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
| for (const branchName of Object.keys(sousChef.branches)) { | ||
| const pullRequestURL = branchNameMap[branchName]; | ||
| const branchURL = | ||
| `https://github.com/gitgitgadget/git/commits/${branchName}`; |
There was a problem hiding this comment.
Why not make branchURL a literal string and use ${branchURL}${branchName} in comment? Only one template string to process. Ditto for whatsCookingURL.
There was a problem hiding this comment.
Good point. I changed it.
The only qualm I have about this is that the result looks awful due to the wrapping. Maybe it is time to wave good-bye to that 80 columns/line rule? I think we could safely extend this to at least 120 or 160, or just not have any maximum at all. What do you think?
There was a problem hiding this comment.
Maybe it is time to wave good-bye to that 80 columns/line rule? I think we could safely extend this to at least 120 or 160, or just not have any maximum at all. What do you think?
I am okay with 120 for code and maybe longer for strings. Not fond of scrolling right in code.
One aspect of Git's contribution process that often puzzles irregular contributors is that there seem not to be any updates on their patches, even if the branch was picked up. The reason for that puzzlement is that those updates are not sent in-thread, but as part of the "What's cooking" emails that are sent out roughly twice a week. With this new code, we can start to address this puzzlement by keeping contributors in the loop, in particular when the Git maintainer expects a "reroll" (read: a new iteration of the patch series). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
It is frequently confusing contributors who are new to the project when they do not hear anything about the status of their contribution for weeks. Sometimes, the reason is that they are expected to change something, but the reminder to do so is only sent out via the What's Cooking mails (which contributors won't receive unless they subscribe to the fire hose that is the Git mailing list). Let's be helpful and mirror that status update back to the PR. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
|
I updated this PR. Here is the range-diff: |
|
I did not merge in case you want to do something with |
No, I like to keep such things separate (unless they're really small, which this one isn't). |
|
Hrm. I don't think this one works as advertised. There has been a "What's cooking" mail on March 3rd, but I do not see any corresponding updates. For example, it contains this section: But the corresponding PR did not receive any comment. |
In the review of gitgitgadget#458, we decided to go for a `Map` to store the parsed branches (a previous iteration had used a plain old Javascript object instead). The one user of this map was not updated accordingly. This prevented https://dev.azure.com/gitgitgadget/git/_build/results?buildId=78770 from handling the "What's cooking" mail properly, even though https://lore.kernel.org/git/xmqqlfb4k0h8.fsf@gitster.c.googlers.com/ was properly parsed correctly (in https://lore.kernel.org/git/0, that mail was added via 3ae7c4db85fed3028585ead06e2da1d8a11316b0). Let's fix this. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
One of the most confusing aspects for new contributors seems to be the fact that they do not get any status updates, but that they are expected to get those from the regularly-sent "What's cooking" mails.
Let's help, by parsing those, and echoing the feedback in the corresponding open PRs GitGitGadget knows about.
This addresses #152.