refactor(drivers): organize backup modules into drivers subfolder
lint / docker (push) Has been cancelled

- Move all backup_*.py files to libtisbackup/drivers/ subdirectory
- Move XenAPI.py and copy_vm_xcp.py to drivers/ (driver-specific)
- Create drivers/__init__.py with automatic driver imports
- Update tisbackup.py imports to use new structure
- Add pyvmomi>=8.0.0 as mandatory dependency
- Sync requirements.txt with pyproject.toml dependencies
- Add pylint>=3.0.0 and pytest-cov>=6.0.0 to dev dependencies
- Configure pylint and coverage tools in pyproject.toml
- Add conventional commits guidelines to CLAUDE.md
- Enhance .gitignore with comprehensive patterns for Python, IDEs, testing, and secrets
- Update CLAUDE.md documentation with new structure and tooling

Breaking Changes:
- Drivers must now be imported from libtisbackup.drivers instead of libtisbackup
- All backup driver files relocated to drivers/ subdirectory

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-05 23:54:26 +02:00
co-authored by Claude
parent 38a0d788d4
commit 1cb731cbdb
33 changed files with 2519 additions and 634 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ from flask import Flask, Response, abort, appcontext_pushed, flash, g, jsonify,
from iniparse import ConfigParser, RawConfigParser
from config import huey
from libtisbackup.common import *
from libtisbackup import *
from libtisbackup.auth import get_auth_provider
from tasks import get_task, run_export_backup, set_task
from tisbackup import tis_backup