-
Notifications
You must be signed in to change notification settings - Fork 67
Comparing changes
Open a pull request
base repository: techtonik/python-patch
base: master
head repository: AstroAir/python-patch
compare: master
- 13 commits
- 77 files changed
- 2 contributors
Commits on Aug 2, 2025
-
Add comprehensive unit tests for logging, parser, and utility functions
- Implemented unit tests for logging utilities including logger configuration, NullHandler, StreamHandler, and logging functions (debug, info, warning). - Added tests for parser functionality covering wrapumerate, type detection, and filename normalization. - Created tests for utility functions focusing on cross-platform path handling (xisabs, xnormpath, xstrip, pathstrip). - Included integration tests to ensure consistent behavior across different modules. - Enhanced error handling tests for utility functions to cover edge cases and invalid inputs.
Configuration menu - View commit details
-
Copy full SHA for c712aeb - Browse repository at this point
Copy the full SHA c712aebView commit details -
Refactor logging and parser utilities for type hinting and improved c…
…ompatibility - Added type hints to logging_utils.py for better clarity and type checking. - Updated the NullHandler class to return a boolean in the handle method. - Enhanced wrapumerate class in parser.py with type hints and improved logic for handling stream exhaustion. - Modified detect_type function to handle None values for source and target. - Improved normalize_filenames function to ensure None checks before processing filenames. - Refactored utility functions in utils.py to include type hints for better code quality. - Removed outdated backward compatibility tests and coverage report scripts. - Updated tests to reflect changes in data types and structures, ensuring compatibility with the refactored code.
Configuration menu - View commit details
-
Copy full SHA for eb97fd7 - Browse repository at this point
Copy the full SHA eb97fd7View commit details -
Refactor tests for parser and utility functions
- Updated test cases in `test_parser.py` to use consistent string formatting and improved readability. - Enhanced assertions and added edge case handling in wrapumerate tests. - Improved type detection tests for various patch types in `test_parser.py`. - Refactored utility tests in `test_utils.py` for better clarity and consistency. - Added parameterized tests for `xisabs`, `xnormpath`, `xstrip`, and `pathstrip` functions. - Ensured cross-platform compatibility in path handling tests. - Improved error handling tests for utility functions with None and string inputs.
Configuration menu - View commit details
-
Copy full SHA for 2bf6eaf - Browse repository at this point
Copy the full SHA 2bf6eafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60db957 - Browse repository at this point
Copy the full SHA 60db957View commit details -
Update CI configuration, remove deprecated patch wrapper, and enhance…
… docstrings for core classes
Configuration menu - View commit details
-
Copy full SHA for ec37cdd - Browse repository at this point
Copy the full SHA ec37cddView commit details -
Enhance docstrings across multiple modules for improved clarity and u…
…sability, including detailed parameter descriptions, return values, examples, and security notes. Update test script to reference the correct patch tool.
Configuration menu - View commit details
-
Copy full SHA for 9eff00d - Browse repository at this point
Copy the full SHA 9eff00dView commit details -
Refactor code style and improve consistency across multiple files
- Updated docstring formatting from triple double quotes to triple single quotes for consistency. - Changed string quotes from double to single quotes in various places to maintain uniformity. - Simplified multiline string assignments for better readability. - Removed unnecessary whitespace and improved indentation for clarity. - Ensured consistent use of `self.buffer` and `self.pre_buffer` initialization across classes. - Updated print statements to use single quotes and removed unnecessary parentheses. - Enhanced comments for better understanding of the code.
Configuration menu - View commit details
-
Copy full SHA for 2012e2a - Browse repository at this point
Copy the full SHA 2012e2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6dcc0b - Browse repository at this point
Copy the full SHA e6dcc0bView commit details -
Update CI configuration to remove Python 2.7 support and enhance test…
… cleanup for file handling
Configuration menu - View commit details
-
Copy full SHA for 303594c - Browse repository at this point
Copy the full SHA 303594cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9bcbf7 - Browse repository at this point
Copy the full SHA f9bcbf7View commit details -
Update README and project metadata for clarity and accuracy
- Revise README to enhance description and features of the Python Patch library. - Update version number and description in pyproject.toml to reflect the latest release. - Change author and maintainer information to current details. - Adjust copyright year in constants.py and update module metadata.
Configuration menu - View commit details
-
Copy full SHA for 5504437 - Browse repository at this point
Copy the full SHA 5504437View commit details
Commits on Aug 13, 2025
-
Add comprehensive user guide and error handling documentation
- Introduced a detailed Command Line Interface (CLI) guide covering syntax, options, and usage examples for applying patches. - Created an extensive Error Handling guide addressing common error types, recovery strategies, and validation/testing practices. - Updated mkdocs.yml to include new documentation structure and navigation for user guide and API reference.
Configuration menu - View commit details
-
Copy full SHA for 18aa435 - Browse repository at this point
Copy the full SHA 18aa435View commit details -
Add comprehensive documentation for Python Patch and advanced usage g…
…uide - Created an introduction document detailing the directory structure, building process, writing guidelines, and contribution process for the Python Patch documentation. - Added an advanced usage guide covering conditional patch application, patch transformation, multi-stage patch application, performance optimization techniques, integration patterns, error recovery strategies, custom patch formats, and security considerations. - Included code examples for each advanced feature to demonstrate practical applications and best practices.
Configuration menu - View commit details
-
Copy full SHA for 2ba1a4b - Browse repository at this point
Copy the full SHA 2ba1a4bView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...master