Project

General

Profile

Actions

HOWTO write the release notes » History » Revision 11

« Previous | Revision 11/58 (diff) | Next »
Loïc Dachary, 08/04/2015 12:09 PM


  • git clone -b release (for instance git clone -b dumpling http://github.com/ceph/ceph)
  • run the following to get a base to work on
    git clone https://github.com/ceph/ceph
    cd ceph/src/script
    virtualenv v
    source v/bin/activate
    pip install githubpy GitPython
    GITHUB_ACCESS_TOKEN=XXXXXXXXXXXXXX ceph-release-notes -r tags/v0.80.9..tags/v0.80.10 $(git rev-parse --show-toplevel)
    deactivate
    
  • The ceph-release-notes script requires that each pull request is prefixed with the component it relates to (mon, osd etc.). If that's not the case, it will display an error message such as
    ERROR: http://github.com/ceph/ceph/pull/4884 title Keystone PKI token expiration is not enforced does not match ^(common|mon|osd|fs|librbd|rbd|fs|mds|objecter|rgw|build/ops|tests|tools|doc|crush|librados)
    

    the pull request title must be edited to add the required prefix.
  • add a section in http://docs.ceph.com/docs/master/release-notes/ in the master branch of ceph in the release-notes.rst file with the list of commits
  • backport the release notes to the release branch when they are final. Ideally this is done before the point release is published. If not it can be backported shortly afterwards.
  • add the release to the timeline
  • the release notes come with an introduction that is prepared in a separate file . It can be edited if something significant must not be forgotten and it does not need to well written because it is a draft.
  • the content of the pending release notes file can be manually added at the beginning of the release-notes.rst. In theory the person writing the release notes should know about these pending notes so this is just a way to make sure they are not forgotten.

Updated by Loïc Dachary almost 9 years ago · 11 revisions