Closed vsemozhetbyt closed 3 years ago
@vsemozhetbyt can provide more details on this or do you have any clue why that happend?
@cPhost I cannot understand the cause. Commit message:
doc: remove confusing signature in fs.md
Fixes: https://github.com/nodejs/node/issues/18305
Refs: https://github.com/nodejs/node/pull/13424
Aren't you suppose to add Refs: <url>
in for get-metadata
it to detect it?
Aren't you suppose to add Refs:
in for get-metadata it to detect it?
You can add it in the commit message or the first comment in the issue. Looks like @vsemozhetbyt added it to the commit message.
Ah yeah, I don't know what i was thinking...
@joyeecheung it looks this is failing because github is once again using .issue-link
or something and the url is not being parsed.
I don't know why this did not came to my mind earlier but we can avoid using jsdom simply by using
bodyText
field rather than bodyHTML
field. And avoid other bugs caused by it.
@cPhost I think the OP is about the URL in the commit message not being parsed, rather than the body of the PR?
Yep, found that it, we need to also pass commit msg into linkParser
and then get refs from one of them. I think
@cPhost In that case it's not a bug caused by .issue-link
, the jsdom parsing is there to work around text like Refs: #XXXXX
. We should use something else for commit messages instead.
@joyeecheung so we can just combine bodyHTML
and messageBodyHTML
and just passed to LinkParse
should fix it.
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.
I think this is no longer an issue since it didn't come up recently. And, my comments are all but un-understandable back then :(
For https://github.com/nodejs/node/pull/18310, "Refs:" was omitted in metadata section.