feat: validate namespaced parts
Metadata
Current evaluation
Merged in #1701 (commit c0d12d9e), rejecting namespaced parts nested under another part; fixes #1016 and is recorded in 2.37.0.
Resolution: closed resolved
Reason: Merged PR #1701 at commit c0d12d9e adds part-name validation that raises PartNameConflict for combinations such as foo and foo/bar, directly resolving #1016. The change is listed in the 2.37.0 changelog.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Verify if a namespaced part name conflicts with the name of another part,
raising an error if it results in nested part directories.
Fixes #1016
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint && make test`?
- [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
---
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in #1701 (commit c0d12d9e), rejecting namespaced parts nested under another part; fixes #1016 and is recorded in 2.37.0. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1701 (commit c0d12d9e) added validation to reject namespaced part names that create conflicting or nested part directories, fixing #1016. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR canonical/craft-parts#1701 (c0d12d9e) added validation for namespaced part-name conflicts, preventing nested part directories and fixing #1016. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Validation for namespaced part names was merged to prevent directory conflicts, fixing issue #1016. Approved by two reviewers and integrated after passing CI checks. |
Update history
| Date | Change |
|---|---|
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| created |
Related work
-
Related To:
canonical/craft-parts#1016
(confidence 100%)
The merged PR explicitly fixes this issue.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1016 Validate namespaced parts or warn when part names contain slashes | craft-parts | closed | Fixed by merged PR canonical/craft-parts#1701 (commit c0d12d9e), which rejects namespaced part names that create nested part-directory conflicts. | |
| #569 fix(parts): validate part dependency name | craft-parts | merged | Merged PR #569 via commit b43d917f, applying #558 to validate part dependency names and reject nonexistent parts, fixing #539. |