docs: adrs
This commit is contained in:
parent
dfcf371e6d
commit
146a2f56dc
5
Makefile
Normal file
5
Makefile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
newadr:
|
||||||
|
@echo "Initiating an ADR..."
|
||||||
|
@read -p "Enter ADR number (e.g. 001): " number; \
|
||||||
|
read -p "Enter ADR title: " title; \
|
||||||
|
cp $(CURDIR)/adr/adr-template.md $(CURDIR)/adr/adr-$${number}-$${title}.md
|
||||||
10
README.md
10
README.md
@ -57,11 +57,11 @@ Jan is a monorepo that pulls in the following submodules
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
├── docker-compose.yml
|
├── docker-compose.yml
|
||||||
├── jan-mobile
|
├── mobile-client
|
||||||
├── jan-web
|
├── web-client
|
||||||
├── jan-backend
|
├── app-backend
|
||||||
├── jan-inference
|
├── inference-backend
|
||||||
├── jan-docs
|
├── docs # Developer Docs
|
||||||
├── adrs # Architecture Decision Records
|
├── adrs # Architecture Decision Records
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
18
adr/README.md
Normal file
18
adr/README.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Architectural Decision Records (ADR)
|
||||||
|
|
||||||
|
This is a repo of key architecture decisions for Jan. [Read more about ADRs](https://github.com/joelparkerhenderson/architecture-decision-record)
|
||||||
|
|
||||||
|
|
||||||
|
### Get started:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# In root:
|
||||||
|
make newadr
|
||||||
|
```
|
||||||
|
|
||||||
|
### Template:
|
||||||
|
- **Status**: `pending`, `approved`, or `rejected`
|
||||||
|
- **Context**: a clearly defined problem/goal
|
||||||
|
- **Decisions**: the proposed architecture choices & changes
|
||||||
|
- **Consequences**: pros and cons of the decision
|
||||||
|
- **References**: any relevant materials to read
|
||||||
24
adr/adr-template.md
Normal file
24
adr/adr-template.md
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# ADR {ADR-NUM}: {TITLE}
|
||||||
|
|
||||||
|
## Changelog
|
||||||
|
- {date}: {changelog}
|
||||||
|
|
||||||
|
## Status
|
||||||
|
|
||||||
|
What is the status, such as proposed, accepted, rejected, deprecated, superseded, etc.?
|
||||||
|
|
||||||
|
{Proposed|Accepted|Rejected}
|
||||||
|
|
||||||
|
## Context
|
||||||
|
|
||||||
|
What is the issue that we're seeing that is motivating this decision or change?
|
||||||
|
|
||||||
|
## Decision
|
||||||
|
|
||||||
|
What is the change that we're proposing and/or doing?
|
||||||
|
|
||||||
|
## Consequences
|
||||||
|
|
||||||
|
What becomes easier or more difficult to do because of this change?
|
||||||
|
|
||||||
|
## Reference
|
||||||
Loading…
x
Reference in New Issue
Block a user