Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Change of the candid snap." #198

Merged
merged 1 commit into from Feb 23, 2024
Merged

Conversation

kian99
Copy link
Contributor

@kian99 kian99 commented Feb 23, 2024

Description

This reverts commit 6b5ed0d made in #139. Note that some changes made since then in snapcraft.yaml have been maintained, particularly the way we stage the static files.

That PR introduced a set of scripts that:

  1. Changed the snap's config location from SNAP_DATA to SNAP_COMMON (i.e. from /var/snap/candid/<revision> to /var/snap/candid/common`)
  2. Changed the snap to allow for config via snap set candid <config>.

The first change broke backwards compatibility. This revert also removes the ability for 2.

Test instructions

Locally I made a tag v1.12.3-dev, built the snap and released it to latest/edge on the snap store. Then I ran sudo snap install candid to install the snap from latest/stable then ran sudo snap refresh candid --channel=latest/edge to refresh to the newly released snap and checked that Candid was still running as expected.

Copy link
Contributor

@alesstimec alesstimec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you

@kian99 kian99 merged commit 505a389 into canonical:master Feb 23, 2024
2 checks passed
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.

None yet

3 participants