let's figure out an elegant way to support sites other than github.com
See original GitHub issueit 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:
- extend the logic of the base template that we use (rather than forcing users to configure an alternate template).
- add more magic to standard-verison itself, to try to detect the reasonable defaults for settings, e.g., what’s the host of the repo that we’re working in.
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 the package.json
– this work dovetails nicely with the work @lancecaraccioli has been doing on lifecycle hooks.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:7 (4 by maintainers)
Top GitHub Comments
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…
@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