cassandra-pr mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mshuler <...@git.apache.org>
Subject [GitHub] cassandra pull request #230: Add developer docs for creating releases
Date Mon, 02 Jul 2018 21:02:48 GMT
Github user mshuler commented on a diff in the pull request:

    https://github.com/apache/cassandra/pull/230#discussion_r199620189
  
    --- Diff: doc/source/development/release_process.rst ---
    @@ -0,0 +1,217 @@
    +.. Licensed to the Apache Software Foundation (ASF) under one
    +.. or more contributor license agreements.  See the NOTICE file
    +.. distributed with this work for additional information
    +.. regarding copyright ownership.  The ASF licenses this file
    +.. to you under the Apache License, Version 2.0 (the
    +.. "License"); you may not use this file except in compliance
    +.. with the License.  You may obtain a copy of the License at
    +..
    +..     http://www.apache.org/licenses/LICENSE-2.0
    +..
    +.. Unless required by applicable law or agreed to in writing, software
    +.. distributed under the License is distributed on an "AS IS" BASIS,
    +.. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +.. See the License for the specific language governing permissions and
    +.. limitations under the License.
    +
    +.. highlight:: none
    +..  release_process:
    +
    +Release Process
    +***************
    +
    +.. contents:: :depth: 3
    +
    +| 
    +|
    +
    +Here Release Managers will find the steps for creating, voting and publishing a release
for Apache Cassandra.
    +A committer can perform the initial steps of creating and calling a vote on a proposed
release, but only a PMC can complete the process of publishing and announcing the release.
    +
    +
    +Prerequisites
    +=============
    +
    +Be familiar with the following
    + * `ASF Release Policy <http://www.apache.org/legal/release-policy.html>`_.
    + * `ASF Release Distribution Policy <http://www.apache.org/dev/release-distribution>`_.
    + * `ASF Release Best Practices <http://www.eu.apache.org/dev/release-publishing.html>`_.
    +
    +
    +Create and publish your GPG key
    +-------------------------------
    +
    +To create a GPG key, follow the `guidelines <http://www.apache.org/dev/openpgp.html>`_.
    +Include your public key in::
    +
    +  https://dist.apache.org/repos/dist/cassandra/KEYS
    +
    +
    +Publish your GPG key in a PGP key server, such as `MIT Keyserver <http://pgp.mit.edu/>`_.
    +
    +
    +Create Release Artifacts
    +========================
    +
    +Any committer can perform the following steps to create and call a vote on a proposed
release.
    +
    +Check that no open jira tickets are urgent and currently being worked on.
    +Also check with a PMC that there's security vulnerabilities currently being worked on
in private.
    +
    +Perform the Release
    +-------------------
    +
    +Run the following commands to generate and upload release artifacts, to a nexus staging
repository and distribution location::
    +
    +    git clone https://github.com/apache/cassandra-builds.git
    +    cd cassandra-build/cassandra-release
    +    # edit the variables at the top of `prepare_release.sh`
    +    ./prepare_release.sh
    +
    +If successful, take note of the email text output which can be used in the next section
"Call for a Vote".
    +
    +The ``prepare_release.sh`` script does not yet generate and upload the rpm and deb distribution
packages.
    +To generate and upload them do::
    +
    +    cd ../..
    +    cassandra-build/build-scripts/cassandra-deb-packaging.sh http://git-wip-us.apache.org/repos/asf?p=cassandra.git
<version>-tentative <version>
    +    cassandra-build/build-scripts/cassandra-rpm-packaging.sh http://git-wip-us.apache.org/repos/asf?p=cassandra.git
<version>-tentative <version>
    +
    +    svn co https://dist.apache.org/repos/dist/dev/cassandra cassandra-dist-dev
    +    mkdir cassandra-dist-dev/<version>
    +    cp cassandra-build/docker/*.rpm cassandra-dist-dev/<version>/
    +    cp cassandra-build/docker/*.deb cassandra-dist-dev/<version>/
    +    svn add cassandra-dist-dev/<version>
    +    svn ci cassandra-dist-dev/<version>
    +
    +
    +Call for a Vote
    +===============
    +
    +Fill out the following email template and send to the dev mailing list::
    +
    +    I propose the following artifacts for release as <version>.
    +
    +    sha1: <git-sha>
    +
    +    Git: http://git-wip-us.apache.org/repos/asf?p=cassandra.git;a=shortlog;h=refs/tags/<version>-tentative
    +
    +    Artifacts: https://repository.apache.org/content/repositories/orgapachecassandra-<nexus-id>/org/apache/cassandra/apache-cassandra/<version>/
    +
    +    Staging repository: https://repository.apache.org/content/repositories/orgapachecassandra-<nexus-id>/
    +
    +    The distribution packages are available here: https://dist.apache.org/repos/dist/dev/cassandra/${version}/
    +
    +    The vote will be open for 72 hours (longer if needed).
    +
    +    [1]: (CHANGES.txt) https://git1-us-west.apache.org/repos/asf?p=cassandra.git;a=blob_plain;f=CHANGES.txt;hb=<version>-tentative
    +    [2]: (NEWS.txt) https://git1-us-west.apache.org/repos/asf?p=cassandra.git;a=blob_plain;f=NEWS.txt;hb=<version>-tentative
    +
    +
    +
    +Post-vote operations
    +====================
    +
    +Any PMC can perform the following steps to formalize and publish a successfully voted
release.
    --- End diff --
    
    I'm not sure if it would be possible, but I could be wrong. Debian-based distros provide
RPM package and repository management tools, but I don't think RPM-based distros provide any
dpkg/reprepro/etc tools to work with deb package repositories.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Mime
View raw message