← Back to issue list

shell_utils: Add SNAPCRAFT_DEBUG_SCRIPTS env variable

View original Github issue

Metadata

Project
snapcraft
Number
#2696
Type
pull request
State
closed
Author
mkg20001
Labels
—
Created
Updated
Closed

Current evaluation

Closed unmerged after script debugging landed elsewhere; maintainers said that implementation still needed adjustments based on the discussion in #2696.

Resolution: closed superseded

Reason: Maintainer @sergiusens closed the contribution without merging after noting that the functionality had already landed in another PR, with further fixes still required.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This allows, if enabled, to see the commands being run inside the script files. Signed-off-by: Maciej Krüger <mkg20001@gmail.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
stealth/space-bunny-alpha — closed superseded Closed unmerged after script debugging landed elsewhere; maintainers said that implementation still needed adjustments based on the discussion in #2696.
stealth/space-bunny-alpha — closed superseded Closed unmerged after the functionality landed in another PR; maintainers said that implementation still needed adjustments based on this discussion.
stealth/space-bunny-alpha — closed superseded Closed unmerged after the functionality landed in another PR; maintainers said that implementation still needed adjustments based on this discussion.
qwen/qwen3.6-35b-a3b — — Superseded by another PR that implemented the SNAPCRAFT_DEBUG_SCRIPTS feature. Maintainers noted the merged code requires adjustments based on discussions in this closed request, which remains abandoned with unresolved review comments.
qwen3.6-35b-a3b-mtp-q6 — — Superseded by another PR that implemented the SNAPCRAFT_DEBUG_SCRIPTS feature. Maintainers confirmed the functionality landed elsewhere but noted it requires fixes based on discussions in this request.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1809068 SNAPCRAFT_ environment variables not exposed to version-script snapcraft (launchpad) closed Closed after maintainers directed users from version-script to snapcraftctl set-version; no fix was cited for the missing SNAPCRAFT_* variables.
71%