Skip to content

Commit e802cc3

Browse files
committed
docs: clarify Aqua repository prerequisites
1 parent 9c32e1a commit e802cc3

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ stack --version
2121

2222
The package is `stack-diagram-cli`, not the unrelated `stack-cli`; the binary is `stack`. Cargo owns updates and uninstall, and does not automatically install completion or manual files. See [Cargo installation](./docs/distribution.md#cargo-installation).
2323

24-
For Aqua, copy the pinned configuration and policy from the [Aqua installation section](./docs/distribution.md#aqua-installation), review them, allow the policy, and install the checksum-locked package:
24+
For Aqua, copy the pinned configuration and policy from the [Aqua installation section](./docs/distribution.md#aqua-installation) to your Git repository root (run `git init` first for a new project), review them, allow the policy, and install the checksum-locked package:
2525

2626
```sh
2727
aqua policy allow
@@ -34,7 +34,7 @@ For a direct installation, download the archive for your target and its verifica
3434

3535
## Create your first SVG
3636

37-
After installing, open a new empty working directory and run:
37+
After installing, open a new empty working directory and run the following. With Aqua, keep it inside the Git repository containing your `aqua.yaml`:
3838

3939
```sh
4040
stack --version

‎docs/distribution.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ The Homebrew v0.5.1 formula was activated after the immutable release assets wer
104104

105105
The owner registry is the [`aqua/registry.yaml`](../aqua/registry.yaml) file pinned to immutable commit `42702cda91a4156901b9a601bd143c43dcf05766`. Aqua maps `darwin/amd64`, `darwin/arm64`, `linux/amd64`, and `linux/arm64` to the four canonical GitHub Release archives, reads their SHA-256 values from the signed checksum asset, and verifies the checksum bundle against the tagged `release.yaml` workflow identity.
106106

107-
Add the following `aqua.yaml` to a Git repository:
107+
Add the following `aqua.yaml` at the root of a Git repository (the directory containing `.git`). Run `git init` first for a new project:
108108

109109
```yaml
110110
checksum:
@@ -122,7 +122,7 @@ packages:
122122
registry: stack-sh
123123
```
124124
125-
Because Aqua denies non-standard registries by default, add and review this narrow `aqua-policy.yaml` rather than disabling policy:
125+
Because Aqua denies non-standard registries by default, add and review this narrow `aqua-policy.yaml` at the same repository root rather than disabling policy:
126126

127127
```yaml
128128
registries:

‎skills/docs-source.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"repository": "stack-sh/docs",
3-
"revision": "470ec245a4c491ec0e27b717eaea6fab6ade22fd",
4-
"manifestSha256": "856d190ced590cffe4613c4f34276de3cbf3e9f8059b5c323d4247f03bd12bb6"
3+
"revision": "86c51be1ddcabd48b326bacdb6088eb2a2ff79bf",
4+
"manifestSha256": "9e41cdce9df59d8b63e81691cce3da595df206d02c6ed79c7a1adec8e0f6d500"
55
}

0 commit comments

Comments
 (0)