-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Have the README point to DEVELOPING for everything tech. NDISC-78
- Loading branch information
Showing
2 changed files
with
53 additions
and
54 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Development / Tech Notes | ||
|
||
Here's what to know from a tech perspective. | ||
|
||
# The Modules | ||
|
||
Information on the modules can be found in their respective folder's README files: | ||
* [`./time-machine/README.md`](./time-machine/README.md) | ||
* [`./vscode-extension/README.md`](./vscode-extension/README.md) | ||
|
||
# The Main Repository | ||
|
||
## Architecture Decision Records | ||
|
||
[Architecture decisions](https://cognitect.com/blog/2011/11/15/documenting-architecture-decisions) | ||
are kept in the `docs/adr` directory. | ||
|
||
For adding new records install the | ||
* [`adr-tools`](https://github.com/npryce/adr-tools) package (e.g. via [`brew`](https://formulae.brew.sh/formula/adr-tools)) | ||
|
||
|
||
See https://github.com/npryce/adr-tools for information on how to use `adr-tools` usage. | ||
|
||
|
||
## Git Hooks | ||
|
||
The repository contains Git hooks which support | ||
|
||
* committing only properly formatted source code, not breaking the build | ||
* writing commit messages that follow some convention (wrt. the merits of having a convention , cf. this [article](https://chris.beams.io/posts/git-commit/)) | ||
* preventing accidentally pushing secrets and sensitive information | ||
|
||
### Git Hooks Setup | ||
In order to make use of the repository's Git hooks, | ||
* [`Lefthook`](https://github.com/evilmartians/lefthook) | ||
|
||
needs to be installed, which, in turn, makes use of the following CLI tools: | ||
* [`talisman`](https://thoughtworks.github.io/talisman/docs) - scans for secrets | ||
* [`gh`](https://github.com/cli/cli) - check CI status (optional) | ||
|
||
Once these tools are available, install the hooks via | ||
|
||
```bash | ||
lefthook install | ||
``` |
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