THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Create a JIRA ticket for the release tasks for version ${MINIFI_VERSION}.
_The resulting JIRA ticket number is referred to as ${JIRA_TICKET} in this guide. - Create the next version in JIRA, if it doesn't already exist, so work can continue towards that release.
- Create meaningful release notes for this version if not already created. Enter them here https://cwiki.apache.org/confluence/display/MINIFI/Release+Notes#ReleaseNotes-MiNiFi(C++) on the MiNiFi wiki.
- Create a new branch off 'master' named after the JIRA ticket.
$ git checkout -b MINIFICPP-${JIRA_TICKET}-RC${RC} ${BRANCH} - Verify that you have the needed dependencies to build and run MiNiFi
- Ensure the the full application builds, all tests work, and source passes linting by executing the following:
TODO/DISCUSS: Should likely ensure all options are enabled to do a full build of all Since we don't have a dependency management framework we will include only base extensions.
mkdir build && cd build && cmake -DPORTABLE=ON .. && make package && make package_source && make test && make linter && make docker - Startup and test the application with from the build folder:
tar xf nifi-minifi-cpp-${MINIFI_VERSION}-bin.tar.gz && ./nifi-minifi-cpp-${MINIFI_VERSION}/bin/minifi.sh start - Evaluate and ensure the appropriate license headers are present on all source files.
- Ensure LICENSE and NOTICE files are complete and accurate. (Developers should always be keeping these up to date as they go along adding source and modifying dependencies to keep this burden manageable.)
...
Generate convenience binaries
TODO/DISCUSS: Which platforms should we provide convenience binaries for? How do we handle optional extensions? Since we don't have a dependency management framework we will include only base extensions.
OS X
Linux - RHEL based
...
- Update the MiNiFi website to point to the new download(s). Remove older release artifacts from download page (leave the current release and the previous one). For the release just previous to this new one change the links to point to the archive location. See current page as an example of the needed URL changes. In addition to updating the download page as described delete artifacts other than the current/new release from the dist/nifi SVN storage. They are already in the archive location so no need to do anything else.
- Update the NiFi Web Page to indicate NEWS of the release as appropriate
- Create a proper signed tag of the released codebase based on the RC Tag craeted during the Maven release process.
$ git tag -s rel/minifi-cpp-${MINIFI_VERSION} -m "${JIRA_TICKET} signed release tag for approved release of NiFi MiNiFi C++ ${MINIFI_VERSION}" ${RC_TAG_COMMIT_ID}
For instructions on setting up to sign your tag see here. - Push the release tag to the official ASF repository.
$ git push asf rel/minifi-cpp-${MINIFI_VERSION} rel/minifi-cpp-${MINIFI_VERSION} - Update the release notes with the final date of the release.
- After the release has been complete for 24 hours send the release announcement.
- See here for an understanding of why you need to wait 24 hours
- The announcement should addressed as follows.
- TO: announce@apache.org, dev@nifi.apache.org
- REPLY-TO: dev@nifi.apache.org
- FROM: ${RM_USERID}@apache.org
- The subject should include [ANNOUNCE] Apache NiFi MiNiFi C++ x.y.z release.
- The text should on the template included below. +
Hello
The Apache NiFi team would like to announce the release of Apache NiFi MiNiFi C++ ${MINIFI_VERSION}.MiNiFi—a subproject of Apache NiFi—is a complementary data collection approach that supplements the core tenets of NiFi in dataflow management, focusing on the collection of data at the source of its creation.
Specific goals for the initial thrust of the MiNiFi effort comprise:
- Small size and low resource consumption
- Central management of agents
- Generation of data provenance (full chain of custody of information)
- Integration with NiFi for follow-on dataflow management
Note: Incorporate highlights about this release to give viewers a succint understanding about why they should care or what is now possible.
More details on Apache NiFi MiNiFi can be found here:
https://nifi.apache.org/minifi
The release artifacts can be downloaded from here:
https://nifi.apache.org/minifi/download.html
Maven artifacts have been made available here:
https://repository.apache.org/content/repositories/releases/org/apache/nifi/
Issues closed/resolved for this list can be found here:
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316020&version=12329373
Release note highlights can be found here:
https://cwiki.apache.org/confluence/display/NIFI/Release+Notes#ReleaseNotes-Version${MINIFI_VERSION}
Thank you
The Apache NiFi team
...