← Back to issue list

Support for looking in build-aux/snap

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1805219
Type
issue
State
closed
Author
~sergiusens
Labels
19.04 19.04-external lp-snappy qa-ok
Created
Updated
Closed

Current evaluation

Implemented and shipped: snapcore/snapcraft#2496 (commit 4c92c1b89) added build-aux/snap as an alternative location for snapcraft.yaml and assets; LP bug auto-closed by lpqabot after stable revision r18938.

Resolution: closed resolved

Reason: Merged PR snapcore/snapcraft#2496 (commit 4c92c1b89) implemented support for build-aux/snap after the Malta discussion; lpqabot commented "Fixed in stable r18938" and the bug was closed. Current snapcraft code still ships this (yaml_utils.py project_file=Path("build-aux/snap/snapcraft.yaml"), package.py searches "snap" and "build-aux/snap"), with follow-ups #2551 (local plugins from build-aux) and #4662.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Look for snapcraft definitions in build-aux/snap as a preferred path over the snap directory for projects that have a snap directory for other purposes.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Implemented and shipped: snapcore/snapcraft#2496 (commit 4c92c1b89) added build-aux/snap as an alternative location for snapcraft.yaml and assets; LP bug auto-closed by lpqabot after stable revision r18938.
stealth/space-bunny-alpha — closed resolved build-aux/snap support was merged in snapcore/snapcraft#2496 (commit 4c92c1b89) and released to stable in revision r18938.
stealth/space-bunny-alpha — closed resolved Support for build-aux/snap was implemented by merged PR snapcore/snapcraft#2496 (commit 4c92c1b89).
qwen/qwen3.6-35b-a3b — — Closed without implementation. The request to prioritize build-aux/snap over snap for snapcraft definitions was abandoned after no discussion or follow-up.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The request to prioritize build-aux/snap over snap for snapcraft definitions was abandoned.
qwen/qwen3.6-35b-a3b — — Closed and abandoned without implementation. The request to prioritize build-aux/snap over snap for snapcraft definitions received no discussion or action.
qwen3.6-35b-a3b-mtp-q6 — — Fixed and closed. Snapcraft now prioritizes build-aux/snap over snap for definitions, addressing the path resolution request.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/snapcraft#2496 (confidence 97%)

    Merged PR 'many: support the use of build-aux/snap' (commit 4c92c1b89), referenced by maintainer in the LP bug

  • Related To: canonical/snapcraft#2551 (confidence 72%)

    Commit 7ca0398c5 'project: read local plugins from build-aux' extends the same build-aux/snap convention

  • Related To: canonical/snapcraft#4662 (confidence 55%)

    Commit a50b0617a test fix about not creating two snapcraft.yaml files confusing project location resolution

Related issues

Issue Project State Summary Similarity
#2496 many: support the use of build-aux/snap snapcraft merged Merged PR snapcore/snapcraft#2496 (commit 4c92c1b89) by maintainer sergiusens, adding support for build-aux/snap as an alternative location for snapcraft.yaml and Snapcraft assets, following GNOME conventions (LP: #1805219).
84%
#274 fix: add build-aux location for snapcraft project fetch-service merged Merged in PR #274 via commit 01a15fb, adding build-aux/snap/snapcraft.yaml as a recognized Snapcraft project path; included in 0.4.1 to address the OSV issue.
76%
#1649684 Support `build` for parts snapcraft (launchpad) closed Implemented part-level build scriptlet support, allowing a custom script to replace the plugin build step; merged in snapcore/snapcraft#988 via commit cc123cad9.
71%
#1819290 Support for "base: core" snapcraft (launchpad) closed Implemented by merged snapcore/snapcraft#2499 (commit e1cc2b91c), adding 'base: core' support in snapcraft.yaml and stripping it from generated snap.yaml; Launchpad base config updated by cjwatson.
71%
#1772584 Having a "snap" directory with actual content causes build failures snapcraft (launchpad) closed Resolved by adding build-aux as an alternative location for Snapcraft assets, preserving source-tree snap directories; merged in snapcraft#2496 and #2551.
70%