Sawmill plugin for slang
Project description
sawmill-plugin-slang
Sawmill plugin for slang
Quick Start
# Install in development mode
make install
# Run tests
make test
# Lint
make lint
Development
Start by filling in the TODO items in src/sawmill_plugin_slang/plugin.py.
Work on hooks in this order:
get_severity_levels— Define your tool's severity levels (already has a working default)can_handle— Detect your tool's log files by name or contentload_and_parse— Parse log files into Message objectsget_filters— Add pre-defined filters for common patternsextract_file_reference— Extract source file references from messagesget_grouping_fields— Add custom grouping dimensions (optional)
Add real log output to examples/sample.log to use in tests.
How Sawmill Finds Your Plugin
Sawmill discovers plugins via Python entry points. The entry point is
declared in pyproject.toml under [project.entry-points."sawmill.plugins"].
Running pip install -e . registers it. Confirm with sawmill --list-plugins.
Testing
make test
Tests are in tests/. The contract tests (test_plugin_contract.py)
validate plugin structure and pass immediately. The other tests will
start passing as you implement the plugin hooks.
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 sawmill_plugin_slang-0.1.2.tar.gz.
File metadata
- Download URL: sawmill_plugin_slang-0.1.2.tar.gz
- Upload date:
- Size: 20.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91cadea63b7f4fb110d62e43833a4aef2af571b392043d8f9571364ae328c32a
|
|
| MD5 |
07aefe0ceb78111364ecc0e3958d26cd
|
|
| BLAKE2b-256 |
55fa55de5af290336747b8fcf888cfce035e2320cd2614b9ff7773f329d93b63
|
Provenance
The following attestation bundles were made for sawmill_plugin_slang-0.1.2.tar.gz:
Publisher:
publish.yml on sjalloq/sawmill-plugin-slang
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sawmill_plugin_slang-0.1.2.tar.gz -
Subject digest:
91cadea63b7f4fb110d62e43833a4aef2af571b392043d8f9571364ae328c32a - Sigstore transparency entry: 1092564185
- Sigstore integration time:
-
Permalink:
sjalloq/sawmill-plugin-slang@179a5f5ab26d9c4383709b05602353a8008eba7c -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/sjalloq
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@179a5f5ab26d9c4383709b05602353a8008eba7c -
Trigger Event:
push
-
Statement type:
File details
Details for the file sawmill_plugin_slang-0.1.2-py3-none-any.whl.
File metadata
- Download URL: sawmill_plugin_slang-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
368f1973b053d02672ef0baf23185ec8ee8927067dd78c94a5a3061e76cc56cd
|
|
| MD5 |
0a4cafcc888e971c91b1b1186988de65
|
|
| BLAKE2b-256 |
a2f6ac6b15c7e37066162b5c6ebab1bc03344cfea46c36e9af233dc64d96ee03
|
Provenance
The following attestation bundles were made for sawmill_plugin_slang-0.1.2-py3-none-any.whl:
Publisher:
publish.yml on sjalloq/sawmill-plugin-slang
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sawmill_plugin_slang-0.1.2-py3-none-any.whl -
Subject digest:
368f1973b053d02672ef0baf23185ec8ee8927067dd78c94a5a3061e76cc56cd - Sigstore transparency entry: 1092564228
- Sigstore integration time:
-
Permalink:
sjalloq/sawmill-plugin-slang@179a5f5ab26d9c4383709b05602353a8008eba7c -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/sjalloq
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@179a5f5ab26d9c4383709b05602353a8008eba7c -
Trigger Event:
push
-
Statement type: