Nil plugin: Make purpose more clear in documentation.
Metadata
Current evaluation
Merged documentation updates clarifying the nil plugin cannot pull sources, resolving user confusion. Added integration and unit tests to enforce the source restriction and validate schema changes.
Suggested action: —
No scores available.
Issue body
Some users were under the impression that nil could pull sources, when it can't. This PR resolves LP: [#1549691](https://bugs.launchpad.net/snapcraft/+bug/1549691) by hopefully making that more clear, and giving an example of what it CAN do.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged documentation updates clarifying the nil plugin cannot pull sources, resolving user confusion. Added integration and unit tests to enforce the source restriction and validate schema changes. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged PR clarifying the nil plugin cannot pull sources, resolving LP #1549691. Added validation to reject invalid keywords like source, plus integration and unit tests to enforce the restriction. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged documentation update clarifying the nil plugin cannot pull sources, resolving bug #1549691. Added validation and integration tests to enforce the restriction and prevent invalid source configurations. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #300 plugins: improve nil plugin docstring | craft-parts | merged | Merged following approval and passing CI checks. The update revised the nil plugin docstring with additional documentation details, modifying one file. | |
| #1549691 Improve documentation for the nil plugin | snapcraft (launchpad) | closed | Abandoned after over ten years of inactivity. The request to modify the nil plugin schema or add a pull-only plugin was closed without resolution or implementation. | |
| #27 plugins: add the nil plugin | craft-parts | merged | Merged the nil plugin to handle parts with no source. Approved by two reviewers, passed CI checks, and introduced 109 lines across two files. | |
| #3949 legacy/plugins: improve nil plugin docstring | snapcraft | merged | Merged into main to update the nil plugin docstring in legacy/plugins, replacing the closed PR #3913. The change adds documentation details, passed CI, received approval, and was integrated with a negligible coverage decrease. |