← Back to issue list

lint: prepare instance for linting a snap file

View original Github issue

Metadata

Project
snapcraft
Number
#4101
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Merged #4101 as caa2f2e9d, making snapcraft lint prepare an instance and re-execute lint inside it for CRAFT-1690.

Resolution: closed resolved

Reason: PR #4101 was merged as commit caa2f2e9d, implementing instance preparation and in-instance lint re-execution for CRAFT-1690.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [X] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [X] Have you successfully run `make lint`? - [X] Have you successfully run `pytest tests/unit`? ----- `snapcraft lint` now prepares an instance and re-executes `snapcraft lint` inside the instance. (CRAFT-1690)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #4101 as caa2f2e9d, making snapcraft lint prepare an instance and re-execute lint inside it for CRAFT-1690.
stealth/space-bunny-alpha — closed resolved Merged #4101 as caa2f2e9d, making `snapcraft lint` prepare a build instance and re-execute lint inside it (CRAFT-1690).
stealth/space-bunny-alpha — closed resolved Merged PR #4101 as commit caa2f2e9d: snapcraft lint now prepares a snap instance and re-executes lint inside it (CRAFT-1690).
qwen/qwen3.6-35b-a3b — — Merged into main. Updates snapcraft lint to prepare and re-execute inside a snap instance. Approved by a reviewer, passed CI, and increased coverage by 0.02%. Addresses CRAFT-1690.
qwen3.6-35b-a3b-mtp-q6 — — Merged into main. Configures snapcraft lint to prepare a dedicated instance and re-executes the command within it. Commit 491d50f increased repository coverage by 0.02 percent.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#4115 (confidence 98%)

    Follow-up PR #4115 implemented the actual snap-file linting workflow inside the prepared instance.

  • Related To: snapcraft#4095 (confidence 94%)

    Earlier merged PR #4095 introduced the snapcraft lint CLI command that #4101 extended.

Related issues

Issue Project State Summary Similarity
#4115 lint: lint snap files inside an instance snapcraft merged Merged as ddd328f07, #4115 adds in-instance snap linting that unsquashes and installs the snap, reads metadata and filters, runs the linter, and reports warnings (CRAFT-1689).
81%
#4095 cli: add lint command snapcraft merged Merged PR #4095 (commit 297130c4e) adding the `snapcraft lint` CLI command with unit tests for CRAFT-1688, giving Snapcraft users access to lint checks.
74%
#3847 linters: add linting infrastructure snapcraft merged Merged into main as 9f70a0422, adding the linting framework, snapcraft.yaml lint configuration, pre-pack lint execution, and JSON-formatted issue output.
72%