← Back to issue list

Use Craft Application's Linter Service

View original Github issue

Metadata

Project
snapcraft
Number
#5542
Type
issue
State
closed
Author
sergiusens
Labels
Bounty
Created
Updated
Closed

Current evaluation

Abandoned without implementation. Migrating linters to the Craft Application LinterService was blocked by the upstream dependency, and the associated $400 bounty was closed.

Suggested action:

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
qwen/qwen3.6-35b-a3b Abandoned without implementation. Migrating linters to the Craft Application LinterService was blocked by the upstream dependency, and the associated $400 bounty was closed.
qwen/qwen3.6-35b-a3b The bounty to migrate linters to the Craft Application Linter Service was closed without implementation. Maintainers blocked progress pending an upstream dependency, and the bounty expired without a merged solution.
qwen3.6-35b-a3b-mtp-q6 Migrating linters to a shared Craft Application service was proposed as a bounty task. The bounty and issue were abandoned without implementation due to a blocked dependency.
qwen3.6-35b-a3b-mtp-q6 Migrating linters to the Craft Application Linter Service was abandoned. The bounty closed without implementation after the required upstream dependency in craft-application was closed, leaving the migration unaddressed.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2315 Use Craft Application's Linter Service charmcraft closed 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.
93%
#2546 Use Craft Application's Linter Service charmcraft open Refactor to migrate charmcraft's linters to craft-application's shared LinterService for consistent lint UX across craft apps. Triaged and open; upstream framework (craft-application#907) is merged, but no code changes yet and no human activity for ~7 months.
83%
#5971 Use Craft Application's Linter Service snapcraft open Refactor to migrate snapcraft linters to craft-application's LinterService. Triaged and labeled; upstream framework (craft-application#907) is merged, but no code changes yet. Supersedes closed #5542.
82%
#907 feat(linter): add linter service framework craft-application merged Merged a shared Linter Service framework for craft-application, enabling consistent linting across downstream apps. Approved by three reviewers, passed all CI checks, and closed issue #782.
73%
#141 Add a basic linter service craft-application closed Closed without implementation. The proposal to build a shared extensible linter service was deferred to internal Jira ticket CRAFT-2602 and subsequently abandoned.
72%