Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ hashes, API keys, or TLS workarounds.
2. Install the plugin subdirectory at the released tag, not the repository root:

```sh
substrate_ref="$(git ls-remote https://github.com/Substrate-memory/Substrate-memory-plugins.git refs/tags/v0.3.0 | awk '{print $1}')"
printf '%s\n' "$substrate_ref" | grep -Eq '^[0-9a-f]{40}$'
hermes plugins install \
Substrate-memory/Substrate-memory-plugins/plugins/substrate \
--ref v0.3.0 --no-enable
--ref "$substrate_ref" --no-enable
```

3. Run `hermes plugins doctor substrate --ci`. Stop without changing the legacy provider
Expand Down
4 changes: 3 additions & 1 deletion plugins/substrate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ the associative editor, and evidence. The plugin caches no memory and fails clos
Install this directory, not the repository root:

```sh
substrate_ref="$(git ls-remote https://github.com/Substrate-memory/Substrate-memory-plugins.git refs/tags/v0.3.0 | awk '{print $1}')"
printf '%s\n' "$substrate_ref" | grep -Eq '^[0-9a-f]{40}$'
hermes plugins install \
Substrate-memory/Substrate-memory-plugins/plugins/substrate \
--ref v0.3.0 --no-enable
--ref "$substrate_ref" --no-enable
```

No manual credential setup is required. The plugin connects itself on first use:
Expand Down
3 changes: 2 additions & 1 deletion tests/test_packaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ def plugin_version() -> str:
def test_root_readme_describes_the_released_install() -> None:
readme = (REPOSITORY_ROOT / "README.md").read_text(encoding="utf-8")
assert "plugins/substrate" in readme
assert "--ref v0.3.0" in readme
assert "refs/tags/v0.3.0" in readme
assert "--ref \"$substrate_ref\"" in readme
assert "Hermes 0.21" in readme
assert "PLUGIN_SHA256_PENDING" not in readme
assert "is not published yet" not in readme
Expand Down
Loading