The Gaudi Framework
v30r3 (a5ef0a68)
|
Functions | |
def | checkGitVersion () |
def | versionKey (x) |
def | findLatestTag () |
def | releaseNotes (path=os.curdir, from_tag=None, branch=None) |
def | updateReleaseNotes (path, notes) |
def | tag_bar (pkg, version=None) |
def | main () |
Variables | |
_VK_RE = re.compile(r'(\d+|\D+)') | |
Script to prepare the release of Gaudi. @author Marco Clemencic
def prepare_gaudi_release.checkGitVersion | ( | ) |
Ensure we have a usable version of Git (>= 1.7.9.1). See: * https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/1.7.9.1.txt * https://github.com/git/git/commit/36ed1913e1d5de0930e59db6eeec3ccb2bd58bd9
Definition at line 15 of file prepare_gaudi_release.py.
def prepare_gaudi_release.findLatestTag | ( | ) |
Return the latest Gaudi tag (of the format "v*r*...").
Definition at line 42 of file prepare_gaudi_release.py.
def prepare_gaudi_release.main | ( | ) |
Definition at line 125 of file prepare_gaudi_release.py.
def prepare_gaudi_release.releaseNotes | ( | path = os.curdir , |
|
from_tag = None , |
|||
branch = None |
|||
) |
Return the release notes (in the old LHCb format) extracted from git commits for a given path.
Definition at line 61 of file prepare_gaudi_release.py.
def prepare_gaudi_release.tag_bar | ( | pkg, | |
version = None |
|||
) |
Definition at line 117 of file prepare_gaudi_release.py.
def prepare_gaudi_release.updateReleaseNotes | ( | path, | |
notes | |||
) |
Smartly prepend the content of notes to the release.notes file in path.
Definition at line 95 of file prepare_gaudi_release.py.
def prepare_gaudi_release.versionKey | ( | x | ) |
Key function to be passes to list.sort() to sort strings as version numbers.
Definition at line 32 of file prepare_gaudi_release.py.
|
private |
Definition at line 29 of file prepare_gaudi_release.py.