← Back to issue list

Use Craft Application's Linter Service

View original Github issue

Metadata

Project
charmcraft
Number
#2315
Type
issue
State
closed
Author
sergiusens
Labels
Bounty
Created
Updated
Closed

Current evaluation

LinterService bounty closed without implementation; craft-application#907 delivered the shared service, and Charmcraft migration was retriaged as canonical/charmcraft#2546.

Resolution: closed superseded

Reason: The maintainer closed the bounty without completing Charmcraft's migration. The prerequisite framework merged in craft-application#907 (commit a76bcaa6), while canonical/charmcraft#2546 became the open replacement tracking adoption of LinterService.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done Migrate to the Linter Service as implemented at https://github.com/canonical/craft-application/issues/782 #### Acceptance criteria * All linters are implementations of the Craft Application class * The lint command uses the LinterService * Any other uses of linters use the LinterService ### Why it needs to get done Snapcraft and Charmcraft lint snaps and charms respectively at the end of the lifecycle. These linters don’t share common code and don’t have a similar UX. Additionally, there isn’t a way to add linters to other *craft apps without significant code duplication.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded LinterService bounty closed without implementation; craft-application#907 delivered the shared service, and Charmcraft migration was retriaged as canonical/charmcraft#2546.
stealth/space-bunny-alpha — closed superseded Bounty #2315 closed without implementation; the migration moved to open charmcraft#2546 after LinterService landed via craft-application#907.
stealth/space-bunny-alpha — closed stale LinterService bounty closed without implementation; migration continues in charmcraft#2546 after craft-application’s framework merged in #907.
qwen3.6-35b-a3b-mtp-q6 — — The bounty for migrating to the Craft Application Linter Service was closed, abandoning the issue. Implementation remained blocked by upstream dependency resolution, and no code changes were merged.
qwen/qwen3.6-35b-a3b — — Proposed migration to a shared Craft Application Linter Service with a $400 bounty remained blocked pending upstream implementation. The bounty was closed, leaving the request abandoned without code changes or merge.
qwen/qwen3.6-35b-a3b — — A $400 bounty was posted to migrate to Craft Application's Linter Service. A contributor proposed a solution, but the task was blocked by a dependency. The bounty was closed, leaving the issue abandoned.
qwen3.6-35b-a3b-mtp-q6 — — Migrating linters to the Craft Application's LinterService was proposed with a $400 bounty. Blocked by upstream implementation, the bounty was closed. The request was abandoned without code changes or merge.

Update history

No update history recorded yet.

Related work

  • Superseded By: canonical/charmcraft#2546 (confidence 99%)

    Open replacement tracking Charmcraft's LinterService migration after this bounty was closed.

  • Related To: canonical/craft-application#907 (confidence 98%)

    Merged the prerequisite LinterService framework at commit a76bcaa6; it did not itself migrate Charmcraft.

  • Related To: canonical/craft-application#782 (confidence 98%)

    Upstream LinterService bounty implemented by craft-application#907.

Related issues

Issue Project State Summary Similarity
#5542 Use Craft Application's Linter Service snapcraft closed Closed by mr-cal (2026-01-21) as a bounty with no implementation. craft-application#907 (commit a76bcaa6) merged the shared Linter Service, and the migration work was moved to charmcraft#2546, still open.
94%
#2546 Use Craft Application's Linter Service charmcraft open Charmcraft’s triaged refactor to adopt Craft Application’s merged LinterService remains open; 11 custom checkers still run through Charmcraft’s AnalysisService.
88%
#5971 Use Craft Application's Linter Service snapcraft open Triaged refactor to replace Snapcraft's bespoke linter runner and reporting with Craft Application's LinterService; the prerequisite is merged, but migration remains unimplemented.
83%
#141 Add a basic linter service craft-application closed Implemented the extensible linter framework in craft-application by merging PR #907 (commit a76bcaa6), providing shared linter registration and execution for downstream apps.
79%
#907 feat(linter): add linter service framework craft-application merged Merged PR #907 as commit a76bcaa6, adding a shared Linter Service for consistent downstream registration and execution of linters and closing craft-application#782.
74%