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

Dev #151

Merged
merged 11 commits into from
Sep 25, 2022
Merged

Dev #151

merged 11 commits into from
Sep 25, 2022

Conversation

alexpdev
Copy link
Owner

  • upgrades to the rebuild command
  • updated cli for rebuild command
  • added unittests for rebuild command
  • fixed bug with hashing v2 files with contents that are perfect powers of 2
  • other bug fixes

@codecov
Copy link

codecov bot commented Sep 25, 2022

Codecov Report

Merging #151 (07936bf) into master (f393d94) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            master      #151    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files           22        22            
  Lines         2505      2636   +131     
==========================================
+ Hits          2505      2636   +131     
Impacted Files Coverage Δ
torrentfile/edit.py 100.00% <ø> (ø)
tests/__init__.py 100.00% <100.00%> (ø)
tests/test_cli.py 100.00% <100.00%> (ø)
tests/test_commands.py 100.00% <100.00%> (ø)
tests/test_edit.py 100.00% <100.00%> (ø)
tests/test_interactive.py 100.00% <100.00%> (ø)
tests/test_rebuild.py 100.00% <100.00%> (ø)
tests/test_recheck.py 100.00% <100.00%> (ø)
tests/test_torrent.py 100.00% <100.00%> (ø)
tests/test_utils.py 100.00% <100.00%> (ø)
... and 10 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@alexpdev alexpdev linked an issue Sep 25, 2022 that may be closed by this pull request
@alexpdev alexpdev self-assigned this Sep 25, 2022
@alexpdev alexpdev merged commit c4cafbe into master Sep 25, 2022
@alexpdev alexpdev deleted the dev branch September 25, 2022 04:33
length = val["length"]
while length > 0:
diff = pl - len(partial)
if length > diff:
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixing linting complaints from pylint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug in version 2 meta files when contents size is perfect power of 2
1 participant