Skip to content

Commit cabd563

Browse files
committed
More examples and explanations added and linked, template tweaks
1 parent 13b92d0 commit cabd563

7 files changed

+21
-13
lines changed

docs/decisions/0018-use-confirmation-as-heading.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ We wanted to enable also less formal checks.
3131

3232
### Confirmation
3333

34-
* Before next release, check that there is at least one more example.
35-
* Before each release, check that templates are still consistent with this decision (or update AD).
36-
* Monitor [GitHub issues](https://github.com/adr/madr/issues) for feedback on examples and template/tool change requests periodically.
34+
* Before next release; check that there is at least one example that has a "Confirmation" section.
35+
* Before each release: check that templates and examples are still consistent with this decision (or update AD).
36+
* Continuously: Monitor [GitHub issues](https://github.com/adr/madr/issues) for feedback on examples and template/tool change requests periodically.

docs/examples.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ nav_order: 2
55

66
MADR is a template allowing to craft short, medium-sized, and large decision records.
77
There is no formal definition of short, medium-sized, and large decision records.
8+
89
The following sections present an example in the context of assertion frameworks for Java.
910
We start with presenting a very short and dense version:
1011
It "just" lists the context and problem statement, the available options, and the outcome.
@@ -68,9 +69,9 @@ Chosen option: "Plain JUnit5", because comes out best (see "Pros and Cons of the
6869

6970
### Confirmation
7071

71-
* Check project dependencies, JUnit5 should appear (and be the only test assertion library)
72-
* Collect experience with JUnit5 in sprint reviews and retrospectives: does experience match the pros and cons evaluation below?
73-
* Decide whether and when to review the decision (the 'R' in the [ecADR definition of done](https://medium.com/olzzio/a-definition-of-done-for-architectural-decisions-426cf5a952b9) for ADs)
72+
* Check project dependencies, JUnit5 should appear (and be the only test assertion library).
73+
* Collect experience with JUnit5 in sprint reviews and retrospectives: does the gained experience match the pros and cons evaluation below?
74+
* Decide whether and when to review the decision (this is the 'R' in the [ecADR definition of done](https://medium.com/olzzio/a-definition-of-done-for-architectural-decisions-426cf5a952b9) for ADs).
7475

7576
## Pros and Cons of the Options
7677

@@ -129,3 +130,9 @@ assertThat(markdownFormatter.format(source))
129130

130131
German comparison between Hamcrest and AssertJ: <https://www.sigs-datacom.de/uploads/tx_dmjournals/philipp_JS_06_15_gRfN.pdf>.
131132
````
133+
134+
## More Examples
135+
136+
["https://medium.com/olzzio/the-markdown-adr-madr-template-explained-and-distilled-b67603ec95bb"](https://medium.com/olzzio/the-markdown-adr-madr-template-explained-and-distilled-b67603ec95bb) provides another example (under "Example of Filled Out Template").
137+
138+
And the [decisions folder](/docs/decisions/) in this repository provides examples as well.

template/0000-use-markdown-architectural-decision-records.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Chosen option: "MADR 4.0.0", because
1919

2020
* Implicit assumptions should be made explicit.
2121
Design documentation is important to enable people understanding the decisions later on.
22-
See also [A rational design process: How and why to fake it](https://doi.org/10.1109/TSE.1986.6312940).
22+
See also ["A rational design process: How and why to fake it"](https://doi.org/10.1109/TSE.1986.6312940).
2323
* MADR allows for structured capturing of any decision.
2424
* The MADR format is lean and fits our development style.
2525
* The MADR structure is comprehensible and facilitates usage & maintenance.

template/adr-template-bare-minimal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# {short title of solved problem and solution}
2+
# {short title, representative of solved problem and found solution}
33

44
## Context and Problem Statement
55

template/adr-template-bare.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ consulted:
66
informed:
77
---
88

9-
# {short title of solved problem and solution}
9+
# {short title, representative of solved problem and found solution}
1010

1111
## Context and Problem Statement
1212

@@ -41,6 +41,6 @@ informed:
4141
* <!-- * Neutral, because -->
4242
* <!-- * Bad, because -->
4343

44-
4544
## More Information
4645

46+

template/adr-template-minimal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# {short title of solved problem and solution}
1+
# {short title, representative of solved problem and found solution}
22

33
## Context and Problem Statement
44

template/adr-template.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
2-
# These are optional elements. Feel free to remove any of them.
2+
# These are optional metadata elements. Feel free to remove any of them.
33
status: "{proposed | rejected | accepted | deprecated | … | superseded by [ADR-0005](0005-example.md)}"
44
date: {YYYY-MM-DD when the decision was last updated}
55
decision-makers: {list everyone involved in the decision}
66
consulted: {list everyone whose opinions are sought (typically subject-matter experts); and with whom there is a two-way communication}
77
informed: {list everyone who is kept up-to-date on progress; and with whom there is a one-way communication}
88
---
9-
# {short title of solved problem and solution}
9+
10+
# {short title, representative of solved problem and found solution}
1011

1112
## Context and Problem Statement
1213

0 commit comments

Comments
 (0)