Implement a basic API that makes a build plan for charms
Metadata
Current evaluation
Charm build planning was implemented and merged in PR #148 (commit 16ff218), providing bases-charm build plans for Charmcraft and Launchpad.
Resolution: closed resolved
Reason: PR #148 was merged and added the Charm build planner, resolving the requested API implementation in commit 16ff218.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Something like:
```python
def gen_charm_build_plan(platforms: dict[str, None | dict[str, list[str]]]) -> Iterable[CharmBuildInfo]:
...
```
This should provide a full build plan usable by both charmcraft and Launchpad.
For right now, don't depend on pydantic
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Charm build planning was implemented and merged in PR #148 (commit 16ff218), providing bases-charm build plans for Charmcraft and Launchpad. | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Implemented a build planner API for charms in craft-platforms#148, providing build plan generation for both charmcraft and Launchpad. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
canonical/craft-platforms#148
(confidence 99%)
Merged PR implementing the Charm build planner in commit 16ff218.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #148 feat(charm): add a build planner for bases charms | craft-platforms | merged | Merged PR #148 added a Charm build planner for legacy charms using the bases key, addressing CHARMCRAFT-630 in commit 16ff218. | |
| #75 Document the charm build planner | craft-platforms | closed | Charm build-planner documentation was added in commit 6becdf6, covering base, build-base, platforms, build-on, and build-for. | |
| #4 feat: add charmcraft build plans | craft-platforms | merged | Merged charmcraft build-plan support and supporting build-plan utilities in canonical/craft-platforms#4 via commit efa325b. | |
| #73 Add multi-bases support for charm build plans | craft-platforms | closed | Multi-base charm build-plan support was merged in PR #81 (commit 519b705), with validation tightening and error-handling updates; it resolved #73. | |
| #79 Unify charm build planner with default build planner | craft-platforms | open | Maintainer-authored refactor to consolidate the separate charm planner into the default planner. Implicit build-for parity now exists, but multi-base semantics still differ. |