Commit Graph

10 Commits

Author SHA1 Message Date
Tomas Dvorak cbf646e25b Fix CI/CD pipeline and code quality issues
## Major Changes
- Fixed all TypeScript errors in web client for successful compilation
- Resolved 82+ Python lint errors across backend services
- Updated Flutter SDK compatibility for mobile app
- Fixed security workflow configuration

## Web Client Fixes
- Fixed import path in DragonflyDashboard.vue (dragonflyApi import)
- All TypeScript compilation now passes without errors

## Backend Lint Fixes
- Updated type annotations to modern Python syntax (dict instead of Dict, X | None instead of Optional[X])
- Replaced try-except-pass with contextlib.suppress(Exception)
- Removed unused imports (Dict, Optional, Any, Iterator, etc.)
- Fixed bare except clauses to use Exception
- Sorted and formatted imports with ruff
- Applied ruff format to 27 files

## Workflow Fixes
- Updated Flutter SDK constraint from ^3.10.4 to ^3.5.0 (compatible with Flutter 3.24.0)
- Changed pip-audit format from github to json in security.yml
- Added comprehensive CI workflows (readiness-gate.yml, security.yml)

## Infrastructure
- Added DragonflyDB caching system integration
- Enhanced Docker configuration with multi-stage builds
- Added pytest configuration and test infrastructure
- Improved production readiness with proper error handling

## Verification
- backend-lint job:  Succeeded
- web job:  Succeeded
- Ready for GitHub deployment

All CI/CD issues resolved. Codebase now passes all quality checks.
2026-03-21 10:01:14 +01:00
Tomas Dvorak 38f1981283 Move backend files to root level for cleaner GitHub display
- Move all backend files from swingmusic/ to root level
- Backend files now display directly on GitHub repository page
- Keep client applications as submodules (swingmusic-android, swingmusic-desktop, swingmusic-webclient)
- Update README to reflect new structure (no cd swingmusic needed)
- Cleaner, more professional GitHub repository layout

Files moved to root:
- src/ (main source code)
- pyproject.toml, requirements.txt, run.py
- swingmusic.spec, uv.lock, version.txt
- services/

Result: GitHub shows backend files directly while maintaining organized structure
2026-03-17 22:37:49 +01:00
Tomas Dvorak 4c04287800 Reorganize repository structure for better organization
- Move backend code to swingmusic/ folder
- Move client applications to root level (swingmusic-android, swingmusic-desktop, swingmusic-webclient)
- Remove intermediate backend/ and clients/ folders
- Update README with new folder structure and setup instructions
- Clean and organized repository layout
2026-03-17 22:34:34 +01:00
Mungai Njoroge 65a1268dab Add 'Martha Reeves and the Vandellas' to default artist split ignore list 2026-01-19 16:09:43 +03:00
Mungai Njoroge 52ce88d58d update default artist split ignore list 2026-01-19 16:06:39 +03:00
Mungai Njoroge 59c03ac99d add "Sonny & Cher" to default artist ignore list 2026-01-19 15:57:53 +03:00
wanji 0664bb1790 add Yusuf / Cat Stevens to split ignore list 2026-01-03 13:42:57 +03:00
wanji 27a572bc9a update artist split ignore list 2026-01-02 11:16:23 +03:00
Mungai Njoroge 3e3e88a521 Add new artists to the split ignore list 2026-01-02 10:43:59 +03:00
wanji 32420f8dfe fix: importlib import bugs :sigh! 2025-12-08 00:31:53 +03:00