snap: prepare override scripts to allow rebuilding
Metadata
Current evaluation
Merged PR #2223 as commit ebbdd7de2, adding reusable override scripts for ctypes linking and PyYAML patching so the project snap could be rebuilt.
Resolution: closed resolved
Reason: PR #2223 was approved and merged into master as commit ebbdd7de2.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This projects snapcraft.yaml does not allow for easy rebuilding
given the use of linking and patching to make ctypes work properly
and the required patches to PyYAML.
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] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2223 as commit ebbdd7de2, adding reusable override scripts for ctypes linking and PyYAML patching so the project snap could be rebuilt. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #2223, adding reusable override scripts for ctypes linking and PyYAML patching so the Snapcraft snap can be rebuilt more easily. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2223, adding reusable override scripts for ctypes linking and PyYAML patching so the Snapcraft project can be rebuilt more easily. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged into master. Updated snapcraft.yaml override scripts to fix ctypes linking and PyYAML patching, enabling easier project rebuilding. Approved by reviewer and passed CI checks. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged updates to snapcraft.yaml override scripts, enabling easier rebuilding by resolving ctypes linking and PyYAML patching. References bug #1789206. Codecov noted a minor coverage decrease upon integration. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcore/snapcraft#1915
(confidence 90%)
The earlier ctypes-specific snap patch motivated the reusable rebuild logic.
-
Related To:
snapcore/snapcraft#2283
(confidence 90%)
A later PR refactored the override-build logic into a script.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2283 snapcraft snap: refactor override-build into a script | snapcraft | merged | PR #2283 merged as commit f9592939a, moving the Snapcraft snap's override-build logic into a script to reduce snapcraft.yaml duplication ahead of self-vendoring. |