Skip to content

Commit e3a7b87

Browse files
authored
Merge pull request #130 from alexpdev/upgrade_to_0.7.9
Upgrade to 0.7.9
2 parents 78a70c9 + 4c62a3e commit e3a7b87

39 files changed

+8690
-22973
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ archive/
1111
temp/
1212
.benchmarks/
1313
runner/
14+
run.py
1415
# Byte-compiled / optimized / DLL files
1516
*.bin
1617
*.pyc
18+
keyboard*
1719
__pycache__/
1820
*.py[cod]
1921
codacy.py
@@ -38,7 +40,6 @@ testfile
3840
# Unit test / coverage reports
3941
output.json
4042
pytest_html_report.html
41-
4243
htmlcov/
4344
.tox/
4445
.coverage

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# TorrentFile
22

3+
## Version 0.7.9
4+
5+
- complete rewrite of the recheck procedures
6+
- Recheck now provides more accuracy and more details
7+
- improvements to the new custom progressbar
8+
- changed the cli argument for the progress bar
9+
- the options are now just 0 and 1
10+
- included new unit tests for all new features
11+
- marked unused functions as deprecated
12+
- added a new hasher object for v2 and hybrid torrents
13+
- minor bug fixes and styling changes
14+
15+
---------------------
16+
317
## Version 0.7.8
418

519
- more updates to logging

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ export RENAME_FILE
3030

3131
BROWSER := python -c "$$BROWSER_PYSCRIPT"
3232

33+
RENAME := python -c "$$RENAME_FILE"
34+
3335
help:
3436
@python -c "$$PRINT_HELP_PYSCRIPT" < $(MAKEFILE_LIST)
3537

@@ -87,4 +89,4 @@ release: clean test lint ## create executables for release
8789
mkdir ./dist/temp
8890
cp ./dist/torrentfile.exe ./dist/temp/
8991
7z a ./dist/temp.zip ./dist/temp
90-
python -c $$RENAME_FILE
92+
@python -c "$$RENAME_FILE"

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# TorrentFile
22

