Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed inconsistent inclusion of padding files in tdef #8479

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

qstokkink
Copy link
Contributor

@qstokkink qstokkink commented Mar 7, 2025

Fixes #8366
Fixes #8468

This PR:

  • Fixes _get_all_files_as_unicode_with_length including padding files for v1 metainfo.

This is a tiny step toward leaning more on the torrent_info in the TorrentDef. Looking at it, we can probably replace _get_all_files_as_unicode_with_length with about three lines of code, if we lean on torrent_def fully. That's for a future PR though.

@qstokkink qstokkink force-pushed the fix_files_info_no_md branch from ecee858 to 771a363 Compare March 7, 2025 09:46
@qstokkink qstokkink changed the title WIP: Fixed inconsistent inclusion of padding files in tdef READY: Fixed inconsistent inclusion of padding files in tdef Mar 7, 2025
@qstokkink qstokkink marked this pull request as ready for review March 7, 2025 09:51
@qstokkink qstokkink changed the title READY: Fixed inconsistent inclusion of padding files in tdef Fixed inconsistent inclusion of padding files in tdef Mar 7, 2025
@qstokkink qstokkink merged commit 1d1e489 into Tribler:main Mar 7, 2025
7 checks passed
@qstokkink qstokkink deleted the fix_files_info_no_md branch March 7, 2025 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants