From b6a73414f8b7ab647b0ffe6b279c0f6451c4eabb Mon Sep 17 00:00:00 2001 From: Mathieu Leplatre Date: Tue, 4 Jul 2023 14:35:58 +0200 Subject: [PATCH] Add template and number prefix to ADRs docs --- ...{madr-fxa-ctms.md => 001-madr-fxa-ctms.md} | 0 ...hips.md => 002-waitlists_relationships.md} | 0 docs/adrs/template.md | 74 +++++++++++++++++++ 3 files changed, 74 insertions(+) rename docs/adrs/{madr-fxa-ctms.md => 001-madr-fxa-ctms.md} (100%) rename docs/adrs/{waitlists_relationships.md => 002-waitlists_relationships.md} (100%) create mode 100644 docs/adrs/template.md diff --git a/docs/adrs/madr-fxa-ctms.md b/docs/adrs/001-madr-fxa-ctms.md similarity index 100% rename from docs/adrs/madr-fxa-ctms.md rename to docs/adrs/001-madr-fxa-ctms.md diff --git a/docs/adrs/waitlists_relationships.md b/docs/adrs/002-waitlists_relationships.md similarity index 100% rename from docs/adrs/waitlists_relationships.md rename to docs/adrs/002-waitlists_relationships.md diff --git a/docs/adrs/template.md b/docs/adrs/template.md new file mode 100644 index 00000000..f4795ee3 --- /dev/null +++ b/docs/adrs/template.md @@ -0,0 +1,74 @@ +# [short title of solved problem and solution] + +- Status: [proposed | rejected | accepted | deprecated | … | superseded by + [ADR-0005](0005-example.md)] +- Date: [YYYY-MM-DD when the decision was last updated] + +Tracking issue: [ticket/issue URL] + +## Context and Problem Statement + +[Describe the context and problem statement, e.g., in free form using two to +three sentences. You may want to articulate the problem in form of a question.] + +## Decision Drivers + +- [driver 1, e.g., a force, facing concern, …] +- [driver 2, e.g., a force, facing concern, …] +- … + +## Considered Options + +1. [option 1] +2. [option 2] +3. [option 3] +4. … + +## Decision Outcome + +Chosen option: "[option 1]", because [justification. e.g., only option, which +meets k.o. criterion decision driver | which resolves force force | … | comes +out best (see below)]. + +### Positive Consequences + +- [e.g., improvement of quality attribute satisfaction, follow-up decisions + required, …] +- … + +### Negative Consequences + +- [e.g., compromising quality attribute, follow-up decisions required, …] +- … + +## Pros and Cons of the Options + +### Option 1 - … + +[example | description | pointer to more information | …] + +- Good, because [argument a] +- Bad, because [argument b] +- … + +### Option 2 - … + +[example | description | pointer to more information | …] + +- Good, because [argument a] +- Bad, because [argument b] +- … + +### Option 3 - … + +[example | description | pointer to more information | …] + +- Good, because [argument a] +- Bad, because [argument b] +- … + +## Links + +- [Link type] [Link to ADR] + +- …