You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
various repo's with the actual code (e.g. code-1, code-2, code-99)
If changes are made people refer to the issue in the management repo like this: fix: something (management-repo#1234) or fix: management-repo#1234 something fixed.
However, the release generator links all of these issues against the code repository instead of the management repo.
Within GitLab, if the MR has a reference to an external repo it gets linked properly (e.g. in the MR title).
I tried to set the issuePrefixes to ["management-repo#"] but this still links the found issue to the code-repo rather than the issue-repo.
Is there a way to tell the release-notes-generator to use a different base URL for the issues? It appears that the only way of doing that would be overwriting the commit.hbs and hardcoding the part of the owner + repository or is there an easier way of achieving this?
edit:
It seems that issueUrlFormat: "{{host}}/{{owner}}/management-repo/-/issues/{{id}}", does the trick, however this only makes the second portion clickable instead of the entire line. I was hoping setting issuePrefixes: ["management-repo#"] in parserOpts but this somehow adds in , closes management-repo#1234 rather than making the occurrences clickable.
The text was updated successfully, but these errors were encountered:
Our setup consists of:
management-repo
containing all issuescode-1
,code-2
,code-99
)If changes are made people refer to the issue in the management repo like this:
fix: something (management-repo#1234
) orfix: management-repo#1234 something fixed
.However, the release generator links all of these issues against the code repository instead of the management repo.
Within GitLab, if the MR has a reference to an external repo it gets linked properly (e.g. in the MR title).
I tried to set the
issuePrefixes
to["management-repo#"]
but this still links the found issue to the code-repo rather than the issue-repo.Is there a way to tell the release-notes-generator to use a different base URL for the issues? It appears that the only way of doing that would be overwriting the commit.hbs and hardcoding the part of the owner + repository or is there an easier way of achieving this?
edit:
It seems that
issueUrlFormat: "{{host}}/{{owner}}/management-repo/-/issues/{{id}}",
does the trick, however this only makes the second portion clickable instead of the entire line. I was hoping settingissuePrefixes: ["management-repo#"]
inparserOpts
but this somehow adds in, closes management-repo#1234
rather than making the occurrences clickable.The text was updated successfully, but these errors were encountered: