This workflow maps qpy-vscode package-panel capabilities into CLI form.
- Discover official QuecPython solution/component repositories.
- Query repository releases.
- Clone project by release/branch with submodules.
- Add/remove/list components as git submodules.
- Maintain local "My Projects" registry JSON for traceability.
- GitHub Search API:
https://api.github.com/search/repositories?q=org:QuecPython+topic:solution - GitHub Releases API:
https://api.github.com/repos/QuecPython/<repo>/releases
- Discover projects and components:
python scripts/qpy_project_manager.py --json discover --kind all --limit 20- Query releases:
python scripts/qpy_project_manager.py --json releases --repo QuecPython/solution-xiaozhiAI --top 10- Clone by tag/branch:
python scripts/qpy_project_manager.py --json clone --repo QuecPython/solution-xiaozhiAI --dest review/projects --ref v1.0.0- Add component submodule:
python scripts/qpy_project_manager.py --json add-submodule --workspace ./my_qpy_project --repo QuecPython/component-lcd- Remove/list submodules:
python scripts/qpy_project_manager.py --json list-submodules --workspace ./my_qpy_project
python scripts/qpy_project_manager.py --json remove-submodule --workspace ./my_qpy_project --path component-lcd- Query local registry:
python scripts/qpy_project_manager.py --json registry-list- Keep
--forcedisabled unless target clone folder is confirmed disposable. - Validate selected tag/release in GitHub page before production adoption.
- Registry JSON is evidence metadata only; it is not a release-approval signal.