tour: make it work when its a snap.
Metadata
Current evaluation
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.
Suggested action: —
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 |
|---|---|---|---|---|
| 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged fix enabling the snapcraft tour command to properly bootstrap and detect repositories when running as a snap. Resolves LP #1674952. Verified via manual testing. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1674952 snapcraft tour broken when installed from snap | snapcraft (launchpad) | closed | The snapcraft tour command failed due to a missing directory path when installed via snap. The issue was closed without comments or documented resolution, indicating it was abandoned or fixed in a later release. | |
| #1329 tour: use https for source urls | snapcraft | merged | Merged. Updated Snapcraft tour to download sources via HTTPS instead of HTTP. Approved by two reviewers, the change modifies two files to address Launchpad bug #1634415. | |
| #559 Reenable tour command | snapcraft | merged | Merged the reenabled snapcraft tour command. Implemented logic to prevent nested default directories and added integration tests for primary use cases. All review comments were resolved and CI passed prior to merge. |