mirror of
https://github.com/Glitchy-Sheep/boosty-downloader.git
synced 2026-10-14 21:33:23 +00:00
[PR #166] [MERGED] [cleanup] Flatten the pseudo-src layout #168
Labels
No labels
api-drift
bug
ci
documentation
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Glitchy-Sheep/boosty-downloader#168
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Glitchy-Sheep/boosty-downloader/pull/166
Author: @Glitchy-Sheep
Created: 8/20/2026
Status: ✅ Merged
Merged: 8/20/2026
Merged by: @Glitchy-Sheep
Base:
main← Head:chore/flatten-src📝 Commits (1)
8dafd39chore: Flatten the pseudo-src layout📊 Changes
136 files changed (+295 additions, -296 deletions)
View changed files
📝
boosty_downloader/application/__init__.py(+0 -0)📝
boosty_downloader/application/di/__init__.py(+0 -0)📝
boosty_downloader/application/di/app_environment.py(+5 -5)📝
boosty_downloader/application/di/download_context.py(+5 -5)📝
boosty_downloader/application/di/initialized_app.py(+5 -5)📝
boosty_downloader/application/exceptions/__init__.py(+0 -0)📝
boosty_downloader/application/exceptions/application_errors.py(+0 -0)📝
boosty_downloader/application/failure_streak.py(+0 -0)📝
boosty_downloader/application/filtering.py(+1 -1)📝
boosty_downloader/application/mappers/__init__.py(+0 -0)📝
boosty_downloader/application/mappers/audio.py(+2 -2)📝
boosty_downloader/application/mappers/external_video.py(+2 -2)📝
boosty_downloader/application/mappers/file.py(+2 -2)📝
boosty_downloader/application/mappers/html_converter.py(+2 -2)📝
boosty_downloader/application/mappers/image.py(+2 -2)📝
boosty_downloader/application/mappers/link_header_text.py(+2 -2)📝
boosty_downloader/application/mappers/list.py(+4 -4)📝
boosty_downloader/application/mappers/ok_boosty_video.py(+4 -4)📝
boosty_downloader/application/mappers/post_mapper.py(+8 -8)📝
boosty_downloader/application/ok_video_ranking.py(+1 -1)...and 80 more files
📄 Description
[cleanup] Flatten the pseudo-src layout
Summary
Final cleanup PR (audit этап 2).
boosty_downloader/src/{application,cli,domain,infrastructure}moves up toboosty_downloader/*. The diff is large (136 files) but almost entirely mechanical renames: +295/-296 lines.Why
src/segment looked like a real src-layout but was not one: it sat inside the package and gave zero import isolation - a false signal to anyone reading the repo.src.segment; module paths now read as architecture:boosty_downloader.application.use_casesWhat changed
git mvof the four layer directories; the emptysrc/__init__.pydropped (some pairs show as add+delete instead of rename - those are empty__init__.pyfiles, content identical)boosty_downloader.src.reference in tracked files - including the plain-string JinjaPackageLoaderpath inrenderer.pythat an import-only regex would have missed, failing only at render timedocs/development/README.md); configs, CI and packaging reference only the top package and needed no changesVerification
task check+task testgreen: 174 passed + 1 xfail (the e2e runs the full download pipeline against a local server on the flattened package)task build: wheel carries all 7 Jinja templates (CI now asserts this); clean-venv install ->--versionworks, rendering through the installed flat package worksci/skip-changelog)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.