Rebasehelper

Latest version: v0.28.0

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

Scan your dependencies

Page 2 of 8

0.23.0

Added
- Added **rpminspect** checker

Fixed
- **rebase-helper** is now able to deal with existing git repository in extracted upstream sources
- Prevented git commands executed in the background from launching an interactive editor and effectively rendering **rebase-helper** unusable
- Outputs of checkers are now removed before subsequent runs
- Tilde is now recognized as extra version separator
- `make test-podman` has been updated to work with the latest podman

Changed
- Checker outputs are now ordered by type in the text report
- Excessive blank lines are now removed from the SPEC file when removing patches
- Sources and patches are now automatically renamed, if necessary
- **abipkgdiff** now falls back to comparing without debuginfo in case it is unable to read it from the provided debuginfo packages

0.22.0

Added
- Added more type hints, including all public API methods

Fixed
- `SpecFile.reload()` no longer pointlessly calls `SpecFile._read_spec_content()`
- Deleted files are now skipped when detecting unresolved conflicts during `git rebase`
- Fixed detection of Koji log file containing build failure
- Adapted to changes in git 2.26.0
- Fixed unhandled exception during upload to lookaside cache

Changed
- Removed no longer necessary workarounds from Fedora base images
- Simplified packit configuration
- Options `--pkgcomparetool`, `--versioneer-blacklist`, `--spec-hook-blacklist` and `--build-log-hook-blacklist` can now be specified without an argument to indicate none of the tools/hooks should be run

0.21.0

Added
- Added public API tests for `Tags` class
- Added support for *%patchlist* and *%sourcelist*
- Added support for automatic *Source*/*Patch* numbering

Fixed
- **commit-hash-updater** SPEC hook now handles empty release name
- *sources* is now ignored if it's not a regular file
- Fixed summary and report paths when using `--bugzila-id` or `--results-dir`
- Fixed and extended detection of ABI changes reported by **abipkgdiff**
- Removed deprecated encoding parameter in `json.load()` for Python 3.9
- Fixed processing of remote patches
- Fixed handling of intermediate macros in `SpecFile.set_tag()`

Changed
- All RPM macros are now reset when `SpecFile` object is destroyed
- Renamed docker directory to containers and Dockerfiles to Containerfiles
- Switched from Docker Hub to quay.io for automatic image building
- Improved and cleaned up `SpecFile` tests
- **replace-old-version** SPEC hook can now replace also extraversion

0.20.0

Added
- Introduced `Tags` class unifying and simplifying access to SPEC tags
- Added proper support for *crate* and *gem* archives
- Added `--bugzilla-id` option to perform a rebase based on *Upstream Release Monitoring* bugzilla
- Added `-D`/`--define` option to define macros
- Added tests for public API

Fixed
- Fixed `--build-tasks` option
- Fixed detecting unresolved conflicts in non-UTF-8 files
- Prevented loss of messages logged before logging file handlers are created
- **rebase-helper** now skips unparseable lines in *%prep* instead of tracebacking on them
- Fixed parsing SPEC files with `-h` in *%prep*
- Fixed processing SPEC files with zero-padded indexed tags and `%patch` macros

Changed
- Completely reworked dealing with extraversions
- Improved `SpecFile.set_tag()` to minimize changes made to the SPEC file

0.19.0

Added
- Added `--workspace-dir` option to allow specifying custom workspace directory
- Added **sonamecheck** checker for detecting *SONAME* changes
- Added `--copr-project-permanent`, `--copr-project-frontpage` and `--copr-chroots` options

Fixed
- Strings like "1" are no longer replaced with macros in *%prep*
- SPEC files without *Source0* tag are now handled correctly
- Fixed **copr** build tool, switched to V3 API
- Avoided parsing SPEC without properly setting `%{_sourcedir}` macro first

Changed
- Introduced `RpmHeader` class for more convenient access to package header attributes
- Modification of *Patch* tags now preserves whitespace to minimize differences in SPEC
- Moved Bash completion script from `/etc/bash_completion.d` to `/usr/share/bash-completion/completions`

Removed
- Removed non-working `--patch-only`, `--build-only` and `--comparepkgs-only` options
- Temporarily removed `--continue` option
- Removed no longer used `python3-six` build dependency
- Removed `copr` workaround in favor of making **copr** build tool unavailable in case it's not working

0.18.0

Added
- Added workaround for missing *mock* group in Fedora Rawhide

Fixed
- Moved setup dependencies from `install_requires` to `setup_requires`

Changed
- Refactored logging, see [logging documentation](https://rebase-helper.readthedocs.io/en/latest/user_guide/logging.html) for details
- Reason of build failure is now always logged

Removed
- Removed unused `Application` methods and attributes
- Removed unused testing files

Page 2 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.