fix(marketplace): make the empty ansible and k8s packages installable
A package fetched from a remote is valid only when it has a .apm/ directory, declares dependencies, or ships a skills/ bundle (apm_cli/models/validation.py, detect_package_type). ansible and k8s were published in #205 with none of these, so installing either fails with "has apm.yml but is missing the required .apm/ directory". So does gitops, which depends on k8s. The scratch check in #205 missed this because a local-path install skips that validation. Each package gets an empty .apm/ that git can track through a .gitkeep. The placeholder becomes redundant once the package's first skill lands. apm's validator now reports all four packages as valid. On main it reports ansible and k8s as invalid. Refs: #188 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012CqgnwEGtmfsjcoG9QwByN
This commit is contained in:
1 parent
d8c6604f17
commit
aa30861cc9
2 files changed
No files matched your search
Whitespace-only changes.
Whitespace-only changes.
Reference in new issue
Block a user