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

Bump Version 0.3.0 #66

Merged
merged 1 commit into from
Mar 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .markdownlint.json

This file was deleted.

2 changes: 1 addition & 1 deletion .prospector.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
strictness: high
autodetect: true
autodetect: false
doc-warnings: true
test-warnings: true
member-warnings: true
Expand Down
20 changes: 13 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
# TorrentFileQt

## Version 0.2.0
## Version 0.3.0

- Added more fields the to "Edit" tab.
- Added Drag and Drop for all tabs that only deal with torrent files.
- Minor changes to GUI style look
- Added support for creating magnet links
- Improvements and Additions to unit testing suite.
- Support for torrentfile version 0.7.0
- improved updated Icons and readme information.
- other bug fixes.

----------

### Fixed
## Version 0.2.0

- Bug Fixes
- lots of bug fixes
- upgraded support to newest torrentfile version 0.5.0

### Added

- pre-compiled executables for window.
- Check Tab for re-checking torrent download completion
- docstrings
Expand All @@ -19,8 +27,6 @@

## Version 0.1.0

### Added

- GUI front end to TorrentFile CLI
- Unit testing framework
- Initial code commits
Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,15 @@ coverage: ## run coverage on project
bash codacy.sh report -r coverage.xml

test: ## run tests quickly with the default Python
pip install --upgrade --force-reinstall --no-cache -rrequirements.txt
pytest tests --cov=torrentfileQt --cov=tests

push: clean lint coverage ## push changes to remote
push: clean lint coverage test ## push changes to remote
git add .
git commit -m "$m"
git push

release: clean test ## release to pypi
release: clean test lint ## release to pypi
python setup.py sdist bdist_wheel bdist_egg
twine upload dist/*

Expand Down
Binary file removed assets/icons/down-arrow16.png
Binary file not shown.
Binary file removed assets/icons/favicon.png
Binary file not shown.
Binary file removed assets/torrentfile.png
Binary file not shown.
15 changes: 9 additions & 6 deletions coverage.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<coverage version="6.3.2" timestamp="1648616526971" lines-valid="1970" lines-covered="1969" line-rate="0.9995" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
<coverage version="6.3.2" timestamp="1648619881940" lines-valid="1973" lines-covered="1973" line-rate="1" branches-covered="0" branches-valid="0" branch-rate="0" complexity="0">
<!-- Generated by coverage.py: https://coverage.readthedocs.io -->
<!-- Based on https://raw.githubusercontent.com/cobertura/web/master/htdocs/xml/coverage-04.dtd -->
<sources>
Expand Down Expand Up @@ -703,17 +703,20 @@
</class>
</classes>
</package>
<package name="torrentfileQt" line-rate="0.9992" branch-rate="0" complexity="0">
<package name="torrentfileQt" line-rate="1" branch-rate="0" complexity="0">
<classes>
<class name="__init__.py" filename="torrentfileQt/__init__.py" complexity="0" line-rate="1" branch-rate="0">
<methods/>
<lines>
<line number="19" hits="1"/>
<line number="21" hits="1"/>
<line number="23" hits="1"/>
<line number="24" hits="1"/>
<line number="25" hits="1"/>
<line number="26" hits="1"/>
<line number="27" hits="1"/>
<line number="29" hits="1"/>
<line number="30" hits="1"/>
<line number="32" hits="1"/>
<line number="33" hits="1"/>
</lines>
</class>
<class name="checkTab.py" filename="torrentfileQt/checkTab.py" complexity="0" line-rate="1" branch-rate="0">
Expand Down Expand Up @@ -1249,7 +1252,7 @@
<line number="409" hits="1"/>
</lines>
</class>
<class name="editorTab.py" filename="torrentfileQt/editorTab.py" complexity="0" line-rate="0.9952" branch-rate="0">
<class name="editorTab.py" filename="torrentfileQt/editorTab.py" complexity="0" line-rate="1" branch-rate="0">
<methods/>
<lines>
<line number="19" hits="1"/>
Expand Down Expand Up @@ -1436,7 +1439,7 @@
<line number="292" hits="1"/>
<line number="293" hits="1"/>
<line number="294" hits="1"/>
<line number="295" hits="0"/>
<line number="295" hits="1"/>
<line number="297" hits="1"/>
<line number="299" hits="1"/>
<line number="300" hits="1"/>
Expand Down
20 changes: 19 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1 +1,19 @@
{"name": "torrentfileqt", "displayName": "TorrentfileQt", "version": "0.2.9", "description": "GUI torrentfile creator.", "repository": {"type": "git", "url": "git+https://github.com/alexpdev/TorrentfileQt.git"}, "keywords": ["GUI", "Bittorrent", "metafile"], "author": "alexpdev", "url": "https://github.com/alexpdev/torrentfileQt", "email": "alexpdev@protonmail.com", "license": "Apache", "bugs": {"url": "https://github.com/alexpdev/TorrentfileQt/issues"}, "homepage": "https://github.com/alexpdev/TorrentfileQt#readme"}
{
"name": "torrentfileqt",
"displayName": "TorrentfileQt",
"version": "0.3.0",
"description": "GUI torrentfile creator.",
"repository": {
"type": "git",
"url": "git+https://github.com/alexpdev/TorrentfileQt.git"
},
"keywords": ["GUI", "Bittorrent", "metafile"],
"author": "alexpdev",
"url": "https://github.com/alexpdev/torrentfileQt",
"email": "alexpdev@protonmail.com",
"license": "Apache",
"bugs": {
"url": "https://github.com/alexpdev/TorrentfileQt/issues"
},
"homepage": "https://github.com/alexpdev/TorrentfileQt#readme"
}
2 changes: 1 addition & 1 deletion tests/test_edittab.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ def test_editor_table_fields(wind, ttorrent):
if txt in ["httpseeds", "url-list", "announce-list"]:
wig, found = table.cellWidget(i, 1), found + 1
for url in ['url8', 'url9']:
wig.line_edit.setText(url)
wig.add_button.click()
wig.line_edit.setText(url)
wig.combo.focusOutEvent(None)
lst = [wig.combo.itemText(j) for j in range(wig.combo.count())]
assert len([i for i in ['url8', 'url9'] if i in lst]) == 2
Expand Down
6 changes: 6 additions & 0 deletions torrentfileQt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,16 @@
##############################################################################
"""Init module for TorrentfileQt project."""

import ctypes

import torrentfile

from torrentfileQt.version import __version__
from torrentfileQt.window import Application, Window, alt_start, start


__author__ = "alexpdev"
__all__ = ["Application", "Window", "alt_start", "start", "__version__"]

myappid = f'TorrentfileQt.{__version__}.{__author__}'
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid)
2 changes: 1 addition & 1 deletion torrentfileQt/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
##############################################################################
"""Application version id tag."""

__version__ = "0.2.9"
__version__ = "0.3.0"