Closed jaunusa closed 1 year ago
Hi,
it looks like I have the same issue with repository hosted on a gitlab.com.
I tried to find the root cause, and found that parse-github-url
might be the culprit : https://github.com/cookpete/auto-changelog/blob/135d2af11815bcd836d9e395cc3739e4a6de6941/src/remote.js#L24
When I log remote value, it lacks the equivalent of your pkey/repos/poc-auto-changelog
.
--commit-url
should solve this.
I'm generating the changelog with a Git repository hosten on Bitbucket server instance. Everything works well except the commit-url format. The generated commit urls in the changelog are formatted in this way:
https://bitbucket.myhost.com/scm/pkey/commits/3bddc01fb02b214b4d725c5a9dfbc7420cdb1931
These kind of links result in a 404. The correct link would look like this:
https://bitbucket.myhost.com/projects/pkey/repos/poc-auto-changelog/commits/3bddc01fb02b214b4d725c5a9dfbc7420cdb1931
The according Git origin looks like this:
https://bitbucket.myhost.com/scm/pkey/poc-auto-changelog.git
Any ideas why this does not work? Is it an issue with self hosted Bitbucket instances?