pack: introduce support for --bases-index to specify targets (CRAFT-148)
Metadata
Current evaluation
Merged PR #392 as 6e58852f, adding pack --bases-index target selection passed through pack.run(), with runtime validation.
Resolution: closed resolved
Reason: canonical/charmcraft#392 was merged. Implementation commit 6e58852f added target filtering and runtime validation, and merge commit 4f663d28 landed it.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Allow the user to specify --bases-index <index> to limit the targets
being built. Pass this through pack's run() so we don't have to
further extend the deprecated pack's arguments.
These indices are validated at runtime because the current Validator
does not have the config available to validate against.
Signed-off-by: Chris Patterson <chris.patterson@canonical.com>
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #392 as 6e58852f, adding pack --bases-index target selection passed through pack.run(), with runtime validation. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/charmcraft#392 via commit 6e58852f, adding --bases-index to select pack targets and passing it through pack.run(), with runtime validation. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Adds --bases-index flag to pack command, letting users specify target build indices. Validated at runtime and passed to pack.run() to avoid extending deprecated arguments. Approved and passed CI. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged: adds --bases-index flag to pack command, allowing users to specify build targets. The index passes through pack.run() and validates at runtime to avoid extending deprecated arguments. Resolves CRAFT-148. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #390 build/pack: add support for bases in managed mode (CRAFT-131) | charmcraft | merged | Merged #390 via eac93bba (implementation d080cf67), adding managed-mode bases support to build/pack, host/base matching diagnostics, validation, and list-based build results. |