feat: standards, shared CI and release tooling for NAPALM drivers
STANDARDS.md binds every repository in the NAPALM org: one default branch, Conventional Commits, the device-types contract, test-driven development, clean-code limits, a quality ratchet for existing code, packaging rules and releases by tag to PyPI. napalm-standard holds what a tool can check: the conformance check (with release rules on a tag), the quality ratchet (ported from netOrk's quality_ratchet.py), and the Gitea release from the CHANGELOG section. .gitea/workflows/driver.yml is the CI every driver calls; template/ is a new driver's starting point and passes the check as it is.
This commit is contained in:
commit
db6b2e4ea7
37 files changed
+2894
No files matched your search
@@ -0,0 +1,19 @@
|
||||
# Changelog
|
||||
|
||||
The format follows [Keep a Changelog](https://keepachangelog.com/), versions follow
|
||||
[Semantic Versioning](https://semver.org/).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.1.0] - 2026-10-22
|
||||
|
||||
### Added
|
||||
- STANDARDS.md: repository usage, the device-types contract, TDD, clean code, the
|
||||
quality ratchet, packaging, versions and releases.
|
||||
- `napalm-standard check`: the conformance check, with release rules on a tag.
|
||||
- `napalm-standard ratchet`: function length, complexity, file size, annotations,
|
||||
strict-mypy exemptions and the coverage floor against `tests/quality_baseline.json`.
|
||||
- `napalm-standard notes` and `release`: the CHANGELOG section of a version, and the
|
||||
Gitea release made from it.
|
||||
- The shared driver workflow `.gitea/workflows/driver.yml`, publishing to PyPI on a tag.
|
||||
- A template for new drivers.
|
||||
Reference in new issue
Block a user