-
Notifications
You must be signed in to change notification settings - Fork 49
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
Wrong commit link for Bitbucket #491
Comments
Would be interested in a fix to that as well, instead of "issue" and "commit" being configuration, I would recommend a config settings such as "scm-server" where one could set "github, gitlab, bitbucket cloud, bitucket server" and get proper URL for each of those. |
this sounds very related to #449, so the conversation there likely applies here as well. i think this example highlights my hesitation with the previously suggested solution for the specific situation in that other thread. to find a path forward, i think we need to define a way to make configuration of this area flexible enough to handle various reasons that this needs to be adjusted. this example feels close to me and is an example of what has been enabled by the underlying conventional-changelog project. i have not investigated far enough to know if that can easily be surfaced to make similar possible directly in our config, but understanding options like that is probably the shortest path to enabling a solution here. |
We use Bitbucket Enterprise in our own cloud, and I'm here because I wanted to quickly configure the plugin for:
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"host": "https://bitbucket.company.tld",
"presetConfig": {
"commitUrlFormat": "{{host}}/projects/PROJECT-NAME/repos/{{repository}}/commits/{{hash}}"
}
}
] |
Hello everyone.
I would like to raise a possible issue with the generated links for the diff and commits when using bitbucket.
What is generated by default looks like this
https://<BASE>/scm/<PROJ_NAME>/<REPO_NAME>/commit/<HASH>
.Bitbucket commit links look like this though:
https://<BASE>/projects/<PROJ_NAME>/repos/<REPO_NAME>/commits/<HASH>
.I have tried setting the host to the correct path, but
/scm/<PROJ_NAME>/
is still appended after my override.My question is, am I supposed to define the repo URL somewhere else or is this an issue with this plugin?
Version Information:
Thank you in advance. Please reach out if you require further information.
The text was updated successfully, but these errors were encountered: