Leveraging changie for ADRs (architectural decision records) #600
Replies: 1 comment 2 replies
-
Hey @sheldonhull every so often I look at this post and try to consider what this may mean for changie. I did finally decide to google ADR this time and that helped. My understanding could be off here but let me describe how I would go about this. First, an ADR to me probably also comes with the assumption we have some sort of architectural documentation such as some diagrams, charts, etc. Maybe something like mermaidjs or draw.io stuff. An ADR would accompany any changes we make to the existing design, thus we can conclude a PR that changes the design would then require a changie fragment. Additionally, given the system I would probably use something like calver rather then semver. But that is a minor point. A changie config I would try given my understanding of ADR's: versionFormat: '## {{.Version}}' # verison would be calver, so no date needed
# it is also assumed you would create a new version for each change as its a big deal?
changeFormat: > # whatever yaml rule here combines newlines...
In the context of [#{{.Custom.Issue}}](https://github.com/proj/repo/issues/{{.Custom.Issue}}),
facing {{.Custom.Concern}}
we decided for {{.Custom.Option}}
to achieve {{.Custom.Quality}}{{if .Custom.Downsides }},accepting {{.Custom.Downsides}}{{end}}.
kinds:
# skip body option is not possible without a custom
# kind config and I just realized that...
- label: Ignore me
skipBody: true
custom:
- key: Issue
type: int
minInt: 1
- key: Concern
type: string
minLength: 5
- key: Option
type: string
minLength: 5
- key: Quality
type: string
minLength: 5
- key: Downsides
type: string
minLength: 5
optional: true Just some initial thoughts. |
Beta Was this translation helpful? Give feedback.
-
I was considering a few alternative uses of changie and thought I'd share the idea in case it sparks some ideas.
I've been using for my personal accomplishments tracking at work, and also considered using for team/repo architectural decision records.
The workflow of changie helps solve a lot of the issues/conflicts you can run into when using normal markdown incremental versions.
I think a few things would let changie be used for these additional purposes without compromising the unique focus of changie.
A few ideas
I think a few sections for contributing changie template examples and scripts could be useful for sharing these alternative ways to use.
Beta Was this translation helpful? Give feedback.
All reactions