Repository navigation
Do handle the "What's cooking" mails correctly #487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -117,8 +117,9 @@ export class MailArchiveGitHelper { | |
| if (!sousChef.messageID) { | ||
| throw new Error(`Could not parse Message-ID of ${mbox}`); | ||
| } | ||
| console.log(`Handling "${sousChef.subject}"`); | ||
| const whatsCookingBaseURL = "https://lore.kernel.org/git/"; | ||
| for (const branchName of Object.keys(sousChef.branches)) { | ||
| for (const branchName of sousChef.branches.keys()) { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry I missed this (I had updated in my local test branch). May need to look at creating tests for
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That would be nice. I am not quite comfortable yet adding these tests... |
||
| const pullRequestURL = branchNameMap.get(branchName); | ||
| if (pullRequestURL) { | ||
| const branchBaseURL | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just noting that in the unlikely event
subjectis not found the log will say:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right... Still better than saying nothing at all ;-)