Skip to content

noug_version

Jean Dubois edited this page Apr 24, 2024 · 3 revisions

noug_version module

The noug_version module can be imported with the statement import noug_version.

The noug_version module is used to have better informations about the current Nougaro version.

Note that Nougaro uses semantic versionning. We recommend you to read the whole semver specification.

Constants

Examples are given considering the version 3.14.15-rc.92

  • noug_version.major: integer of the MAJOR version (3)
  • noug_version.minor: integer of the MINOR version (14)
  • noug_version.patch: integer of the PATCH version (15)
  • noug_version.phase: string of the PHASE name ("rc"). Usually alpha, beta, rc, stable.
  • noug_version.release_serial: integer of the MINOR INDEV version (92). It resets when the phase switches back to stable. When the version is under the form 3.14.15-stable or 0.16.0-beta, this number is 0.
  • noug_version.version_list: list under the form [major, minor, patch, phase, phase_minor]

Note

noug_version.release_serial is the new name for noug_version.phase_minor in 0.19.0-beta. noug_version.phase_minor is deprecated and will be removed in 0.20.0-beta.

Functions

  • noug_version.clean_version_for_gh (New in 0.19.0-beta): function that generates a beautiful str for the GH issues or PRs.
Clone this wiki locally