Configuration Format Overhaul #610
Unanswered
miniscruff
asked this question in
Ideas
Replies: 1 comment 1 reply
-
I like the idea so far. Seems like you are trying to unify certain things to have the same flexibility as right now you have some assumed defaults and this tries to make it more configurable. This goes beyond what I'd thought about but seems promising. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently there is a bit of inconsistency in whats supported as well as a few overloaded terms, like header and format, that I really want to clean up. Additionally with the addition of projects and monorepo support, the configuration file has gotten quite big.
It was always part of the design of changie to support a wide range of projects, formats, inputs, outputs and so on, so this is not unexpected really. But, I think we can do better on making the config format more clear.
Some notes so far:
One thing to note is that, any existing functionality will remain as is, really what I want to do is clean up some wording and organization of the config file.
To give an example there are 3 config values that look like they are editing the same thing, but in practice are not really.
Version footer path and header path are file paths for per version headers and footers, as in the generated release notes file. While the version format is the line in that file that relates to the version.
This discussion will be my note taking space until it feels more stable, for now know that existing configs will work and remain working until, if ever, a changie v2 is required. I will definitely find a way to make sure renamed/moved configs are properly documented as well.
Design
Changie works in multiple steps:
Changie aims to allow you to configure every aspect of all steps.
Additionally, for configurations that are similar/shared between both steps
we try and be consistent.
For example: header and footer configs match between release note files and changelog files except for the data that is passed to the templating.
Shared types
Full Config
Release note file format:
Changelog format:
Changie's changie config under new format
Current Notes:
Beta Was this translation helpful? Give feedback.
All reactions