Add script for generating release notes draft
Compare changes
LbRelease/data/release_notes_template.md
0 → 100644
+ 34
− 0
A script for generating release notes from MR descriptions. It relies on having both a clone of the repository and access to the GitLab API.
Questions/answers:
LbRelease/scripts
the right place?ProjectSys/doc
and not in LbScripts?Project/ReleaseNotes/
will take precedence.gitlab
and jinja2
without prepending lb-run --ext pytools LCG/latest
?gen_release_notes
is the wrapper script and the action is in LbRelease/python/LbRelease/GenReleaseNotes.py
git
, git_o
and getOutput
were copied from git-lb-push
, but should probably be shared. How?LbRelease/python/LbRelease/GitTools.py
To test:
# Clone and build LbScripts
cd $TMPDIR
git clone --recursive ssh://git@gitlab.cern.ch:7999/lhcb-core/LbScripts.git
cd LbScripts
git checkout rmatev-release-notes
cd LbScriptsSys/cmt; cmt br cmt make; cd -
cd LbPlatformUtils/cmt; cmt br cmt make; cd -
# LbLogin
$TMPDIR/LbScripts/InstallArea/scripts/LbLogin.sh -m /cvmfs/lhcb.cern.ch/lib
git clone ssh://git@gitlab.cern.ch:7999/lhcb/Hlt.git
cd Hlt
gen_release_notes v26r6 v27r0