Skip to content

Conversation

@jnsgruk
Copy link
Contributor

@jnsgruk jnsgruk commented Jun 21, 2024

Until this commit, the default storage location for profiles on disk was in $SNAP_DATA/profiles, but as highlighted in both #4708 and in https://snapcraft.io/docs/data-locations, the $SNAP_DATA directory is versioned per-revision of the snap, whereas $SNAP_COMMON persists across revisions.

This change leaves config in the same location in $SNAP_DATA, because versioning config files with revisions might still be desirable.

Existing installs should not be affected, as the default is set on first run.

Fixes #4708

Until this commit, the default storage location for profiles
on disk was in `$SNAP_DATA/profiles`, but as highlighted in
both #4708 and in https://snapcraft.io/docs/data-locations,
the `$SNAP_DATA` directory is versioned per-revision of the
snap, whereas `$SNAP_COMMON` persists across revisions.

This change leaves config in the same location in `$SNAP_DATA`,
because versioning config files with revisions might still be
desirable.

Existing installs should not be affected, as the default is set
on first run.

Fixes #4708
@jnsgruk jnsgruk requested a review from a team as a code owner June 21, 2024 10:47
@brancz brancz merged commit ded0a17 into parca-dev:main Jun 24, 2024
@alwaysmeticulous
Copy link

alwaysmeticulous bot commented Jun 24, 2024

✅ Meticulous spotted zero visual differences across 656 screens tested: view results.

Expected differences? Click here. Last updated for commit 3f55898. This comment will update as new commits are pushed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

snap storing profiles in SNAP_DATA instead of SNAP_COMMON

2 participants