cms-bot started as a single script used to drive PR approval and grew to be the core of the whole release engineering process for CMSSW.
To have it working you'll need a ~/.github-token
which can access the
cms-sw organization.
process-pull-requests.py
to notify
developers when a PR touches the packages they watch.key=value
pairs formatted file with release queue related information. Each line represent a release queue. In
particular CMSDIST_TAG
is used to point to the CMSDIST tag to be used by the release building process.Logging happens at many different level but we are trying to unify things using Elasticsearch for "live" data from which we dump precomputed views on a basis.
This project uses Black to ensure uniform code style. The following options are used:
--line-length 99 --target-version py36 --target-version py37 --target-version py38 --target-version py39 --target-version py310 --target-version py311
We record commits containing only code-style changes in .git-blame-ignore-revs
file. Use the following command on your local
copy of this repository to exculse these commits from git blame
:
$ git config blame.ignoreRevsFile .git-blame-ignore-revs