Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

How to Hotfix Sardana

reszelaz edited this page Aug 2, 2021 · 9 revisions

The Hotfix Process

  1. Create a new branch from master to hotfix-{versionnumber}. See gitflow for more details.

    git checkout -b hotfix-2.8.1 master
  2. Bump version using bumpversion patch && bumpversion release (use semver).

    bumpversion patch && bumpversion release

    OPTIONAL: Sardana depends on Taurus, and the required version of Taurus may need to be bumped as well. Taurus and other dependencies are specified in: setup.py (requires list of strings) and src/sardana/requirements.py (__requires__ dictionary and taurus.core value).

  3. Apply or develop the Hotfix and commit your changes.

  4. Modify the CHANGELOG.md (see this) and "What's new?" docs, and commit your changes.

  5. Push the modifications to your fork and create a Pull Request [PR] to master branch.

  6. Whenever the hotfix PR gets accepted into master two more actions needs to be done manually:

    • tag master with the hotfix version number e.g. git tag -a 2.8.1 and push the tag to the upstream
    • the hotfix branch gets manually merged into develop and the version in develop branch get's bumped: bumpversion patch
Clone this wiki locally