← Back to issue list

Please update snapcraft for new environment variables

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1533552
Type
issue
State
closed
Author
~mvo
Labels
—
Created
Updated
Closed

Current evaluation

Updated examples for Ubuntu 16.04 snap environment variables in merged PR #234 (commit 04b1a13bc), replacing legacy names and removing SNAP_APP_TEMPDIR.

Resolution: closed resolved

Reason: PR #234 was merged in commit 82a8a46e7, with resolving commit 04b1a13bc updating the examples to SNAP, SNAP_DATA, and SNAP_USER_DATA.

Evaluated by: mr-cal-bot

No scores available.

Issue body

The latest snappy in 16.04 changes the environment variables: > The following new environment variables are available inside the snap: > > SNAP - the base directory of the snap (previously SNAP_APP_PATH) > > SNAP_DATA - the data directory of the snap > (previously SNAPP_APP_DATA_PATH) > > SNAP_USER_DATA - the user data directory of the snap > (previously SNAPP_APP_USER_DATA_PATH) > > And SNAP_APP_TEMPDIR got dropped. Please update the examples in snapcraft accordingly.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Updated examples for Ubuntu 16.04 snap environment variables in merged PR #234 (commit 04b1a13bc), replacing legacy names and removing SNAP_APP_TEMPDIR.
stealth/space-bunny-alpha — closed resolved Updated examples for Ubuntu 16.04 environment variables in merged PR #234 (commit 04b1a13bc), replacing legacy names and removing SNAP_APP_TEMPDIR references.
qwen/qwen3.6-35b-a3b — — Closed without action or discussion. The request to update snapcraft examples for new snap environment variables was abandoned or superseded by upstream changes.
qwen/qwen3.6-35b-a3b — — Closed without action or comments. The request to update snapcraft environment variable examples was abandoned, likely superseded by upstream snapd changes and subsequent tooling updates.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The request to update snapcraft examples for new environment variables was abandoned or superseded by subsequent snapcraft releases.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution or comments. The request to update snapcraft examples for renamed snap environment variables was not addressed and appears abandoned, likely superseded by later upstream updates.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcraft#234 (confidence 100%)

    Merged PR replacing the obsolete environment variables with their Ubuntu 16.04 equivalents.

Related issues

Issue Project State Summary Similarity
#234 Replace SNAP envvars with the 16.04 ones. snapcraft merged Merged PR #234 replaced legacy SNAP environment variables with Ubuntu 16.04 equivalents across 15 files for LP #1533552 (commit 04b1a13bc; merge 82a8a46e7).
74%
#4607 fix(application): support snap/craft environment variables snapcraft merged Merged PR #4607 as b41ebe6e4, adding SNAP/CRAFT environment-variable support to the application and tests.
72%