feat: modernize to Software Factory standards, add AppSec suite, and bump to v2.0.0
Test, Lint and Security Gate / Security Scan and Quality Audits (push) Failing after 8s
Test, Lint and Security Gate / Unit & Security Tests (Coverage >= 80%) (push) Has been skipped
Build and Publish Release / Build Packages and Publish (push) Successful in 1m31s

- 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:
soda64 committed 2026-10-23 22:08:15 +02:00
1 parent 3e5f2ab498
commit 4b3346fd74
22 files changed
+577 -203

No files matched your search

+7 -7
View File
@@ -1,6 +1,6 @@
# Linux System Backuper (`linux-backuper`)
[![Release](https://img.shields.io/badge/release-v1.0.0-blue.svg)](https://gitea.wired.synology.me/soda64/linux-backuper/releases)
[![Release](https://img.shields.io/badge/release-v2.0.0-blue.svg)](https://gitea.wired.synology.me/soda64/linux-backuper/releases)
[![Python](https://img.shields.io/badge/python-3.6+-green.svg)](https://www.python.org/)
[![License](https://img.shields.io/badge/license-MIT-purple.svg)](LICENSE)
[![Zero-Dependencies](https://img.shields.io/badge/dependencies-zero%20pip%20deps-brightgreen.svg)](#architecture)
@@ -103,7 +103,7 @@ sudo apt install linux-backuper
Or install downloaded `.deb` package directly:
```bash
sudo dpkg -i linux-backuper_1.0.0_all.deb
sudo dpkg -i linux-backuper_2.0.0_all.deb
```
### RHEL / AlmaLinux / Fedora (`.rpm`)
@@ -123,15 +123,15 @@ sudo dnf install linux-backuper
Or install downloaded `.rpm` package directly:
```bash
sudo rpm -ivh linux-backuper-1.0.0-1.fc44.noarch.rpm
sudo rpm -ivh linux-backuper-2.0.0-1.fc44.noarch.rpm
```
### Universal Installer Script
Use the standalone POSIX-compliant installer provided with releases:
```bash
tar -xzf linux-backuper-1.0.0.tar.gz
cd linux-backuper-1.0.0
tar -xzf linux-backuper-2.0.0.tar.gz
cd linux-backuper-2.0.0
sudo ./packaging/install.sh --install
```
@@ -144,8 +144,8 @@ sudo ./packaging/install.sh --uninstall
Because `linux-backuper` is pure Python, you can run it directly without installation:
```bash
tar -xzf linux-backuper-1.0.0.tar.gz
python3 linux-backuper-1.0.0/bin/linux-backuper --version
tar -xzf linux-backuper-2.0.0.tar.gz
python3 linux-backuper-2.0.0/bin/linux-backuper --version
```
---