← 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

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.

Suggested action: keep open

Reason: The issue is triaged (labels 'Status: Triaged' and 'Type: Enhancement'), authored by a maintainer, and linked to internal Jira SNAPCRAFT-1071. The linter infrastructure is actively developed (recent commits added gpu and metadata linters), so the feature remains relevant and feasible. No implementation exists in snapcraft/linters/ (only classic, gpu, library, metadata linters are registered), so it should stay open as a valid pending enhancement.

Impact: 45 Quick Win: 24.75 Staleness: 70 Complexity: 45 Confidence: 75 Support Request: 10

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
qwen/qwen3.8-27b
Impact: 45
Quick Win: 24.75
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 75
Complexity: 40
Confidence: 80
Support Request: 5
keep open Adds a build-time linter to detect external symlinks in snaps, catching issues before store upload. Triaged as an enhancement with a Jira ticket created. Inactive for over a year and awaiting assignment.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.