← Back to issue list

Allow / in parts

View original Github issue

Metadata

Project
snapcraft
Number
#666
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged as commit aee8589b3: snapcraft's schema part-name pattern was relaxed to accept '/' so remote parts can define slash-separated subparts (LP: #1602728).

Resolution: closed resolved

Reason: PR #666 was merged into snapcraft as commit aee8589b3, changing the part-name regex in snapcraft/_schema.py to allow slashes for remote subparts; an unrelated test failure reported by a reviewer was resolved separately, and a later user error was traced to a stale /usr/share/snapcraft install.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Subparts from remote parts are separated by a / so we now need too support this scenario in the parts definition. LP: #1602728 Signed-off-by: Sergio Schvezov sergio.schvezov@ubuntu.com

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged as commit aee8589b3: snapcraft's schema part-name pattern was relaxed to accept '/' so remote parts can define slash-separated subparts (LP: #1602728).
stealth/space-bunny-alpha — closed resolved Merged in canonical/snapcraft#666 (commit aee8589b3), allowing slashes in part names so remote subparts can use slash-separated definitions.
qwen/qwen3.6-35b-a3b — — Merged to allow forward slashes in part names, enabling subparts from remote definitions. CI test assertion mismatch and unrelated user environment confusion were resolved during review prior to merge.
qwen3.6-35b-a3b-mtp-q6 — — Merged to allow forward slashes in part names, enabling subparts from remote parts. Updated regex validation in parts definitions. Tests passed after re-runs and the change was successfully integrated.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#828 (confidence 40%)

    Later commit 2bd1458fb 'yaml xpath for errors' further refined snapcraft/_schema.py error reporting

Related issues

No related issues found above the similarity threshold.