many: support the use of build-aux/snap
Metadata
Current evaluation
Merged implementation adding build-aux/snap as an alternate directory for snapcraft assets. Approved by reviewer, passed CI, and modified 7 files (+207/-64 lines) to align with GNOME project conventions.
Suggested action: —
No scores available.
Issue body
Many projects required an alternate snap directory to store
snapcraft related assets, in particular Gnome relate projects
have consolidated with the use of build-aux which snapcraft
is now adopting as an alternative as well.
LP: #1805219
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged implementation adding build-aux/snap as an alternate directory for snapcraft assets. Approved by reviewer, passed CI, and modified 7 files (+207/-64 lines) to align with GNOME project conventions. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Implements support for the build-aux/snap directory as an alternative snapcraft asset location, aligning with GNOME conventions. The change passed unit tests, static analysis, and achieved 86.66% diff coverage. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to master. Introduces support for the build-aux/snap directory as an alternative asset location, aligning with GNOME conventions. Passed static and unit tests. Codecov reported 86.66% diff coverage. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #274 fix: add build-aux location for snapcraft project | fetch-service | merged | Merged to add the build-aux location for the snapcraft project. Approved by two reviewers, the change updates two files with a net addition of five lines. The maintainer merged it from main to resolve an OSV issue. | |
| #49 packages: add snap package support | craft-parts | merged | Merged after implementing snap download and installation for stage and build snaps. Approved by two reviewers, passed CI, and added 1,072 lines across five files. Follows snapcraft conventions with future refactoring planned. | |
| #1083 project: support for gui in snap | snapcraft | merged | Merged deprecation of the setup directory in favor of the snap directory to support GUI in snap. Approved, passed CI, and modified 9 files (+98/-20 lines). | |
| #2499 many: support for "base: core" in snapcraft.yaml | snapcraft | merged | Added support for base: core in snapcraft.yaml. Merged after approval and passing CI checks. Modified 43 files with a net change of +224/-75 lines. | |
| #1390 meta: bash completion support | snapcraft | merged | Merged after adding bash completion support for snapcraft. Approved by two reviewers with passing CI checks. The change modifies five files, adding 72 lines and removing 2. | |
| #3208 snap: set PATH for snapcraft command | snapcraft | merged | Merged to configure the PATH for the snapcraft command in the build environment, ensuring parity with launchpad buildd and destructive-mode instances. Approved, passed CI, and modified three files. | |
| #5282 docs: document the `build-aux` directory | snapcraft | closed | Documentation for the build-aux directory was added via pull request #5466, resolving the request to explain its purpose as an alternative snap directory location. | |
| #2256 local source: don't include .snapcraft directory | snapcraft | merged | Resolved LP: #1791773 by merging a change that excludes the .snapcraft directory from copying and part staleness checks. Approved, passed CI, and merged with a six-line update across two files. | |
| #1518 project: introduce build-snaps | snapcraft | merged | Merged after approval by two reviewers. Introduces build-snaps with advanced grammar support, modifying 24 files with +902/-10 lines. | |
| #1158 packaging: snapcraft as a snap | snapcraft | merged | Merged integration changes to build snapcraft as a snap. Modified 8 files with 147 additions and 10 deletions to package the tool itself as a snap. Review feedback was addressed prior to merge. |