Release v0.5.3
Release Notes for byDefault v0.5.3
Overview
Version 0.5.3 enhances the merge command by automatically cleaning up merged files in the local directory, improving the overall workflow for Splunk TA development.
New Features
- Automatic Local File Cleanup: After a successful merge, files in the local directory are now automatically removed to prevent confusion and duplication
- Keep Local Option: Added a new
--keep-localflag to preserve files in the local directory after merging if desired
Improvements
- Enhanced Feedback: Added detailed messaging about files removed from local directory
- Dry Run Warnings: Added informative messages about what would happen to local files in dry run mode
- Better Error Handling: Improved handling of file removal errors with appropriate warnings
Files Included in Release
bydefault-0.5.3.tar.gz: Python package source distributionbydefault-0.5.3-py3-none-any.whl: Python wheel packagebyDefault-v0.5.3-standalone.tar.gz: Standalone executable archive
Installation
# Using UV (recommended)
uv tool install --reinstall-package bydefault ./dist/bydefault-0.5.3.tar.gz
# Using pip (alternative)
pip install ./dist/bydefault-0.5.3.tar.gzUsage Example
# Default behavior (creates backup and removes local files after merge)
bydefault merge path/to/ta
# To keep local files after merging
bydefault merge --keep-local path/to/ta
# Dry run to preview changes without modifying files
bydefault merge --dry-run --verbose path/to/taNotes
This release includes a behavior change where merged files are now removed from the local directory by default. Use the --keep-local flag if you want to maintain the previous behavior of preserving local files.