Giter Site home page Giter Site logo

pombredanne / rebase-helper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rebase-helper/rebase-helper

0.0 1.0 0.0 1.47 MB

This tool helps you to rebase your package to the latest version

License: GNU General Public License v2.0

Makefile 0.28% Shell 0.75% Python 97.38% HTML 1.60%

rebase-helper's Introduction

rebase-helper

Code Health GitLab CI build status Travis CI build status

This tool helps you to rebase your package to the latest version.

Landscape scans

Landscape.io scans of rebase-helper

General workflow

  • rebase-helper-results and rebase-helper-workspace directories are created
  • original spec file is copied to rebase-helper-results directory and its Version tag is modified
  • old and new sources are downloaded (if needed) and extracted to rebase-helper-workspace directory
  • patches are rebased using git, modified patches (if any) are saved to rebase-helper-results directory
  • old and new source RPMs are created
  • the source RPMs are rebuilt with selected build tool
  • rpmdiff, pkgdiff and abipkgdiff are run against both sets of packages and their output is stored in rebase-helper-results directory
  • rebase-helper-workspace directory is removed

Patch rebasing workflow

  • new git repository is initialized and the old sources are extracted and commited to it
  • every patch is applied and the changes introduced by it are commited
  • new sources are extracted and added as a remote branch to the repository
  • git rebase is used to rebase the commits on top of the new sources
  • original patches are modified/deleted accordingly
  • changes are reflected in the spec file

Requirements

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

  • git
  • rpm-build
  • mock
  • fedpkg
  • rpmlint
  • pkgdiff
  • libabigail

Python dependencies are listed in requirements.txt and can be installed with pip:

pip install -r requirements.txt

How to execute rebase-helper from CLI

Execute rebase-helper from a directory containing spec file, sources and patches (usually cloned dist-git repository).

There are two ways how to specify the new version. You can pass it to rebase-helper directly, e.g.:

rebase-helper 3.1.10

or you can let rebase-helper determine it from the new version tarball, e.g.:

rebase-helper joe-4.2.tar.gz

rebase-helper's People

Contributors

hhorak avatar jhornice avatar jpopelka avatar nforro avatar phracek avatar praiskup avatar pspacek avatar thozza avatar twaugh avatar uhliarik avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.