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

Add more sections to report, improve unit tests #32

Merged
merged 20 commits into from
Feb 17, 2024
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
30ac899
bump version 0.2.3 -> 0.2.4
Lab-Brat Jan 1, 2024
9b99dee
gentoo-update: use default traceback limit for debugging
Lab-Brat Jan 5, 2024
bf2a102
parser_package: verify that package is not None
Lab-Brat Jan 5, 2024
c30ec56
tests: add a new log that will be used for unit tests
Lab-Brat Jan 5, 2024
4244046
gentoo_update: turn show_available_reports into get_available_log_file
Lab-Brat Jan 17, 2024
9321a66
add support for testing parser using multiple log files
Lab-Brat Jan 17, 2024
3fe9a62
gentoo_update: return simplified error output
Lab-Brat Jan 17, 2024
15e9f56
add tests for 2nd report
Lab-Brat Jan 17, 2024
86e75a6
add _determine_update_status() method to parser_package
Lab-Brat Jan 21, 2024
4200203
Print updated, new, reemerge packaged in sections in the report
Lab-Brat Jan 21, 2024
3ae4c4a
move package sorter into a separate method
Lab-Brat Jan 21, 2024
8583936
Move all functionality that adds packages to report to _append_packag…
Lab-Brat Jan 21, 2024
af92867
fix 2 flake8 errors
Lab-Brat Jan 22, 2024
789a7c1
condense if-else clauses in _sort_packages_into_categories
Lab-Brat Jan 22, 2024
b4f3afe
add docstrings to _append_packages_to_report
Lab-Brat Jan 22, 2024
8a1e6d8
fix new and reemerge packages output in report
Lab-Brat Jan 25, 2024
ceb6c42
Update unit tests
Lab-Brat Feb 4, 2024
988f3a9
Fix flake8 errors
Lab-Brat Feb 4, 2024
c3044e5
remove disclaimer about breaking changes in 0.2.2
Lab-Brat Feb 10, 2024
46740f6
update readme with more to-dos
Lab-Brat Feb 16, 2024
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
Prev Previous commit
Next Next commit
gentoo-update: use default traceback limit for debugging
Lab-Brat committed Jan 5, 2024
commit 9b99dee5aafea8c13556f29b11a741720f2e5b5c
2 changes: 1 addition & 1 deletion gentoo_update/gentoo_update.py
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@
from .shell_runner import ShellRunner

current_path = os.path.dirname(os.path.realpath(__file__))
sys.tracebacklimit = -1
#sys.tracebacklimit = -1


def create_cli() -> argparse.Namespace: