feat: cut this repo over to apm-cli 0.39.3 pinned with uv (#271) #275

Merged
Defame1297 merged 14 commits from feat/271-uv-pinned-apm-cutover into main 2026-12-03 08:09:14 +00:00
Showing only changes of commit 045e43f0f8 - Show all commits
+6 -3
View File
@@ -385,7 +385,9 @@ expected_key() {
# Per-package checks
# ---------------------------------------------------------------------------
# EXPECTED: plugin dir names whose manifest is usable; the key each needs is
# '<dir>#<version>' because a usable manifest's name: equals its dir name.
# '<identity>#<version>'. The dir name is what finds the identity: it is
# matched against the `path: plugins/<dir>` of a root dependency entry, which
# is why a usable manifest's name: must equal it.
EXPECTED=()
for plugin in ${READABLE[@]+"${READABLE[@]}"}; do
error="$(fact e "$plugin")"
@@ -403,8 +405,9 @@ for plugin in ${READABLE[@]+"${READABLE[@]}"}; do
if [[ "$name" != "$plugin" ]]; then
echo "FAIL: plugins/$plugin/apm.yml declares name: '${name}', which does not match its directory '$plugin'." >&2
echo " Why: executables.allow keys use the package name; with the two disagreeing this gate" >&2
echo " cannot tell which '<name>#<version>' key root apm.yml should carry." >&2
echo " Why: the '<identity>#<version>' key is found through the directory name, which this gate" >&2
echo " matches against root apm.yml's 'path: plugins/<dir>' entry; with name: disagreeing" >&2
echo " it cannot tell which package the key should be for." >&2
echo " Fix: make plugins/$plugin/apm.yml's name: equal '$plugin', or rename the directory (read by $READER)." >&2
FAILED=1
continue