1
0
mirror of https://github.com/darkzoul5/YoutubePlaylistSync.git synced 2026-07-03 04:23:59 +03:00
Commit Graph

167 Commits

Author SHA1 Message Date
dark_zoul b5ee8dbf3b Refactor test configurations and enhance testing framework
- Replace TempConfig with DummyConfig across tests for consistency
- Introduce unit tests workflow configuration
- Add pytest configuration for standardized test discovery
- Implement comprehensive tests for config loading and downloader behavior
- Clean up unused temp_config.py and related references
2025-11-24 11:21:32 +02:00
dark_zoul 21ba87c501 Refactor integration workflow and enhance debugging output in tests 2025-10-25 21:49:38 +03:00
dark_zoul 681291c79e Enhance integration tests to ensure yt-dlp binary is executable and handle non-executable files in CI bundles 2025-10-25 21:31:59 +03:00
dark_zoul 5c9d0b3255 Refactor code structure for improved readability and maintainability 2025-10-25 21:27:16 +03:00
dark_zoul 9c241a45ec Add support for local executables in integration tests 2025-10-25 21:22:02 +03:00
dark_zoul d2127b2b2c Refactor code structure for improved readability and maintainability 2025-10-25 21:17:36 +03:00
dark_zoul 3d8a634241 Refactor integration workflow to simplify the naming of the step for downloading release binaries 2025-10-25 20:48:41 +03:00
dark_zoul b88c23a476 Enhance integration workflow to download latest release binaries for yt-dlp, aria2, and ffmpeg, falling back to apt packages if necessary 2025-10-25 20:47:09 +03:00
dark_zoul 961e43c43b Update integration workflow to ensure yt-dlp is installed/upgraded in the virtual environment before running tests 2025-10-25 20:39:06 +03:00
dark_zoul 058c1b9fd0 Refactor integration workflow to ensure virtual environment support during package installation 2025-10-25 20:35:00 +03:00
dark_zoul 75c8993bb4 Update integration workflow to support 'Next' branch and enhance import robustness in tests 2025-10-25 20:29:27 +03:00
dark_zoul 07c4533cba Update integration workflow to include yt-dlp installation and simplify test execution 2025-10-25 20:02:08 +03:00
dark_zoul 7b704a1e21 fixes to integration workflow 2025-10-25 19:54:50 +03:00
dark_zoul 6631a4bd40 Merge branch 'Next' of https://git.darkzoul.org/dark_zoul/YouTube-Playlist-Downloader into Next 2025-10-25 19:40:28 +03:00
dark_zoul 3bff5dda49 Add full integration workflow test for audio/video downloads 2025-10-25 19:40:26 +03:00
dark_zoul fd3af146ae Update README.md 2025-10-22 14:46:30 +03:00
dark_zoul 15414c56fa Update README.md to clarify CLI flags and environment variable usage 2025-10-22 14:45:30 +03:00
dark_zoul 05355f54fc Add CLI flags and env vars docker documentation and clean up entrypoint script comments 2025-10-22 14:39:50 +03:00
dark_zoul 5eae107475 Refactor Dockerfile and entrypoint script for improved configuration handling and streamline image setup 2025-10-22 13:30:17 +03:00
dark_zoul 9f8a0e8449 Expand .dockerignore to include additional files and directories 2025-10-22 13:15:39 +03:00
dark_zoul aff5dda8e5 Update version in pyproject.toml to v1.1.4 and remove requirements-dev.txt 2025-10-22 13:13:05 +03:00
dark_zoul bf211fc176 Update project URL in pyproject.toml to point to the correct repository 2025-10-21 23:15:21 +03:00
dark_zoul 5acafcadb3 Refactor integration test setup and add pyproject.toml for project configuration 2025-10-21 23:10:52 +03:00
dark_zoul 4eff4a5536 Refactor test configuration and streamline test_cli_flags.py 2025-10-21 22:58:03 +03:00
dark_zoul 7dfa83565c Add integration test for PlaylistDownloader and update test_cli_flags 2025-10-21 22:54:23 +03:00
dark_zoul 98afb8c74e Add test script for PlaylistManager with prune and non-interactive modes 2025-10-21 22:24:49 +03:00
dark_zoul 599a0751b9 Add pruning option to PlaylistDownloader and update CLI arguments 2025-10-21 22:06:55 +03:00
dark_zoul e1ec65094f Implement non-interactive mode for PlaylistDownloader to support CI automation 2025-10-21 21:45:23 +03:00
dark_zoul 1402af52d6 Introduce Logging and argparse libs 2025-10-21 21:41:03 +03:00
dark_zoul b64e39a95f Update build-docker-image job dependencies to include release 2025-10-19 22:51:37 +03:00
dark_zoul fc72bc161c Remove build-docker-image dependency from release job 2025-10-19 21:02:35 +03:00
dark_zoul 6a0c5bd120 Refactor Docker image build process: streamline steps by removing tar save/load and directly pushing images to the registry 2025-10-19 21:01:56 +03:00
dark_zoul eb7c059155 Add configuration and ytplaylist directory to Windows and Linux package distributions 2025-10-19 20:40:54 +03:00
dark_zoul f47eccbb07 Update Dockerfile to use ytplaylist.cli as entry point and clean up yt-playlist-main.py 2025-10-19 19:09:27 +03:00
dark_zoul 41359edc51 Refactor YouTube Playlist Downloader
- Moved main execution logic to cli.py and updated imports accordingly.
- Created a new __init__.py file to export the main function from the cli module.
- Implemented the PlaylistDownloader class in downloader.py to handle playlist downloading logic.
- Added ConfigLoader class in config.py to manage configuration settings.
- Introduced PlaylistManager class in manager.py to manage multiple playlists.
- Updated encoding handling for Windows in the main execution block.
- Removed redundant code and improved overall structure for better readability and maintainability.
2025-10-19 17:50:14 +03:00
dark_zoul f41e82e17a Remove unused playlist identifier assignment in PlaylistDownloader 2025-10-19 13:43:45 +03:00
dark_zoul 1223335370 Apply Black code formatting and improve readability: standardize whitespace and line breaks 2025-10-19 13:43:23 +03:00
dark_zoul f2a4bcbbe1 Remove requirements.txt and create requirements-dev.txt for development dependencies 2025-10-19 00:06:24 +03:00
dark_zoul 9f0c44c1a3 Added:
- requirements.txt
- compose.yaml
- config example
- changed gitignore to not ignore /config
2025-10-18 23:57:16 +03:00
dark_zoul b345c16c23 Remove Docker image build workflow: delete build-docker-image.yml(redundant) 2025-10-18 23:29:56 +03:00
dark_zoul 6f6d0ecf85 Fix Docker image artifact handling: standardize tar file naming and paths 2025-10-17 11:31:32 +03:00
dark_zoul 1e710f7ea7 Refactor Docker image handling: save and upload images with distinct tags, update artifact paths 2025-10-17 11:23:13 +03:00
dark_zoul 099d4d9740 Fix release workflow: add checkout step to build docker image as latest 2025-10-16 23:07:21 +03:00
dark_zoul 68cf583d5c Fix Docker image loading step: update path to the tar file for correct loading 2025-10-16 23:00:49 +03:00
dark_zoul 946e8d3d99 Fix Docker image loading step: update path to the tar file for correct loading 2025-10-16 22:54:56 +03:00
dark_zoul 3c8b5aad0b add Docker image artifact upload step 2025-10-16 22:36:46 +03:00
dark_zoul 341f7a7eae Fix Docker image save and load steps: update image reference and correct step naming 2025-10-16 22:27:24 +03:00
dark_zoul 85f3ea528e Fix Docker image build workflow: add missing checkout step for consistency 2025-10-16 22:18:03 +03:00
dark_zoul 637989eb9f Refactor Docker image build workflow: add dependency on build-linux-package and update artifact naming for clarity 2025-10-16 22:08:54 +03:00
dark_zoul 0197d2303e Fix artifact download and extraction steps to correctly reference the TAG variable 2025-10-16 22:05:58 +03:00