Commit Graph

363 Commits

Author SHA1 Message Date
pacnpal
eccfe99753 fix(ffmpeg): add fallback to absolute imports in verification_manager.py 2024-11-17 22:41:35 +00:00
pacnpal
b98ea87891 fix(ffmpeg): add fallback to absolute imports in ffmpeg_manager.py 2024-11-17 22:37:50 +00:00
pacnpal
eb518dc8d5 fix(ffmpeg): add fallback to absolute imports in ffmpeg_downloader.py 2024-11-17 22:36:09 +00:00
pacnpal
2a619c3b45 ok 2024-11-17 22:26:11 +00:00
pacnpal
1eb3b2e188 Delete cline_docs directory 2024-11-17 17:25:05 -05:00
pacnpal
c447c784ee .gitignore 2024-11-17 22:24:38 +00:00
pacnpal
d80815e9fb fix(ffmpeg): add fallback to absolute imports in binary_manager.py 2024-11-17 22:24:09 +00:00
pacnpal
b9fbb1925f fix(ffmpeg): add fallback to absolute imports in __init__.py 2024-11-17 22:23:25 +00:00
pacnpal
53f071c338 fix(core): add fallback to absolute imports in __init__.py 2024-11-17 22:22:25 +00:00
pacnpal
1a4f56ad90 fix(database): add fallback to absolute imports in __init__.py 2024-11-17 22:21:59 +00:00
pacnpal
e52f088396 fix(database): add fallback to absolute imports in video_archive_db.py 2024-11-17 22:20:36 +00:00
pacnpal
2b0e49b5b0 fix(database): add fallback to absolute imports in schema_manager.py 2024-11-17 22:19:56 +00:00
pacnpal
9d8b83ce78 fix(database): add fallback to absolute imports in connection_manager.py 2024-11-17 22:19:03 +00:00
pacnpal
288c940102 docs: update active context with init files and module organization 2024-11-17 22:18:33 +00:00
pacnpal
bd729c2bfc fix(core): add fallback to absolute imports in settings.py 2024-11-17 22:17:10 +00:00
pacnpal
0afb28d492 fix(core): add fallback to absolute imports in response_handler.py 2024-11-17 22:16:33 +00:00
pacnpal
ddaab828fa fix(core): add fallback to absolute imports in lifecycle.py 2024-11-17 22:14:23 +00:00
pacnpal
ba6eb11e81 fix(core): add fallback to absolute imports in initialization.py 2024-11-17 22:13:51 +00:00
pacnpal
e01d89bd94 fix(core): add fallback to absolute imports in guild.py 2024-11-17 22:13:11 +00:00
pacnpal
7a11a88143 fix(core): add fallback to absolute imports in events.py 2024-11-17 22:12:27 +00:00
pacnpal
fe4353ec96 fix(core): add fallback to absolute imports in error_handler.py 2024-11-17 22:11:48 +00:00
pacnpal
6c7f7fd5ad fix(core): add fallback to absolute imports in commands.py 2024-11-17 22:11:11 +00:00
pacnpal
26f173ce72 fix(core): add fallback to absolute imports in cleanup.py 2024-11-17 22:10:44 +00:00
pacnpal
c0c70f346e fix(core): add fallback to absolute imports in base.py 2024-11-17 22:10:12 +00:00
pacnpal
6cba32c6b3 standardized 2024-11-17 22:09:41 +00:00
pacnpal
d80334b2b0 docs: update system patterns with standardized import patterns 2024-11-17 22:09:09 +00:00
pacnpal
e0f5ad1de9 docs: update active context with comprehensive import task plan 2024-11-17 22:08:36 +00:00
pacnpal
a92c1617f9 docs: update active context with cleanup_manager import fix 2024-11-17 22:06:40 +00:00
pacnpal
1c1efff0cf fix(processor): add fallback to absolute imports in cleanup_manager 2024-11-17 22:06:16 +00:00
pacnpal
16194c205d docs: update active context with queue_handler import fix 2024-11-17 22:04:28 +00:00
pacnpal
13c0cbd9d8 fix(processor): add fallback to absolute imports in queue_handler 2024-11-17 22:03:55 +00:00
pacnpal
86d2eeb13a docs: update active context with message_handler import fix 2024-11-17 21:59:10 +00:00
pacnpal
1ddc4002fa fix(processor): add fallback to absolute imports in message_handler 2024-11-17 21:58:25 +00:00
pacnpal
23f75858fd docs: update active context with queue_processor import fix 2024-11-17 21:56:49 +00:00
pacnpal
ca5571750f fix(processor): add fallback to absolute imports in queue_processor 2024-11-17 21:56:25 +00:00
pacnpal
52d3bbbe37 docs: update context files with import patterns and recent changes 2024-11-17 21:55:27 +00:00
pacnpal
d1b5e4156a fix(core): simplify relative import in core/__init__.py 2024-11-17 21:53:23 +00:00
pacnpal
3fed7a7a6c fix(core): add fallback to absolute imports in component_manager 2024-11-17 21:52:53 +00:00
pacnpal
91e34a6639 fix(processor): correct relative import path for progress_tracker 2024-11-17 21:47:26 +00:00
pacnpal
b26dedd5b1 docs: verify and document clean dependency structure
- Verify no cyclic dependencies in processor components
- Document dependency management strategies in systemPatterns.md
- Update activeContext.md with current verification status
- Confirm proper use of TYPE_CHECKING and late initialization
2024-11-17 21:44:41 +00:00
pacnpal
e8b50573a3 docs: update active context with dependency analysis results
- Confirm no cyclic dependencies exist
- Document current dependency structure
- Update architecture status
- Add next steps for maintenance
2024-11-17 21:42:47 +00:00
pacnpal
d9fc0f360f Identified cyclic dependency between processor and utils packages
Created new shared package with centralized progress tracking:

videoarchiver/shared/progress.py
videoarchiver/shared/init.py
Refactored compression_manager.py to use shared progress module instead of importing from processor

Architecture improvements:

Better separation of concerns
Eliminated cyclic dependencies
Centralized progress tracking
Improved maintainability
2024-11-17 21:40:50 +00:00
pacnpal
e8e5e5804d more fixes 2024-11-17 21:37:06 +00:00
pacnpal
b8f29341ce fixes 2024-11-17 21:33:12 +00:00
pacnpal
439cf5ff07 Using TYPE_CHECKING for type hints
Moving runtime imports to appropriate locations
Using string literal type annotations
Importing shared utilities through the utils package
2024-11-17 21:24:49 +00:00
pacnpal
e997c6f6b9 Created a proper dependency hierarchy:
core/types.py - Contains shared interfaces and types
queue/types.py - Contains queue-specific types
Components now depend on interfaces rather than concrete implementations
Broke cyclic dependencies:

Removed direct imports between queue_processor.py and manager.py
Removed circular dependencies between core and processor modules
Components now communicate through well-defined interfaces
Improved architecture:

Clear separation of concerns
Better dependency management
More maintainable and testable code
Proper use of dependency injection
2024-11-17 21:11:00 +00:00
pacnpal
063258513e Creating a shared types module (types.py) for common types and interfaces
Updating queue_processor.py to use the shared types
Updating manager.py to use the correct imports and shared types
The cyclic dependency has been resolved by:

Moving shared types to a separate module
Having queue_processor.py only import from shared modules
Having manager.py use the QueueProcessor from queue/processor.py
2024-11-17 20:58:14 +00:00
pacnpal
aa61c738a2 fixed more imports 2024-11-17 20:46:22 +00:00
pacnpal
4fc2afc446 fixed some more imports 2024-11-17 20:43:55 +00:00
pacnpal
ad8a4e3dbe import fix 2024-11-17 20:39:12 +00:00