The parser needs to support origins with snap/snapcraft.yaml
Metadata
Current evaluation
Parser now finds the origin's snapcraft.yaml via the project loader, adding snap/snapcraft.yaml support. Fixed upstream by merged PR snapcore/snapcraft#1141 (commit ef34c2d3d), which closed LP bug #1665007.
Resolution: closed resolved
Reason: The reporter's own follow-up comment links PR snapcore/snapcraft#1141 ("parser: use the project loader code to find the origin's snapcraft.yaml"), which was merged to the mainline repo as commit ef34c2d3d. That PR replaced the parser's custom origin detection with the project loader's discovery logic, adding support for snap/snapcraft.yaml alongside snapcraft.yaml and .snapcraft.yaml in the origin tree.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Parser now finds the origin's snapcraft.yaml via the project loader, adding snap/snapcraft.yaml support. Fixed upstream by merged PR snapcore/snapcraft#1141 (commit ef34c2d3d), which closed LP bug #1665007. | |
| stealth/space-bunny-alpha | — | closed resolved | Support for snap/snapcraft.yaml was delivered by merged canonical/snapcraft#1141 (commit ef34c2d3d), replacing custom root-file detection with the project loader. | |
| stealth/space-bunny-alpha | — | closed resolved | Added project-loader-based snapcraft.yaml discovery, including origins containing snap/snapcraft.yaml, via merged PR #1141 (commit ef34c2d3d). | |
| stealth/space-bunny-alpha | — | closed resolved | Parser support for snap/snapcraft.yaml was added by using project_loader to locate the project file in canonical/snapcraft#1141, merged as ef34c2d3d. | |
| stealth/space-bunny-alpha | — | closed resolved | Parser support for snap/snapcraft.yaml was delivered by merged PR canonical/snapcraft#1141, replacing custom manifest detection with project_loader (commit ef34c2d3d). | |
| stealth/space-bunny-alpha | — | closed resolved | Parser support was merged in canonical/snapcraft#1141 (commit ef34c2d3d), using the project loader to locate the origin's snapcraft.yaml. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. The parser remains restricted to root-level snapcraft.yaml files. No discussion or code changes occurred, indicating the request was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The parser remains limited to root-level snapcraft.yaml files, with no updates or workarounds implemented. | |
| qwen/qwen3.6-35b-a3b | — | — | Request to extend parser support to snap/snapcraft.yaml was closed without comments or implementation. No resolution or merge details were provided, indicating the feature was abandoned or superseded. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Abandoned. Closed without implementation or discussion, leaving the parser limitation regarding snap/snapcraft.yaml paths unaddressed. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
snapcraft#1141
(confidence 97%)
Merged PR by the same author; commit message explicitly ties the project loader rework to LP bug #1665007.
-
Likely Fixed By:
snapcraft#1073
(confidence 62%)
Earlier PR 'project: snapcraft.yaml in a snap directory' laid groundwork for the snap/snapcraft.yaml layout that #1141 exposed to the parser.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1141 parser: use the project loader code to find the origin's snapcraft.yaml | snapcraft | merged | Merged parser changes to use project_loader for snapcraft.yaml discovery, replacing custom origin detection and resolving LP #1665007 in commit ef34c2d3d. | |
| #1624019 The parser shouldn't fail on an origin error | snapcraft (launchpad) | closed | Origin fetch errors no longer crash the parser, fixing Launchpad #1624019 via canonical/snapcraft#1045 (commit 66ddbf12e). |