3-
![torrentfile](https://github.com/alexpdev/torrentfile/blob/master/assets/torrentfile.png?raw=true)
3+
![torrentfile](https://github.com/alexpdev/torrentfile/blob/master/site/images/torrentfile.png?raw=true)
44

55
------
66

@@ -78,10 +78,12 @@ Commands
7878

7979
Distributed under Apache v2 software license. See `LICENSE` for more information.
8080

81-
## 💡 Issues & Requests
81+
## 💡 Issues & Requests & PRs
8282

8383
If you encounter any bugs or would like to request a new feature please open a new issue.
8484

85+
> PRs and other contributions are welcome
86+
8587
[https://github.com/alexpdev/torrentfile/issues](https://github.com/alexpdev/torrentfile/issues)
8688

8789
------
@@ -113,11 +115,10 @@ If you encounter any bugs or would like to request a new feature please open a n
113115
> torrentfile create --private --source EXAMPLE --tracker https://url1 https://url2
114116
```
115117

116-
The 3 options for controlling the progress bar using `--prog` or `--progress`:
118+
The options for controlling the progress bar using `--prog` or `--progress`:
117119

118120
- 0 : show no progress bar at all
119-
- 1 : show 1 progress bar measuring the entire creation process
120-
- 2 : show a progress bar for each file of the torrent content
121+
- 1 : show progress bar (default)
121122

122123
```bash
123124
> torrentfile -t http://tracker.com --progress 2 /path/to/content

assets/TorrentFileBasicUsage.gif

52.8 KB
Loading

assets/torrentfile.ico

-65.7 KB
Binary file not shown.

docs/404.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
<link rel="icon" href="/torrentfile/images/favicon.ico">
14-
<meta name="generator" content="mkdocs-1.2.3, mkdocs-material-8.2.1">
14+
<meta name="generator" content="mkdocs-1.3.0, mkdocs-material-8.2.1">
1515

1616

1717

@@ -141,7 +141,7 @@
141141

142142

143143
<div class="md-header__source">
144-
<a href="https://github.com/alexpdev/torrentfile/" title="Go to repository" class="md-source" data-md-component="source">
144+
<a href="https://github.com/alexpdev/torrentfile" title="Go to repository" class="md-source" data-md-component="source">
145145
<div class="md-source__icon md-icon">
146146

147147
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 6.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc.--><path d="M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg>
@@ -185,7 +185,7 @@
185185
</label>
186186

187187
<div class="md-nav__source">
188-
<a href="https://github.com/alexpdev/torrentfile/" title="Go to repository" class="md-source" data-md-component="source">
188+
<a href="https://github.com/alexpdev/torrentfile" title="Go to repository" class="md-source" data-md-component="source">
189189
<div class="md-source__icon md-icon">
190190

191191
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 6.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc.--><path d="M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg>
@@ -222,7 +222,7 @@
222222

223223
<li class="md-nav__item">
224224
<a href="/torrentfile/Commands/" class="md-nav__link">
225-
Help Messages
225+
Help
226226
</a>
227227
</li>
228228

@@ -237,7 +237,7 @@
237237

238238
<li class="md-nav__item">
239239
<a href="/torrentfile/man/" class="md-nav__link">
240-
Man Page
240+
Details
241241
</a>
242242
</li>
243243

@@ -282,7 +282,7 @@
282282

283283
<li class="md-nav__item">
284284
<a href="/torrentfile/source/" class="md-nav__link">
285-
Source Code
285+
API
286286
</a>
287287
</li>
288288

@@ -333,7 +333,7 @@ <h1>404 - Not found</h1>
333333
<div class="md-dialog" data-md-component="dialog">
334334
<div class="md-dialog__inner md-typeset"></div>
335335
</div>
336-
<script id="__config" type="application/json">{"base": "/torrentfile/", "features": [], "translations": {"clipboard.copy": "Copy to clipboard", "clipboard.copied": "Copied to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.placeholder": "Type to start searching", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.term.missing": "Missing", "select.version.title": "Select version"}, "search": "/torrentfile/assets/javascripts/workers/search.bd0b6b67.min.js"}</script>
336+
<script id="__config" type="application/json">{"base": "/torrentfile/", "features": [], "search": "/torrentfile/assets/javascripts/workers/search.bd0b6b67.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version.title": "Select version"}}</script>
337337

338338

339339
<script src="/torrentfile/assets/javascripts/bundle.8aa65030.min.js"></script>

docs/Apache2/index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<link rel="canonical" href="https://alexpdev.github.io/torrentfile/Apache2/">
1414

1515
<link rel="icon" href="../images/favicon.ico">
16-
<meta name="generator" content="mkdocs-1.2.3, mkdocs-material-8.2.1">
16+
<meta name="generator" content="mkdocs-1.3.0, mkdocs-material-8.2.1">
1717

1818

1919

@@ -148,7 +148,7 @@
148148

149149

150150
<div class="md-header__source">
151-
<a href="https://github.com/alexpdev/torrentfile/" title="Go to repository" class="md-source" data-md-component="source">
151+
<a href="https://github.com/alexpdev/torrentfile" title="Go to repository" class="md-source" data-md-component="source">
152152
<div class="md-source__icon md-icon">
153153

154154
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 6.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc.--><path d="M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg>
@@ -192,7 +192,7 @@
192192
</label>
193193

194194
<div class="md-nav__source">
195-
<a href="https://github.com/alexpdev/torrentfile/" title="Go to repository" class="md-source" data-md-component="source">
195+
<a href="https://github.com/alexpdev/torrentfile" title="Go to repository" class="md-source" data-md-component="source">
196196
<div class="md-source__icon md-icon">
197197

198198
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 6.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc.--><path d="M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg>
@@ -229,7 +229,7 @@
229229

230230
<li class="md-nav__item">
231231
<a href="../Commands/" class="md-nav__link">
232-
Help Messages
232+
Help
233233
</a>
234234
</li>
235235

@@ -244,7 +244,7 @@
244244

245245
<li class="md-nav__item">
246246
<a href="../man/" class="md-nav__link">
247-
Man Page
247+
Details
248248
</a>
249249
</li>
250250

@@ -406,7 +406,7 @@
406406

407407
<li class="md-nav__item">
408408
<a href="../source/" class="md-nav__link">
409-
Source Code
409+
API
410410
</a>
411411
</li>
412412

@@ -729,13 +729,13 @@ <h3 id="appendix-how-to-apply-the-apache-license-to-your-work">APPENDIX: How to
729729

730730

731731

732-
<a href="../source/" class="md-footer__link md-footer__link--next" aria-label="Next: Source Code" rel="next">
732+
<a href="../source/" class="md-footer__link md-footer__link--next" aria-label="Next: API" rel="next">
733733
<div class="md-footer__title">
734734
<div class="md-ellipsis">
735735
<span class="md-footer__direction">
736736
Next
737737
</span>
738-
Source Code
738+
API
739739
</div>
740740
</div>
741741
<div class="md-footer__button md-icon">
@@ -769,7 +769,7 @@ <h3 id="appendix-how-to-apply-the-apache-license-to-your-work">APPENDIX: How to
769769
<div class="md-dialog" data-md-component="dialog">
770770
<div class="md-dialog__inner md-typeset"></div>
771771
</div>
772-
<script id="__config" type="application/json">{"base": "..", "features": [], "translations": {"clipboard.copy": "Copy to clipboard", "clipboard.copied": "Copied to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.placeholder": "Type to start searching", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.term.missing": "Missing", "select.version.title": "Select version"}, "search": "../assets/javascripts/workers/search.bd0b6b67.min.js"}</script>
772+
<script id="__config" type="application/json">{"base": "..", "features": [], "search": "../assets/javascripts/workers/search.bd0b6b67.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.placeholder": "Search", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version.title": "Select version"}}</script>
773773

774774

775775
<script src="../assets/javascripts/bundle.8aa65030.min.js"></script>

0 commit comments

Comments
 (0)