feat: modernize to Software Factory standards, add AppSec suite, and bump to v2.0.0
- Refactor tests to achieve 100% Zero-Mocks compliance (remove unittest.mock, add tests.helpers.env_override and stdlib redirects) - Extract testable parsing methods in package managers and inspector - Add tests/test_security.py with 5 negative AppSec test cases (Zip Slip, Root Gate, Tampering SHA-256, Secret Sanitization, and AST check for zero shell=True) - Expand is_sanitized_target to redact all private SSH/TLS keys (*.key, *.pem, id_*) - Split Gitea CI/CD pipelines into test-and-lint.yaml and build-and-release.yaml - Add .gitleaks.toml configuration - Formally close v1.0.0 genesis plan in docs/plans/linux-backuper/00-status.md as immutable ADR - Bump version to v2.0.0 across __init__.py, man page, tests, and documentation
This commit is contained in:
1 parent
3e5f2ab498
commit
4b3346fd74
22 files changed
+577
-203
No files matched your search
@@ -1,4 +1,8 @@
|
||||
# Status: linux-backuper
|
||||
# Status: linux-backuper — COMPLETED 2026-10-09
|
||||
|
||||
> [!NOTE]
|
||||
> **Immutable Architecture Decision Record (ADR):**
|
||||
> This genesis plan for v1.0.0 is complete and permanently closed. In accordance with Software Factory rules (1 Feature = 1 Folder & No-Delete Policy), all future feature enhancements, modules, and major changes MUST be developed in a new, dedicated folder under `docs/plans/<new-feature-slug>/` with an independent 4-gate workflow.
|
||||
|
||||
- Gate 1 — Spec & Product: APPROVED 2026-10-03
|
||||
- Gate 2 — Architecture: APPROVED 2026-10-03
|
||||
@@ -15,6 +19,16 @@
|
||||
- [x] Slice 7 — native packaging (.deb, .rpm, .tar.gz via pure Python builder)
|
||||
- [x] Slice 8 — full documentation (user, admin & developer guides), man page (Section 8), CLI -h/--help, shell tab completion (Bash/Zsh) & Gitea Actions CI/CD release workflow
|
||||
|
||||
## Verification Log
|
||||
### Release v1.0.0 (Genesis Plan Close-Out)
|
||||
- Release Tag & Date: `v1.0.0` (2026-10-09, commit `7972834`)
|
||||
- Test Suite: 58 unit tests passing across CLI, inspector, archiver, retention, transport, restore, diff, completions, packaging.
|
||||
- Packages Built & Published:
|
||||
- `dist/linux-backuper_1.0.0_all.deb` (Gitea Debian Registry)
|
||||
- `dist/linux-backuper-1.0.0-1.noarch.rpm` (Gitea RPM Registry)
|
||||
- `dist/linux-backuper-1.0.0.tar.gz` (Gitea Release Asset)
|
||||
- Quality Gates: Section 8 Man page verified, Bash/Zsh completion scripts generated, 0 external runtime dependencies.
|
||||
|
||||
## Notes for a fresh session
|
||||
- Project: Enterprise-grade Linux system snapshot and configuration backup utility.
|
||||
- Goal: Modern, robust rewrite of legacy `etsy_backup.sh` (from `bash-scripts`).
|
||||
|
||||
Reference in new issue
Block a user