Skip to content

This tool helps you to rebase package to the latest version

License

Notifications You must be signed in to change notification settings

uhliarik/rebase-helper

 
 

Repository files navigation

rebase-helper

Code Health

Rebase-helper workflow

This tool helps you to rebase package to the latest version

How the rebase-helper works:

  • Each action should be logged and visible by user.
    • extract tarball with the existing sources to directory old_sources/<package_name>
    • extract tarball with the new sources to directory new_sources/<package_name>
    • Provide a list of patches mentioned in SPEC file
    • New spec file is stored in results/
  • for all patches
    • apply all patches with git command to old_sources/<package_name> directory
    • add new_sources<package_name> to old_sources/<package_name> with command git rebase --onto new_sources <inital_commit> <last_commit>
    • solve all conflicts which arrise during the git rebase
  • create srpm from old and new spec files & new sources & patches (Builder)
  • rebuild srpm -> RPMs (Builder)
  • Run rpmdiff tool for finding libraries and header changes.
  • Inform user what libraries and header files were changed.

Landscape scans

Landscape.io scans of rebase-helper

Requirements

Packages which needs to be installed before you execute rebase-helper for first time:

  • meld
  • mock
  • rpm-build
  • pkgdiff at least 1.6.3
  • python-six
  • fedpkg
  • pyrpkg
  • libabigail

How to execute rebase-helper from CLI

Go to a git directory of your package and execute command ./rebase-helper <new_upstream_version>

About

This tool helps you to rebase package to the latest version

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.6%
  • HTML 2.0%
  • Shell 1.1%
  • Makefile 0.3%