← Back to issue list

tour: make it work when its a snap.

View original Github issue

Metadata

Project
snapcraft
Number
#1217
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #1217 in commit d365eb9ed, fixing tour bootstrapping and repository detection when Snapcraft runs as a snap; resolves LP #1674952.

Resolution: closed resolved

Reason: PR #1217 was merged as commit d365eb9ed after successful snapped-Snapcraft tour testing. The change also resolved the snap repository-detection blocker tracked by LP #1674952.

Evaluated by: mr-cal-bot

No scores available.

Issue body

The tour did not have the brains to properly bootstrap itself when snapcraft was used as a snap. This also fixes a blcoker for the snap wrt the repo detection. LP: #1674952 Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #1217 in commit d365eb9ed, fixing tour bootstrapping and repository detection when Snapcraft runs as a snap; resolves LP #1674952.
stealth/space-bunny-alpha — closed resolved Merged PR #1217 in d365eb9ed, fixing tour self-bootstrap and repository detection when Snapcraft runs as a snap (LP #1674952).
stealth/space-bunny-alpha — closed resolved Merged PR #1217 in commit d365eb9ed fixed tour bootstrapping and repository detection when Snapcraft runs as a snap, resolving LP #1674952.
qwen/qwen3.6-35b-a3b — — Merged fix enabling snapcraft tour to bootstrap correctly when installed as a snap. Resolves repository detection blocker LP #1674952. Updates path resolution across three files.
qwen3.6-35b-a3b-mtp-q6 — — Merged fix enabling the snapcraft tour command to properly bootstrap and detect repositories when installed as a snap. Resolves LP #1674952. Verified via manual testing in LXD and snap environments.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft (launchpad)#1674952 (confidence 100%)

    Launchpad bug #1674952 tracked the broken snap-installed tour and was resolved by this merged PR.

Related issues

Issue Project State Summary Similarity
#1674952 snapcraft tour broken when installed from snap snapcraft (launchpad) closed Tour failed when snapcraft ran from a snap because it looked in /usr/share/snapcraft/tour. Fixed by merged PR snapcore/snapcraft#1217 (commit d365eb9ed, 'tour: make it work when its a snap'), linked in the closing comment.
78%
#559 Reenable tour command snapcraft merged Merged in #559 via cadeb87ea, restoring snapcraft tour with non-nesting directory logic plus unit and integration tests.
72%
#1590903 Improve snapcraft tour material snapcraft (launchpad) closed Tour content expansion shipped: upstream PR ubuntu-core/snapcraft#558 (commit 442b4f12) "Add finale tour examples and tests" fixed this; released in snapcraft 2.11 to xenial -proposed/-updates, verified by ~elopio and marked verification-done.
71%