A linter for Ubuntu SRU (Stable Release Update) packages
Project description
sru-lint
Static analysis tool for Ubuntu SRU (Stable Release Update) patches — built to run in CI and generate human-friendly reports.
Documentation
For complete documentation, installation instructions, usage examples, and plugin development guides, visit:
https://canonical-sru-lint.readthedocs-hosted.com/en/latest/
Quick Start
# Install from snap (recommended)
snap install --edge sru-lint
# Or install with Poetry (for development)
git clone https://github.com/dargad/sru-lint.git
cd sru-lint
poetry install
# Check from a patches-unapplied git repo (the current directory)
sru-lint check .
# Check a patch file or URL
sru-lint check path/to/patch.debdiff # if installed via snap
poetry run sru-lint check path/to/patch.debdiff # if using Poetry
sru-lint check https://example.com/patch.diff
# Check from stdin
cat patch.debdiff | sru-lint check - # if installed via snap
cat patch.debdiff | poetry run sru-lint check - # if using Poetry
# List available plugins
sru-lint plugins # if installed via snap
poetry run sru-lint plugins # if using Poetry
What it checks
- Changelog entries (valid distributions, LP bugs, version ordering)
- DEP-3 patch format compliance
- Launchpad integration (bug targeting, SRU templates, publication history)
- Upload queue conflicts
- And more via the plugin system...
License
MIT License - see LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sru_lint-1.0.tar.gz.
File metadata
- Download URL: sru_lint-1.0.tar.gz
- Upload date:
- Size: 32.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
447377f78e9ae210c820d46fb24a5f5775013ac31f6054e1b883376558857398
|
|
| MD5 |
1125472b858feaa4e6f6cc21333fe03a
|
|
| BLAKE2b-256 |
58de59f9d61817c637ef6cddd5d88b2fa454c3bcca97ad0db075431930e3e745
|
Provenance
The following attestation bundles were made for sru_lint-1.0.tar.gz:
Publisher:
pypi-publish.yaml on canonical/sru-lint
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sru_lint-1.0.tar.gz -
Subject digest:
447377f78e9ae210c820d46fb24a5f5775013ac31f6054e1b883376558857398 - Sigstore transparency entry: 1383315154
- Sigstore integration time:
-
Permalink:
canonical/sru-lint@14566d6bbbc38b5c3079ab12f39a2d800bc40a46 -
Branch / Tag:
refs/tags/v1.0 - Owner: https://github.com/canonical
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yaml@14566d6bbbc38b5c3079ab12f39a2d800bc40a46 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sru_lint-1.0-py3-none-any.whl.
File metadata
- Download URL: sru_lint-1.0-py3-none-any.whl
- Upload date:
- Size: 42.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82d45f96f5d3ebd29e342b5b0a569bb81fb48c20745566fd2f11f83bc075ed89
|
|
| MD5 |
118208f63589a605488bb81150ea84b1
|
|
| BLAKE2b-256 |
365d97bbc15ddaa1f8cbf79fd7fc968ade9a72a5cb6f2e89982d81b5521667f0
|
Provenance
The following attestation bundles were made for sru_lint-1.0-py3-none-any.whl:
Publisher:
pypi-publish.yaml on canonical/sru-lint
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sru_lint-1.0-py3-none-any.whl -
Subject digest:
82d45f96f5d3ebd29e342b5b0a569bb81fb48c20745566fd2f11f83bc075ed89 - Sigstore transparency entry: 1383315174
- Sigstore integration time:
-
Permalink:
canonical/sru-lint@14566d6bbbc38b5c3079ab12f39a2d800bc40a46 -
Branch / Tag:
refs/tags/v1.0 - Owner: https://github.com/canonical
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yaml@14566d6bbbc38b5c3079ab12f39a2d800bc40a46 -
Trigger Event:
push
-
Statement type: