Rebasehelper

Latest version: v0.29.2

Safety actively analyzes 682361 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 8

0.17.0

Added
- Added possibility for plugins to specify their own arguments
- Added basic type hints and enabled mypy linter
- Added *rust* package category
- **replace-old-version** SPEC hook can now replace old version with `%{version}` macro
- **replace-old-version** SPEC hook can now replace also parts of version in Sources and Patches

Fixed
- Fixed broken ansicolors dependency
- Fixed printing of output of unavaiable checkers
- Fixed determining unmatched quotation in *%prep* section
- Made **files** build log hook handle conditions and macros in *%files* section
- **files** build log hook now adds man pages in a way that follows [Fedora Packaging Guidelines](https://docs.fedoraproject.org/en-US/packaging-guidelines/#_manpages)
- **files** build log hook now ignores debuginfo files
- Fixed issues with polluted global macro namespace when parsing multiple different SPEC files
- Fixed handling of remote downstream patches (URLs)
- Fixed parsing of patch strip options in *%prep*
- Fixed wrapping of extra long lines in the usage documentation
- Sources from lookaside cache are now downloaded to a proper location

Changed
- Restructured the code layout of plugins
- Refactored parts of SpecFile class
- Disabled removing of "unused" patches
- `mock` is now automatically run with superuser privileges if necessary
- Local builder is now used if `--get-old-build-from-koji` is specified and the build can't be downloaded from Koji
- checkers (even the default ones) are now skipped if they are not available
- Sources are now copied to destination if they cannot be extracted
- Reimplemented downloading Koji builds
- Updated documentation

Removed
- Removed Python 2 support

0.16.3

Fixed
- Fixed handling of SPEC files with conditionalized sections
- Fixed **replace-old-version** SPEC hook not to update version in *%changelog* and local sources
- Fixed capturing RPM error output during SPEC parsing
- Fixed handling of absolute *%license* and *%doc* paths in **files** build log hook
- Fixed logging of SRPM and RPM build errors

Changed
- Updated packit configuration for packit 0.2.0
- Adapted to upcoming change in RPM python API
- Made `SpecFile` class more suitable for external use

0.16.2

Added
- Added support for [packit](https://github.com/packit-service/packit)
- Added SPEC hook for replacing old version string

Fixed
- Fixed documentation building by mocking `requests-gssapi`
- Fixed `TestOutputTool` for checkers

Changed
- Build log hooks are now run only if build of **new** binary packages fails
- It is now possible to use `--get-old-build-from-koji` option without FAS

0.16.1

Fixed
- Made `GitPatchTool` auto-skip empty commits caused by new rebase implementation in **git** 2.20
- Fixed `TestGitHelper` to work on real systems with existing git configuration

0.16.0

Added
- Added category for *R* packages
- Added `make test-podman` as an alternative to `make test-docker`
- Added `--skip-upload` option (to be used in conjunction with `--update-sources`)
- Added check that all sources for the new version are present
- Added SPEC hook for escaping macros in comments

Changed
- `--get-old-build-from-koji` now tries to get specific version build (as opposed to the latest one)
- Implemented parsing of multiline macros and shell expansions in SPEC files
- **rebase-helper** can now handle multiline enquoted strings in *%prep* section
- Refactored `GitPatchTool` to make the rebase process more robust and to preserve as much of the original downstream patches as possible
- `git mergetool` is now run again if there are some unresolved conflicts left
- Associated comments are now removed along with patches

Fixed
- Fixed populating list of logs on build failures
- Added missing abort after failed `git am`
- Fixed processing SPEC files without *%prep* section
- Fixed several issues in **ruby-helper** SPEC hook
- Fixed unwanted expansion of *%autosetup* macro
- Fixed automatic rebulding based on build log hooks result
- Fixed removal of *%doc* and *%license* files in subpackages

Removed
- Removed `requests-kerberos` support and switched to `requests-gssapi` exclusively

0.15.0

Added
- Implemented build log hooks and added **files** hook to detect and fix missing/unpackaged files

Changed
- Refactored and simplified all plugins

Fixed
- Fixed not listing all argument choices while generating documentation
- Fixed error in parsing rpmdiff output
- Fixed insertion of extra blank lines to a SPEC file after removing patches

Removed
- Removed unneeded packages from base Docker image

Page 4 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.