Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • kadlu kadlu
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • public_projects
  • kadlukadlu
  • Wiki
  • Merging a patch

Last edited by Oliver Kirsebom May 27, 2020
Page history

Merging a patch

  • Major version update (1.0 -> 2.0) when including significantly new functionality, where changes are not compatible with previous versions
  • Minor version update (1.0 -> 1.1) when adding new functionality that remain backwards compatible
  • Patch version update (1.0 -> 1.0.1) when adding patches that remain backwards compatible

Steps required to merge a version update

  1. Make sure all unit tests and doc tests are passing
  2. Update the change log, docs conf, and version number (docs/source/versions/changelog.rst, setup.py, docs/source/conf.py)
  3. If any new features change how the software is used, update, build, and upload the documentation to the server:
cd docs/
./build_and_upload_docs.sh
  1. create merge request to master branch

  2. Once this request is merged, upload the new version to PyPI:

python setup.py sdist bdist_wheel
twine upload dist/kadlu-X.Y.Z.tar.gz
Clone repository
  • Home
  • Merging a patch
  • Next release change list