-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add adr about nixago instrumentation
- Loading branch information
Showing
3 changed files
with
40 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
docs/explain/architecture-decision-records/0004-add-nixago-instrumentation.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# 4. Add Nixago Instrumentation | ||
|
||
Date: 2022-07-29 | ||
|
||
## Status | ||
|
||
accepted | ||
|
||
Supersedes [2. Wire up documentation instrumentation](0002-wire-up-documentation-instrumentation.md) | ||
|
||
## Context | ||
|
||
The current implementation of mdbook instrumentation and adrgen instrumentation is brittle and ad-hoc. | ||
Furthermore, the making these two "special" is a contentious decision. | ||
|
||
Adjacently, oftentimes, there are other "repo dotfiles" that we want to somehow centrally manage (and | ||
auto-update), instead of copy pasting them for the n-th time. | ||
|
||
Recently, the Nixago project has seen the face of the earth which deals precisely with repo dotfile | ||
templating and linking/copying. | ||
|
||
## Decision | ||
|
||
Implement a first class integreation with Nixago and add the appropriate glue-code to work seamlessly | ||
together with Devshells. | ||
|
||
Ship some generic Nixago Pebbles as part of the `std` Celle. | ||
|
||
## Consequences | ||
|
||
- mdbook / adgen dotfile templating is no more "special" | ||
- user can make use of this instrumentation to template _any_ repo dotfile | ||
- user can reuse the shipped Nixago Pebbles and take inspiration from our dogfooding |