extensions: allow part names to use '.' separator for bases that disallow slashes
Metadata
Current evaluation
Merged PR #1345 (approved by 2 reviewers) adds Extension.get_part_name()/ExtensionPart so extension part names use '.' instead of '/' on bases like ubuntu@26.04; applied across expressjs, fastapi, go, flask/django and springboot extensions plus tests.
Resolution: closed resolved
Reason: The pull request itself was merged into rockcraft (12 files, +165/-99) after review approval, with CI largely green. It introduces a shared Extension.get_part_name() helper that selects the separator based on craft-application's BASES_ALLOW_SLASH_IN_PART_NAME list, and a companion test-spread failure unrelated to the change.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1345 (approved by 2 reviewers) adds Extension.get_part_name()/ExtensionPart so extension part names use '.' instead of '/' on bases like ubuntu@26.04; applied across expressjs, fastapi, go, flask/django and springboot extensions plus tests. | |
| stealth/space-bunny-alpha | — | closed resolved | PR #1345 merged: adds Extension.get_part_name() helper (with ExtensionPart enum) so framework extension part names use '.' instead of '/' on bases like ubuntu@26.04 that disallow slashes; applied across expressjs, fastapi, go, gunicorn, springboot. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged support for dot-separated extension part names, allowing bases such as ubuntu@26.04 that reject slashes; all framework extensions use a shared naming helper. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Adds Extension.get_part_name() helper to use dot separators for bases like ubuntu@26.04 that disallow slashes. Applied across all framework extensions with updated tests. Approved by two reviewers and passed CI checks. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
5
Complexity:
35
Confidence:
90
|
needs review | Refactors extension part naming to use dots instead of slashes for bases that disallow them. Adds a shared helper, updates multiple framework extensions and tests. Currently approved by one reviewer with passing CI. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
5
Complexity:
40
Confidence:
90
|
needs review | Introduces Extension.get_part_name() to use '.' instead of '/' for bases that disallow slashes in part names. Updates framework extensions and tests. Currently awaiting maintainer review with no CI results yet. |
Update history
| Date | Change |
|---|---|
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| created |
Related work
-
Related To:
canon-cat/rockcraft#3
(confidence 55%)
Original fork PR by the same author that added '.'-separated part names for expressjs-framework; PR #1345 pulls it in and extends it to all framework extensions.
-
Related To:
canonical/craft-parts
(confidence 45%)
Part-name validity for slashes is decided by craft-application's BASES_ALLOW_SLASH_IN_PART_NAME, which this change keys off.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1367 docs: document base-specific extension part names | rockcraft | closed | Merged in canonical/rockcraft#1367 via f56e7f6e, documenting slash- versus dot-separated extension part names by Ubuntu base and aligning framework guides, generated comments, and snapshots. |