← Back to issue list

Add a linter for external symlinks

View original Github issue

Metadata

Project
snapcraft
Number
#5432
Type
issue
State
open
Author
mr-cal
Labels
Status: Triaged Type: Enhancement
Created
Updated
Closed
—

Current evaluation

Triaged enhancement remains open: Snapcraft has no external-symlink linter in its registry, leaving build-time detection to store upload review.

Suggested action: keep open

Reason: The Status: Triaged and Type: Enhancement labels establish that maintainers accepted the need, and the requested behavior is clear through the linked review-tools implementation. Current code registers only classic, GPU, library, and metadata linters, confirming the capability is still absent; the main implementation detail needed is matching review-tools' precise external-symlink semantics.

Evaluated by: mr-cal-bot

Impact: 45 Quick Win: 21 Complexity: 35 Confidence: 96 Actionability: 72

Issue body

### What needs to get done [Review-tools](https://snapcraft.io/review-tools) checks and flags for snaps with [external symlinks](https://git.launchpad.net/review-tools/tree/reviewtools/reviews/sr_lint.py). Snapcraft should have a linter for this. ### Why it needs to get done Quicker development iterations. Users should be warned at build time rather than when the snap is uploaded to the store.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 45
Quick Win: 21
Complexity: 35
Confidence: 96
Actionability: 72
keep open Triaged enhancement remains open: Snapcraft has no external-symlink linter in its registry, leaving build-time detection to store upload review.
qwen/qwen3.6-35b-a3b
Impact: 70
Quick Win: 34
Complexity: 40
Confidence: 75
Actionability: 80
keep open Enhancement request to add a linter for external symlinks at build time, similar to review-tools. Triaged and waiting for implementation.
qwen/qwen3.8-27b
Impact: 45
Quick Win: 25
Staleness: 70
Complexity: 45
Confidence: 75
Support Request: 10
keep open Feature request to add a snapcraft linter that detects external symlinks (pointing outside the snap), mirroring the review-tools sr_lint check. Triaged by a maintainer, linked to internal Jira SNAPCRAFT-1071, but no implementation progress in ~16 months.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 40
Confidence: 80
Support Request: 10
keep open Feature request to add a linter for external symlinks in snapcraft, triaged and linked to internal ticket SNAPCRAFT-1071. No recent activity since creation.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 40
Confidence: 65
Support Request: 10
keep open Enhancement to add a build-time linter for external symlinks in snapcraft, mirroring review-tools functionality. Triaged but inactive for over a year with no maintainer progress or assignee.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.