-
Notifications
You must be signed in to change notification settings - Fork 709
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
Alternate changelog links for gitlab? #257
Comments
No, how do I do that? I don't see it in the documentation anywhere. |
Yeah, I found that in the docs, but I don't quite understand how to change that parameter. I assume by the docs there that it will default to the hostname of your repo, but in my case it's a private hosted gitlab, so it can't determine it from that hostname. Should I just add |
Figured it out... in case anyone googles and is looking for the answer:
|
Actually, strike that... I just noticed, when you do |
For now, you could overwrite any context value. conventionalChangelogCore(options, {
host: 'gitlab'
}) |
Interesting. I'm trying to use standard-version / commitizen / standard-changelog with a variety of non-NPM packages (python, ruby, puppet), because I find it much friendlier out of the box than the other tools I've used for this type of build activity. That being said, I'm not really NPM "aware" in terms of what might be conventional in the JS world, and the docs are not really friendly to my use case (possibly for a reason). So... where would I put that? Is there a guide I'm missing for how to "configure" this suite and where to put tweaks like this? |
@flyinbutrs the use of I believe @flyinbutrs can you re-post this issue on the I believe the issue will be that Long-term I believe the goal is to allow configuration through an RC file at the root of a project - #195 |
@hbetts I will repost there. I think this can also be fixed to allow package.json's .repository.type to be allowed in cases where autodetection fails pretty easily. I laid out the steps in this PR. |
As I had the same issue using |
The compiled markdown file puts links to the commits in the changelog as:
{{repo_url}}/commits/{{commit_hash}}
However, gitlab uses:
{{repo_url}}/commit/{{commit_hash}}
Is there any ability to modify this?
The text was updated successfully, but these errors were encountered: