-
Notifications
You must be signed in to change notification settings - Fork 797
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
let's figure out an elegant way to support sites other than github.com #178
Comments
We can detect the |
Hi there... When you say:
What do you mean? How are you forcing people to configure a template? I've yet to find how to override the base template. How does one do that? |
@lgomez we don't currently support swapping out this configuration setting. Basically, I'd like to figure out a minimal set of configuration settings that we should expose in |
All I wanted was to replace or eliminate the header and footer from the default CHANGELOG.md template. Perhaps describing my ideal scenario would help...
If the template uses partials, I would include the partials wherever the template can reference them. The other thing I was trying to figure out is if there is a json output of changelog data so I could achieve the same thing but handle the handlebars and templates myself and just pass that changelog object to handlebars. Hope this helps... |
@lgomez for your use-case, I think it might be worth looking at: Which uses many of the same core libraries as |
Are there any plans to introduce this, or at least guidance to create a PR that may be accepted? Zero config is always nice, but I'd wager most people would enjoy using custom templates, or at the very least a way to prevent the header from being injected, so a quick option to add an argument would be ideal. With current implementation it's extremely bothersome and heavy to make these simple changes. |
@brettp took a while to actually implement it, but we now allow you to customize URLs and other parameters, the configurations settings are described here: https://github.com/conventional-changelog/conventional-changelog-config-spec |
it was my goal with standard-version to avoid the paradox of choice ... less can be more, I didn't want people to have to configure 1,000,000 dials and knobs to get a lovely looking CHANGELOG and to automate their release process.
Having said this! It would be nice to support version control systems other than GitHub; specifically we have some issues open around adding better support for gitlab and BitBucket/jira.
The question I put to folks (@Tapppi, @stevemao, @cdupetit, @lancecaraccioli) is what's the minimum amount of configuration settings that we would need to provide to generate an appropriate CHANGELOG for these alternate version control systems; where possible I'd like to try to:
Once we pin down the minimum # of variables that we need to make flexible, let's allow these to be set using a
standard-version
key in thepackage.json
-- this work dovetails nicely with the work @lancecaraccioli has been doing on lifecycle hooks.The text was updated successfully, but these errors were encountered: