svn commit: r1652895 - /incubator/nifi/site/trunk/content/development/release-guide.md
Author: joewitt Date: Mon Jan 19 03:55:48 2015 New Revision: 1652895 URL: http://svn.apache.org/r1652895 Log: review Modified: incubator/nifi/site/trunk/content/development/release-guide.md Modified: incubator/nifi/site/trunk/content/development/release-guide.md URL: http://svn.apache.org/viewvc/incubator/nifi/site/trunk/content/development/release-guide.md?rev=1652895r1=1652894r2=1652895view=diff == --- incubator/nifi/site/trunk/content/development/release-guide.md (original) +++ incubator/nifi/site/trunk/content/development/release-guide.md Mon Jan 19 03:55:48 2015 @@ -70,11 +70,12 @@ The following is a list of the sorts of ## The mechanics of the release ### Prepare your environment - - Follow the steps outlined in the [Quickstart Guide][quickstart-guide] + +Follow the steps outlined in the [Quickstart Guide][quickstart-guide] -At this point you're on the latest 'develop' branch and are able to build the entire application + At this point you're on the latest 'develop' branch and are able to build the entire application - - Create a new branch based on a JIRA ticket for the release task +Create a new branch based on a JIRA ticket for the release task [quickstart-guide]: http://nifi.incubator.apache.org/development/quickstart.html
svn commit: r936743 - in /websites/staging/nifi/trunk/content: ./ development/release-guide.html
Author: buildbot Date: Mon Jan 19 06:33:22 2015 New Revision: 936743 Log: Staging update by buildbot for nifi Modified: websites/staging/nifi/trunk/content/ (props changed) websites/staging/nifi/trunk/content/development/release-guide.html Propchange: websites/staging/nifi/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Mon Jan 19 06:33:22 2015 @@ -1 +1 @@ -1652919 +1652920 Modified: websites/staging/nifi/trunk/content/development/release-guide.html == --- websites/staging/nifi/trunk/content/development/release-guide.html (original) +++ websites/staging/nifi/trunk/content/development/release-guide.html Mon Jan 19 06:33:22 2015 @@ -96,7 +96,7 @@ div class=jumbotron div id=content - h1 id=wzxhzdk3-apache-nifi-release-guideimg alt=NiFi logo style=float: right src=/images/niFi-logo-horizontal.png / Apache NiFi Release Guide/h1 + h1 id=wzxhzdk5-apache-nifi-release-guideimg alt=NiFi logo style=float: right src=/images/niFi-logo-horizontal.png / Apache NiFi Release Guide/h1 pThe purpose of this document is to capture and describe the steps involved in producing an official release of Apache NiFi. It is written specifically to someone acting in the capacity of a a href=http://www.apache.org/dev/release-publishing.html#release_manager;Release Manager/a (RM). /p @@ -227,14 +227,19 @@ Maven will then ask:/p liValidate that the README is present and provides sufficient information to build and if necessary execute./li /ul pIf all looks good then push the branch to origin codegit push origin NIFI-123/code/p +pIf anything isn't correct about the staged artifacts you can drop the staged repo from repository.apache.org and delete the +local tag in git. If you also delete the local branch and clear your local maven repository under org/apache/nifi then it is +as if the release never happened. Before doing that though try to figure out what went wrong. So as described here you see +that you can pretty easily test the release process until you get it right. The codemvn versions:set/code and codemvn versions:commit/code +commands can come in handy to help do this so you can set versions to something clearly release test related./p pNow it's time to initiate a vote within the PPMC. Send the vote request to coded...@nifi.incubator.apache.org/code -with a subject of code[VOTE] Release Apache NiFi nar-maven-plugin-0.0.2-incubating RC1/code. The following template can be used:/p +with a subject of code[VOTE] Release Apache NiFi nar-maven-plugin-0.0.2-incubating/code. The following template can be used:/p blockquote div class=codehiliteprespan class=nHello/span span class=nI/span span class=nam/span span class=npleased/span span class=nto/span span class=nbe/span span class=ncalling/span span class=nthis/span span class=nvote/span span class=kfor/span span class=nthe/span span class=nsource/span span class=nrelease/span span class=nof/span span class=nApache/span span class=nNiFi/span span class=nnar/spanspan class=o-/spanspan class=nmaven/spanspan class=o-/spanspan class=nplugin/spanspan class=o-/span0span class=p./span0span class=p./span2span class=o-/spanspan class=nincubating/spanspan class=p./span -span class=nThe/span span class=nsource/span span class=nzip/spanspan class=p,/span span class=nincluding/span span class=nsignatures/spanspan class=p,/span span class=ndigests/spanspan class=p,/span span class=netc/span span class=ncan/span span class=nbe/span span class=nfound/span span class=nat/spanspan class=p:/span +span class=nThe/span span class=nsource/span span class=nzip/spanspan class=p,/span span class=nincluding/span span class=nsignatures/spanspan class=p,/span span class=ndigests/spanspan class=p,/span span class=netc/spanspan class=p./span span class=ncan/span span class=nbe/span span class=nfound/span span class=nat/spanspan class=p:/span span class=nhttps/spanspan class=p:/spanspan class=o///spanspan class=nrepository/spanspan class=p./spanspan class=napache/spanspan class=p./spanspan class=norg/spanspan class=o//spanspan class=ncontent/spanspan class=o//spanspan class=nrepositories/spanspan class=o//spanspan class=norgapachenifi/spanspan class=o-/span1010 span class=nThe/span span class=nGit/span span class=ntag/span span class=nis/span span class=nnar/spanspan class=o-/spanspan class=nmaven/spanspan class=o-/spanspan class=nplugin/spanspan class=o-/span0span class=p./span0span class=p./span2span class=o-/spanspan class=nincubating/spanspan class=o-/spanspan class=nRC1/span @@ -251,10 +256,51 @@ with a subject of code[VOTE] Release A span class=nKEYS/span span class=nfile/span span class=navailable/span span class=nhere/spanspan class=p:/span span class=nhttps/spanspan class=p:/spanspan class=o///spanspan
svn commit: r1652899 - /incubator/nifi/site/trunk/content/development/release-guide.md
Author: joewitt Date: Mon Jan 19 04:13:31 2015 New Revision: 1652899 URL: http://svn.apache.org/r1652899 Log: review Modified: incubator/nifi/site/trunk/content/development/release-guide.md Modified: incubator/nifi/site/trunk/content/development/release-guide.md URL: http://svn.apache.org/viewvc/incubator/nifi/site/trunk/content/development/release-guide.md?rev=1652899r1=1652898r2=1652899view=diff == --- incubator/nifi/site/trunk/content/development/release-guide.md (original) +++ incubator/nifi/site/trunk/content/development/release-guide.md Mon Jan 19 04:13:31 2015 @@ -87,6 +87,8 @@ Ensure your maven settings have been upd - Ensure your settings.xml has been updated as shown below. There are other ways to ensure your key is available for signing as well + + ``` profile idsigned_release/id
[jira] [Assigned] (NIFI-270) Release preparation, phase 2
[ https://issues.apache.org/jira/browse/NIFI-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joseph Witt reassigned NIFI-270: Assignee: Joseph Witt (was: Benson Margulies) Release preparation, phase 2 Key: NIFI-270 URL: https://issues.apache.org/jira/browse/NIFI-270 Project: Apache NiFi Issue Type: Task Reporter: Benson Margulies Assignee: Joseph Witt Fix For: nar-maven-plugin 0.0.2 Get version numbers, pom config, whatever, ready for release of the maven plugin. Some cleanup for releasing the rest might also occur. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
svn commit: r936728 - in /websites/staging/nifi/trunk/content: ./ development/release-guide.html
Author: buildbot Date: Mon Jan 19 05:15:43 2015 New Revision: 936728 Log: Staging update by buildbot for nifi Modified: websites/staging/nifi/trunk/content/ (props changed) websites/staging/nifi/trunk/content/development/release-guide.html Propchange: websites/staging/nifi/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Mon Jan 19 05:15:43 2015 @@ -1 +1 @@ -1652904 +1652906 Modified: websites/staging/nifi/trunk/content/development/release-guide.html == --- websites/staging/nifi/trunk/content/development/release-guide.html (original) +++ websites/staging/nifi/trunk/content/development/release-guide.html Mon Jan 19 05:15:43 2015 @@ -162,13 +162,15 @@ The following is a list of the sorts of /pre/div -pCreate a JIRA ticket for the release tasks and use that for the commit messages. For example we'll consider NIFI-XYZ as our ticket./p +pCreate a JIRA ticket for the release tasks and use that ticket number for the commit messages. For example we'll consider NIFI-123 as our ticket. Also +have in mind the release version you are planning for. For example we'll consider '0.0.1-incubating'./p pCreate the next version in JIRA if necessary so develop work can continue towards that release./p pCreate new branch off develop named after the JIRA ticket or just use the develop branch itself/p +pChange directory into that of the project you wish to release. For example either codecd nifi/code or codecd nar-maven-plugin/code/p pVerify that Maven has sufficient heap space to perform the build tasks. Some plugins and parts of the build consumes a surprisingly large amount of space. These settings have been shown to work codeMAVEN_OPTS=-Xms1024m -Xmx3076m -XX:MaxPermSize=256m/code/p -pEnsure your settings.xml has been updated as shown below. There are other ways to ensure your key is available for signing as well/p +pEnsure your settings.xml has been updated as shown below. There are other ways to ensure your PGP key is available for signing as well/p blockquote div class=codehilitepre ... span class=ntlt;profilegt;/span @@ -192,6 +194,29 @@ work codeMAVEN_OPTS=-Xms1024m -Xmx307 /blockquote +pEnsure the the full application build and tests all work by executing +codemvn -T 2.5C clean install/code for a parallel build. Once that completes you can +startup and test the application by codecd assembly/target' then run/codebin/nifi.sh startcodein the nifi build. +The application should be up and running in a few seconds at/codehttp://localhost:8080/nifi`/p +pEvaluate and ensure the appropriate license headers are present on all source files. Ensure LICENSE and NOTICE files are complete and accurate.br / +Developers should always be keeping these up to date as they go along adding source and modifying dependencies to keep this burden manageable.br / +This command codemvn install -Pcheck-licenses/code should be run as well to help validate. If that doesn't complete cleanly it must be addressed./p +pNow its time to have maven prepare the release so execute codemvn release:prepare -Psigned_release -DscmCommentPrefix=NIFI-123 -Darguments=-DskipTests/code. +Maven will ask: +codeWhat is the release version for Apache NiFi NAR Plugin? (org.apache.nifi:nar-maven-plugin) 0.0.1-incubating: :/code +Just hit enter to accept the default. +Maven will then ask: +codeWhat is SCM release tag or label for Apache NiFi NAR Plugin? (org.apache.nifi:nar-maven-plugin) nar-maven-plugin-0.0.1-incubating: :/code +Enter codenar-maven-plugin-0.0.1-incubating-RC1/code or whatever the appropriate release candidate (RC) number is. +Maven will then ask: +codeWhat is the new development version for Apache NiFi NAR Plugin? (org.apache.nifi:nar-maven-plugin) 0.0.2-incubating-SNAPSHOT: :/code +Just hit enter to accept the default./p +pNow that preparation went perfectly it is time to perform the release and deploy artifacts to staging. To do that execute +codemvn release:perform -Psigned_release -DscmCommentPrefix=NIFI-123 -Darguments=-DskipTests/code/p +pThat will complete successfully and this means the artifacts have been released to the Apache Nexus staging repository. You will see something like +code[INFO] * Closing staging repository with ID orgapachenifi-1010./code +So if you go in a browser to codehttps://repository.apache.org/#stagingRepositories/code you should see codeorgapachenifi-1010/code. If you click on that you +can inspect the various staged artifacts./p /div /div div id=footer
svn commit: r1652906 - /incubator/nifi/site/trunk/content/development/release-guide.md
Author: joewitt Date: Mon Jan 19 05:15:39 2015 New Revision: 1652906 URL: http://svn.apache.org/r1652906 Log: review Modified: incubator/nifi/site/trunk/content/development/release-guide.md Modified: incubator/nifi/site/trunk/content/development/release-guide.md URL: http://svn.apache.org/viewvc/incubator/nifi/site/trunk/content/development/release-guide.md?rev=1652906r1=1652905r2=1652906view=diff == --- incubator/nifi/site/trunk/content/development/release-guide.md (original) +++ incubator/nifi/site/trunk/content/development/release-guide.md Mon Jan 19 05:15:39 2015 @@ -75,17 +75,20 @@ Follow the steps outlined in the [Quicks At this point you're on the latest 'develop' branch and are able to build the entire application -Create a JIRA ticket for the release tasks and use that for the commit messages. For example we'll consider NIFI-XYZ as our ticket. +Create a JIRA ticket for the release tasks and use that ticket number for the commit messages. For example we'll consider NIFI-123 as our ticket. Also +have in mind the release version you are planning for. For example we'll consider '0.0.1-incubating'. Create the next version in JIRA if necessary so develop work can continue towards that release. Create new branch off develop named after the JIRA ticket or just use the develop branch itself +Change directory into that of the project you wish to release. For example either `cd nifi` or `cd nar-maven-plugin` + Verify that Maven has sufficient heap space to perform the build tasks. Some plugins and parts of the build consumes a surprisingly large amount of space. These settings have been shown to work `MAVEN_OPTS=-Xms1024m -Xmx3076m -XX:MaxPermSize=256m` -Ensure your settings.xml has been updated as shown below. There are other ways to ensure your key is available for signing as well +Ensure your settings.xml has been updated as shown below. There are other ways to ensure your PGP key is available for signing as well ... profile @@ -106,6 +109,35 @@ Ensure your settings.xml has been update /servers ... +Ensure the the full application build and tests all work by executing +`mvn -T 2.5C clean install` for a parallel build. Once that completes you can +startup and test the application by `cd assembly/target' then run `bin/nifi.sh start` in the nifi build. +The application should be up and running in a few seconds at `http://localhost:8080/nifi` + +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. +This command `mvn install -Pcheck-licenses` should be run as well to help validate. If that doesn't complete cleanly it must be addressed. + +Now its time to have maven prepare the release so execute `mvn release:prepare -Psigned_release -DscmCommentPrefix=NIFI-123 -Darguments=-DskipTests`. +Maven will ask: +`What is the release version for Apache NiFi NAR Plugin? (org.apache.nifi:nar-maven-plugin) 0.0.1-incubating: :` +Just hit enter to accept the default. +Maven will then ask: +`What is SCM release tag or label for Apache NiFi NAR Plugin? (org.apache.nifi:nar-maven-plugin) nar-maven-plugin-0.0.1-incubating: : ` +Enter `nar-maven-plugin-0.0.1-incubating-RC1` or whatever the appropriate release candidate (RC) number is. +Maven will then ask: +`What is the new development version for Apache NiFi NAR Plugin? (org.apache.nifi:nar-maven-plugin) 0.0.2-incubating-SNAPSHOT: :` +Just hit enter to accept the default. + +Now that preparation went perfectly it is time to perform the release and deploy artifacts to staging. To do that execute +`mvn release:perform -Psigned_release -DscmCommentPrefix=NIFI-123 -Darguments=-DskipTests` + +That will complete successfully and this means the artifacts have been released to the Apache Nexus staging repository. You will see something like +`[INFO] * Closing staging repository with ID orgapachenifi-1010.` +So if you go in a browser to `https://repository.apache.org/#stagingRepositories` you should see `orgapachenifi-1010`. If you click on that you +can inspect the various staged artifacts. + + [quickstart-guide]: http://nifi.incubator.apache.org/development/quickstart.html [release-manager]: http://www.apache.org/dev/release-publishing.html#release_manager [apache-license]: http://apache.org/licenses/LICENSE-2.0
svn commit: r936736 - in /websites/staging/nifi/trunk/content: ./ development/release-guide.html
Author: buildbot Date: Mon Jan 19 06:01:22 2015 New Revision: 936736 Log: Staging update by buildbot for nifi Modified: websites/staging/nifi/trunk/content/ (props changed) websites/staging/nifi/trunk/content/development/release-guide.html Propchange: websites/staging/nifi/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Mon Jan 19 06:01:22 2015 @@ -1 +1 @@ -1652914 +1652915 Modified: websites/staging/nifi/trunk/content/development/release-guide.html == --- websites/staging/nifi/trunk/content/development/release-guide.html (original) +++ websites/staging/nifi/trunk/content/development/release-guide.html Mon Jan 19 06:01:22 2015 @@ -96,7 +96,7 @@ div class=jumbotron div id=content - h1 id=wzxhzdk2-apache-nifi-release-guideimg alt=NiFi logo style=float: right src=/images/niFi-logo-horizontal.png / Apache NiFi Release Guide/h1 + h1 id=wzxhzdk3-apache-nifi-release-guideimg alt=NiFi logo style=float: right src=/images/niFi-logo-horizontal.png / Apache NiFi Release Guide/h1 pThe purpose of this document is to capture and describe the steps involved in producing an official release of Apache NiFi. It is written specifically to someone acting in the capacity of a a href=http://www.apache.org/dev/release-publishing.html#release_manager;Release Manager/a (RM). /p @@ -229,33 +229,44 @@ Maven will then ask:/p pIf all looks good then push the branch to origin codegit push origin NIFI-123/code/p pNow it's time to initiate a vote within the PPMC. The following template can be used. Send the vote request to coded...@nifi.incubator.apache.org/code with a subject of code[VOTE] Release Apache NiFi nar-maven-plugin-0.0.2-incubating RC1/code/p -blockquote -pHello - I am pleased to be calling this vote for the source release of Apache NiFi - nar-maven-plugin-0.0.2-incubating./p -pThe source zip, including signatures, digests, etc can be found at: - https://repository.apache.org/content/repositories/orgapachenifi-1010/p -pThe Git tag is nar-maven-plugin-0.0.2-incubating-RC1 - The Git commit ID is 3e264c97449c921c7e0cbdec7eb94cb1d6868452 - https://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git;a=commit;h=3e264c97449c921c7e0cbdec7eb94cb1d6868452/p -pChecksums of nar-maven-plugin-0.0.2-incubating-source-release.zip: - MD5: 2728931f69fbb4503c689bd5b3f250b3 - SHA1: b32c55ad608d26987b49f6fd11fda1e1214c64fe/p -pRelease artifacts are signed with the following key: - https://people.apache.org/keys/committer/joewitt.asc/p -pKEYS file available here: - https://dist.apache.org/repos/dist/release/incubator/nifi/KEYS/p -pBinaries have been published to Maven's staging repository, and - are available here:/p -phttps://repository.apache.org/content/repositories/orgapachenifi-1000/p -p8 issues were closed/resolved for this release: - https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316020amp;version=12329307/p -pThe vote will be open for 72 hours. - Please download the release candidate and evaluate the necessary items including checking hashes, signatures, build from source, and test. The please vote:/p -p[ ] +1 Release this package as nar-maven-plugin-0.0.2-incubating - [ ] +0 no opinion - [ ] -1 Do not release this package because because.../p -/blockquote +div class=codehiliteprespan class=ogt;/spanspan class=nHello/span +span class=ogt;/spanspan class=nI/span span class=nam/span span class=npleased/span span class=nto/span span class=nbe/span span class=ncalling/span span class=nthis/span span class=nvote/span span class=kfor/span span class=nthe/span span class=nsource/span span class=nrelease/span span class=nof/span span class=nApache/span span class=nNiFi/span +span class=ogt;/spanspan class=nnar/spanspan class=o-/spanspan class=nmaven/spanspan class=o-/spanspan class=nplugin/spanspan class=o-/span0span class=p./span0span class=p./span2span class=o-/spanspan class=nincubating/spanspan class=p./span +span class=ogt;/span +span class=ogt;/spanspan class=nThe/span span class=nsource/span span class=nzip/spanspan class=p,/span span class=nincluding/span span class=nsignatures/spanspan class=p,/span span class=ndigests/spanspan class=p,/span span class=netc/span span class=ncan/span span class=nbe/span span class=nfound/span span class=nat/spanspan class=p:/span +span class=ogt;/spanspan class=nhttps/spanspan class=p:/spanspan class=o///spanspan class=nrepository/spanspan class=p./spanspan class=napache/spanspan class=p./spanspan class=norg/spanspan class=o//spanspan class=ncontent/spanspan class=o//spanspan class=nrepositories/spanspan class=o//spanspan class=norgapachenifi/spanspan class=o-/span1010 +span class=ogt;/span +span class=ogt;/spanspan class=nThe/span span
svn commit: r1652915 - /incubator/nifi/site/trunk/content/development/release-guide.md
Author: joewitt Date: Mon Jan 19 06:01:18 2015 New Revision: 1652915 URL: http://svn.apache.org/r1652915 Log: review Modified: incubator/nifi/site/trunk/content/development/release-guide.md Modified: incubator/nifi/site/trunk/content/development/release-guide.md URL: http://svn.apache.org/viewvc/incubator/nifi/site/trunk/content/development/release-guide.md?rev=1652915r1=1652914r2=1652915view=diff == --- incubator/nifi/site/trunk/content/development/release-guide.md (original) +++ incubator/nifi/site/trunk/content/development/release-guide.md Mon Jan 19 06:01:18 2015 @@ -161,41 +161,42 @@ If all looks good then push the branch t Now it's time to initiate a vote within the PPMC. The following template can be used. Send the vote request to `d...@nifi.incubator.apache.org` with a subject of `[VOTE] Release Apache NiFi nar-maven-plugin-0.0.2-incubating RC1` -Hello -I am pleased to be calling this vote for the source release of Apache NiFi -nar-maven-plugin-0.0.2-incubating. - -The source zip, including signatures, digests, etc can be found at: -https://repository.apache.org/content/repositories/orgapachenifi-1010 - -The Git tag is nar-maven-plugin-0.0.2-incubating-RC1 -The Git commit ID is 3e264c97449c921c7e0cbdec7eb94cb1d6868452 - https://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git;a=commit;h=3e264c97449c921c7e0cbdec7eb94cb1d6868452 - -Checksums of nar-maven-plugin-0.0.2-incubating-source-release.zip: -MD5: 2728931f69fbb4503c689bd5b3f250b3 -SHA1: b32c55ad608d26987b49f6fd11fda1e1214c64fe - -Release artifacts are signed with the following key: -https://people.apache.org/keys/committer/joewitt.asc - -KEYS file available here: -https://dist.apache.org/repos/dist/release/incubator/nifi/KEYS - -Binaries have been published to Maven's staging repository, and -are available here: - -https://repository.apache.org/content/repositories/orgapachenifi-1000 - -8 issues were closed/resolved for this release: - https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316020version=12329307 - -The vote will be open for 72 hours. -Please download the release candidate and evaluate the necessary items including checking hashes, signatures, build from source, and test. The please vote: - -[ ] +1 Release this package as nar-maven-plugin-0.0.2-incubating -[ ] +0 no opinion -[ ] -1 Do not release this package because because... + +Hello +I am pleased to be calling this vote for the source release of Apache NiFi +nar-maven-plugin-0.0.2-incubating. + +The source zip, including signatures, digests, etc can be found at: +https://repository.apache.org/content/repositories/orgapachenifi-1010 + +The Git tag is nar-maven-plugin-0.0.2-incubating-RC1 +The Git commit ID is 3e264c97449c921c7e0cbdec7eb94cb1d6868452 + https://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git;a=commit;h=3e264c97449c921c7e0cbdec7eb94cb1d6868452 + +Checksums of nar-maven-plugin-0.0.2-incubating-source-release.zip: +MD5: 2728931f69fbb4503c689bd5b3f250b3 +SHA1: b32c55ad608d26987b49f6fd11fda1e1214c64fe + +Release artifacts are signed with the following key: +https://people.apache.org/keys/committer/joewitt.asc + +KEYS file available here: +https://dist.apache.org/repos/dist/release/incubator/nifi/KEYS + +Binaries have been published to Maven's staging repository, and +are available here: + +https://repository.apache.org/content/repositories/orgapachenifi-1000 + +8 issues were closed/resolved for this release: + https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316020version=12329307 + +The vote will be open for 72 hours. +Please download the release candidate and evaluate the necessary items including checking hashes, signatures, build from source, and test. The please vote: + +[ ] +1 Release this package as nar-maven-plugin-0.0.2-incubating +[ ] +0 no opinion +[ ] -1 Do not release this package because because... Continue.
svn commit: r1652893 - /incubator/nifi/site/trunk/content/development/release-guide.md
Author: joewitt Date: Mon Jan 19 03:15:09 2015 New Revision: 1652893 URL: http://svn.apache.org/r1652893 Log: review Modified: incubator/nifi/site/trunk/content/development/release-guide.md Modified: incubator/nifi/site/trunk/content/development/release-guide.md URL: http://svn.apache.org/viewvc/incubator/nifi/site/trunk/content/development/release-guide.md?rev=1652893r1=1652892r2=1652893view=diff == --- incubator/nifi/site/trunk/content/development/release-guide.md (original) +++ incubator/nifi/site/trunk/content/development/release-guide.md Mon Jan 19 03:15:09 2015 @@ -72,7 +72,7 @@ The following is a list of the sorts of ### Prepare your environment - Follow the steps outlined in the [Quickstart Guide][quickstart-guide] -At this point you're on the latest 'develop' branch and are able to build the entire application +At this point you're on the latest 'develop' branch and are able to build the entire application - Create a new branch based on a JIRA ticket for the release task
svn commit: r936712 - in /websites/staging/nifi/trunk/content: ./ development/release-guide.html
Author: buildbot Date: Mon Jan 19 03:15:13 2015 New Revision: 936712 Log: Staging update by buildbot for nifi Modified: websites/staging/nifi/trunk/content/ (props changed) websites/staging/nifi/trunk/content/development/release-guide.html Propchange: websites/staging/nifi/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Mon Jan 19 03:15:13 2015 @@ -1 +1 @@ -1652892 +1652893 Modified: websites/staging/nifi/trunk/content/development/release-guide.html == --- websites/staging/nifi/trunk/content/development/release-guide.html (original) +++ websites/staging/nifi/trunk/content/development/release-guide.html Mon Jan 19 03:15:13 2015 @@ -158,13 +158,15 @@ The following is a list of the sorts of h2 id=the-mechanics-of-the-releaseThe mechanics of the release/h2 h3 id=prepare-your-environmentPrepare your environment/h3 ul -liFollow the steps outlined in the a href=http://nifi.incubator.apache.org/development/quickstart.html;Quickstart Guide/a/li -/ul +li +pFollow the steps outlined in the a href=http://nifi.incubator.apache.org/development/quickstart.html;Quickstart Guide/a/p blockquote pAt this point you're on the latest 'develop' branch and are able to build the entire application/p /blockquote -ul -liCreate a new branch based on a JIRA ticket for the release task/li +/li +li +pCreate a new branch based on a JIRA ticket for the release task/p +/li /ul /div /div
svn commit: r936711 - in /websites/staging/nifi/trunk/content: ./ development/release-guide.html
Author: buildbot Date: Mon Jan 19 03:14:37 2015 New Revision: 936711 Log: Staging update by buildbot for nifi Modified: websites/staging/nifi/trunk/content/ (props changed) websites/staging/nifi/trunk/content/development/release-guide.html Propchange: websites/staging/nifi/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Mon Jan 19 03:14:37 2015 @@ -1 +1 @@ -1652844 +1652892 Modified: websites/staging/nifi/trunk/content/development/release-guide.html == --- websites/staging/nifi/trunk/content/development/release-guide.html (original) +++ websites/staging/nifi/trunk/content/development/release-guide.html Mon Jan 19 03:14:37 2015 @@ -155,6 +155,17 @@ The following is a list of the sorts of liIf the IPMC rejects the vote then the issues are resolved and a new RC prepared and voted upon within the PPMC/li liIf the IPMC accepts the vote then the release is 'releasable' and can be placed into the appropriate 'dist' location, maven artifacts released from staging./li /ul +h2 id=the-mechanics-of-the-releaseThe mechanics of the release/h2 +h3 id=prepare-your-environmentPrepare your environment/h3 +ul +liFollow the steps outlined in the a href=http://nifi.incubator.apache.org/development/quickstart.html;Quickstart Guide/a/li +/ul +blockquote +pAt this point you're on the latest 'develop' branch and are able to build the entire application/p +/blockquote +ul +liCreate a new branch based on a JIRA ticket for the release task/li +/ul /div /div div id=footer
svn commit: r936733 - in /websites/staging/nifi/trunk/content: ./ development/release-guide.html
Author: buildbot Date: Mon Jan 19 05:54:40 2015 New Revision: 936733 Log: Staging update by buildbot for nifi Modified: websites/staging/nifi/trunk/content/ (props changed) websites/staging/nifi/trunk/content/development/release-guide.html Propchange: websites/staging/nifi/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Mon Jan 19 05:54:40 2015 @@ -1 +1 @@ -1652911 +1652912 Modified: websites/staging/nifi/trunk/content/development/release-guide.html == --- websites/staging/nifi/trunk/content/development/release-guide.html (original) +++ websites/staging/nifi/trunk/content/development/release-guide.html Mon Jan 19 05:54:40 2015 @@ -217,42 +217,44 @@ Maven will then ask:/p pThat will complete successfully and this means the artifacts have been released to the Apache Nexus staging repository. You will see something like/p pcode[INFO] * Closing staging repository with ID orgapachenifi-1010./code/p pSo if you browse to codehttps://repository.apache.org/#stagingRepositories/code login with your Apache committer credentials and you should see codeorgapachenifi-1010/code. If you click on that you can inspect the various staged artifacts./p -pValidate that all the various aspects of the staged artifacts appear correct - - Download the sources. Do they compile cleanly? If the result is a build does it execute? - - Validate the hashes match. - - Validate that the sources contain no unexpected binaries. - - Validate the signature for the build and hashes. - - Validate the LICENSE/NOTICE/DISCLAIMER/Headers.br / - - Validate that the README is present and provides sufficient information to build and if necessary execute./p +pValidate that all the various aspects of the staged artifacts appear correct/p +ul +liDownload the sources. Do they compile cleanly? If the result is a build does it execute?/li +liValidate the hashes match./li +liValidate that the sources contain no unexpected binaries./li +liValidate the signature for the build and hashes./li +liValidate the LICENSE/NOTICE/DISCLAIMER/Headers. /li +liValidate that the README is present and provides sufficient information to build and if necessary execute./li +/ul pIf all looks good then push the branch to origin codegit push origin NIFI-123/code/p pNow it's time to initiate a vote within the PPMC. The following template can be used. Send the vote request to coded...@nifi.incubator.apache.org/code - with a subject of code[VOTE] Release Apache NiFi nar-maven-plugin-0.0.2-incubating RC1/code/p +with a subject of code[VOTE] Release Apache NiFi nar-maven-plugin-0.0.2-incubating RC1/code/p blockquote pHello -I am pleased to be calling this vote for the source release of Apache NiFi -nar-maven-plugin-0.0.2-incubating./p + I am pleased to be calling this vote for the source release of Apache NiFi + nar-maven-plugin-0.0.2-incubating./p pThe source zip, including signatures, digests, etc can be found at: -https://repository.apache.org/content/repositories/orgapachenifi-1010/p + https://repository.apache.org/content/repositories/orgapachenifi-1010/p pThe Git tag is nar-maven-plugin-0.0.2-incubating-RC1 -The Git commit ID is 3e264c97449c921c7e0cbdec7eb94cb1d6868452 -https://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git;a=commit;h=3e264c97449c921c7e0cbdec7eb94cb1d6868452/p + The Git commit ID is 3e264c97449c921c7e0cbdec7eb94cb1d6868452 + https://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git;a=commit;h=3e264c97449c921c7e0cbdec7eb94cb1d6868452/p pChecksums of nar-maven-plugin-0.0.2-incubating-source-release.zip: -MD5: 2728931f69fbb4503c689bd5b3f250b3 -SHA1: b32c55ad608d26987b49f6fd11fda1e1214c64fe/p + MD5: 2728931f69fbb4503c689bd5b3f250b3 + SHA1: b32c55ad608d26987b49f6fd11fda1e1214c64fe/p pRelease artifacts are signed with the following key: -https://people.apache.org/keys/committer/joewitt.asc/p + https://people.apache.org/keys/committer/joewitt.asc/p pKEYS file available here: -https://dist.apache.org/repos/dist/release/incubator/nifi/KEYS/p + https://dist.apache.org/repos/dist/release/incubator/nifi/KEYS/p pBinaries have been published to Maven's staging repository, and -are available here:/p + are available here:/p phttps://repository.apache.org/content/repositories/orgapachenifi-1000/p p8 issues were closed/resolved for this release: -https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316020amp;version=12329307/p + https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316020amp;version=12329307/p pThe vote will be open for 72 hours. -Please download the release candidate and evaluate the necessary items including checking hashes, signatures, build from source, and test. The please vote:/p + Please download the release candidate and evaluate the necessary items including checking
svn commit: r1652919 - /incubator/nifi/site/trunk/content/development/release-guide.md
Author: joewitt Date: Mon Jan 19 06:10:24 2015 New Revision: 1652919 URL: http://svn.apache.org/r1652919 Log: review Modified: incubator/nifi/site/trunk/content/development/release-guide.md Modified: incubator/nifi/site/trunk/content/development/release-guide.md URL: http://svn.apache.org/viewvc/incubator/nifi/site/trunk/content/development/release-guide.md?rev=1652919r1=1652918r2=1652919view=diff == --- incubator/nifi/site/trunk/content/development/release-guide.md (original) +++ incubator/nifi/site/trunk/content/development/release-guide.md Mon Jan 19 06:10:24 2015 @@ -161,10 +161,41 @@ If all looks good then push the branch t Now it's time to initiate a vote within the PPMC. Send the vote request to `d...@nifi.incubator.apache.org` with a subject of `[VOTE] Release Apache NiFi nar-maven-plugin-0.0.2-incubating RC1`. The following template can be used: -Hello -I am pleased to be calling this vote for the source release of Apache NiFi -nar-maven-plugin-0.0.2-incubating. - + Hello + I am pleased to be calling this vote for the source release of Apache NiFi + nar-maven-plugin-0.0.2-incubating. + + The source zip, including signatures, digests, etc can be found at: + https://repository.apache.org/content/repositories/orgapachenifi-1010 + + The Git tag is nar-maven-plugin-0.0.2-incubating-RC1 + The Git commit ID is 3e264c97449c921c7e0cbdec7eb94cb1d6868452 + https://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git;a=commit;h=3e264c97449c921c7e0cbdec7eb94cb1d6868452 + + Checksums of nar-maven-plugin-0.0.2-incubating-source-release.zip: + MD5: 2728931f69fbb4503c689bd5b3f250b3 + SHA1: b32c55ad608d26987b49f6fd11fda1e1214c64fe + + Release artifacts are signed with the following key: + https://people.apache.org/keys/committer/joewitt.asc + + KEYS file available here: + https://dist.apache.org/repos/dist/release/incubator/nifi/KEYS + + Binaries have been published to Maven's staging repository, and + are available here: + + https://repository.apache.org/content/repositories/orgapachenifi-1000 + + 8 issues were closed/resolved for this release: + https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316020version=12329307 + + The vote will be open for 72 hours. + Please download the release candidate and evaluate the necessary items including checking hashes, signatures, build from source, and test. The please vote: + + [ ] +1 Release this package as nar-maven-plugin-0.0.2-incubating + [ ] +0 no opinion + [ ] -1 Do not release this package because because... [quickstart-guide]: http://nifi.incubator.apache.org/development/quickstart.html [release-manager]: http://www.apache.org/dev/release-publishing.html#release_manager
svn commit: r936740 - in /websites/staging/nifi/trunk/content: ./ development/release-guide.html
Author: buildbot Date: Mon Jan 19 06:10:28 2015 New Revision: 936740 Log: Staging update by buildbot for nifi Modified: websites/staging/nifi/trunk/content/ (props changed) websites/staging/nifi/trunk/content/development/release-guide.html Propchange: websites/staging/nifi/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Mon Jan 19 06:10:28 2015 @@ -1 +1 @@ -1652918 +1652919 Modified: websites/staging/nifi/trunk/content/development/release-guide.html == --- websites/staging/nifi/trunk/content/development/release-guide.html (original) +++ websites/staging/nifi/trunk/content/development/release-guide.html Mon Jan 19 06:10:28 2015 @@ -96,7 +96,7 @@ div class=jumbotron div id=content - h1 id=wzxhzdk2-apache-nifi-release-guideimg alt=NiFi logo style=float: right src=/images/niFi-logo-horizontal.png / Apache NiFi Release Guide/h1 + h1 id=wzxhzdk3-apache-nifi-release-guideimg alt=NiFi logo style=float: right src=/images/niFi-logo-horizontal.png / Apache NiFi Release Guide/h1 pThe purpose of this document is to capture and describe the steps involved in producing an official release of Apache NiFi. It is written specifically to someone acting in the capacity of a a href=http://www.apache.org/dev/release-publishing.html#release_manager;Release Manager/a (RM). /p @@ -230,9 +230,44 @@ Maven will then ask:/p pNow it's time to initiate a vote within the PPMC. Send the vote request to coded...@nifi.incubator.apache.org/code with a subject of code[VOTE] Release Apache NiFi nar-maven-plugin-0.0.2-incubating RC1/code. The following template can be used:/p blockquote -pHello -I am pleased to be calling this vote for the source release of Apache NiFi -nar-maven-plugin-0.0.2-incubating./p +div class=codehiliteprespan class=nHello/span +span class=nI/span span class=nam/span span class=npleased/span span class=nto/span span class=nbe/span span class=ncalling/span span class=nthis/span span class=nvote/span span class=kfor/span span class=nthe/span span class=nsource/span span class=nrelease/span span class=nof/span span class=nApache/span span class=nNiFi/span +span class=nnar/spanspan class=o-/spanspan class=nmaven/spanspan class=o-/spanspan class=nplugin/spanspan class=o-/span0span class=p./span0span class=p./span2span class=o-/spanspan class=nincubating/spanspan class=p./span + +span class=nThe/span span class=nsource/span span class=nzip/spanspan class=p,/span span class=nincluding/span span class=nsignatures/spanspan class=p,/span span class=ndigests/spanspan class=p,/span span class=netc/span span class=ncan/span span class=nbe/span span class=nfound/span span class=nat/spanspan class=p:/span +span class=nhttps/spanspan class=p:/spanspan class=o///spanspan class=nrepository/spanspan class=p./spanspan class=napache/spanspan class=p./spanspan class=norg/spanspan class=o//spanspan class=ncontent/spanspan class=o//spanspan class=nrepositories/spanspan class=o//spanspan class=norgapachenifi/spanspan class=o-/span1010 + +span class=nThe/span span class=nGit/span span class=ntag/span span class=nis/span span class=nnar/spanspan class=o-/spanspan class=nmaven/spanspan class=o-/spanspan class=nplugin/spanspan class=o-/span0span class=p./span0span class=p./span2span class=o-/spanspan class=nincubating/spanspan class=o-/spanspan class=nRC1/span +span class=nThe/span span class=nGit/span span class=ncommit/span span class=nID/span span class=nis/span 3span class=ne264c97449c921c7e0cbdec7eb94cb1d6868452/span +span class=nhttps/spanspan class=p:/spanspan class=o///spanspan class=ngit/spanspan class=o-/spanspan class=nwip/spanspan class=o-/spanspan class=nus/spanspan class=p./spanspan class=napache/spanspan class=p./spanspan class=norg/spanspan class=o//spanspan class=nrepos/spanspan class=o//spanspan class=nasf/span?span class=np/spanspan class=p=/spanspan class=nincubator/spanspan class=o-/spanspan class=nnifi/spanspan class=p./spanspan class=ngit/spanspan class=p;/spanspan class=na/spanspan class=p=/spanspan class=ncommit/spanspan class=p;/spanspan class=nh/spanspan class=p=/span3span class=ne264c97449c921c7e0cbdec7eb94cb1d6868452/span + +span class=nChecksums/span span class=nof/span span class=nnar/spanspan class=o-/spanspan class=nmaven/spanspan class=o-/spanspan class=nplugin/spanspan class=o-/span0span class=p./span0span class=p./span2span class=o-/spanspan class=nincubating/spanspan class=o-/spanspan class=nsource/spanspan class=o-/spanspan class=nrelease/spanspan class=p./spanspan class=nzip/spanspan class=p:/span +span class=nMD5/spanspan class=p:/span 2728931span class=nf69fbb4503c689bd5b3f250b3/span +span class=nSHA1/spanspan class=p:/span span class=nb32c55ad608d26987b49f6fd11fda1e1214c64fe/span + +span class=nRelease/span
svn commit: r1652903 - /incubator/nifi/site/trunk/content/development/release-guide.md
Author: joewitt Date: Mon Jan 19 04:18:35 2015 New Revision: 1652903 URL: http://svn.apache.org/r1652903 Log: review Modified: incubator/nifi/site/trunk/content/development/release-guide.md Modified: incubator/nifi/site/trunk/content/development/release-guide.md URL: http://svn.apache.org/viewvc/incubator/nifi/site/trunk/content/development/release-guide.md?rev=1652903r1=1652902r2=1652903view=diff == --- incubator/nifi/site/trunk/content/development/release-guide.md (original) +++ incubator/nifi/site/trunk/content/development/release-guide.md Mon Jan 19 04:18:35 2015 @@ -87,7 +87,7 @@ work `MAVEN_OPTS=-Xms1024m -Xmx3076m -X Ensure your settings.xml has been updated as shown below. There are other ways to ensure your key is available for signing as well - + ... profile idsigned_release/id properties @@ -96,7 +96,15 @@ Ensure your settings.xml has been update gpg.passphraseYOUR GPG PASSPHRASE HERE/gpg.passphrase /properties /profile - + ... +servers +server +idrepository.apache.org/id +usernamejoewitt/username + password{bPMKDb57vQEHvkLQBqJSqFh6tkjRaB38XA0HEEMWT38=}/password +/server +/servers +... [quickstart-guide]: http://nifi.incubator.apache.org/development/quickstart.html [release-manager]: http://www.apache.org/dev/release-publishing.html#release_manager
svn commit: r1652904 - /incubator/nifi/site/trunk/content/development/release-guide.md
Author: joewitt Date: Mon Jan 19 04:20:37 2015 New Revision: 1652904 URL: http://svn.apache.org/r1652904 Log: review Modified: incubator/nifi/site/trunk/content/development/release-guide.md Modified: incubator/nifi/site/trunk/content/development/release-guide.md URL: http://svn.apache.org/viewvc/incubator/nifi/site/trunk/content/development/release-guide.md?rev=1652904r1=1652903r2=1652904view=diff == --- incubator/nifi/site/trunk/content/development/release-guide.md (original) +++ incubator/nifi/site/trunk/content/development/release-guide.md Mon Jan 19 04:20:37 2015 @@ -97,14 +97,14 @@ Ensure your settings.xml has been update /properties /profile ... -servers -server -idrepository.apache.org/id -usernamejoewitt/username - password{bPMKDb57vQEHvkLQBqJSqFh6tkjRaB38XA0HEEMWT38=}/password -/server -/servers -... + servers +server +idrepository.apache.org/id +usernameYOUR USER NAME HERE/username +passwordYOUR MAVEN ENCRYPTED PASSWORD HERE/password +/server + /servers + ... [quickstart-guide]: http://nifi.incubator.apache.org/development/quickstart.html [release-manager]: http://www.apache.org/dev/release-publishing.html#release_manager
[jira] [Created] (NIFI-283) web browser processor status resize
Corey Flowers created NIFI-283: -- Summary: web browser processor status resize Key: NIFI-283 URL: https://issues.apache.org/jira/browse/NIFI-283 Project: Apache NiFi Issue Type: Bug Components: Core UI Affects Versions: 0.0.1 Environment: Chrome and IE Reporter: Corey Flowers Priority: Minor latest chrome (v39) and IE11. When you resize the window to less than half a screen, the processor status images on the main bar move below the bar into the graph area instead of resizing. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
svn commit: r936717 - in /websites/staging/nifi/trunk/content: ./ development/release-guide.html
Author: buildbot Date: Mon Jan 19 03:59:00 2015 New Revision: 936717 Log: Staging update by buildbot for nifi Modified: websites/staging/nifi/trunk/content/ (props changed) websites/staging/nifi/trunk/content/development/release-guide.html Propchange: websites/staging/nifi/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Mon Jan 19 03:59:00 2015 @@ -1 +1 @@ -1652895 +1652896 Modified: websites/staging/nifi/trunk/content/development/release-guide.html == --- websites/staging/nifi/trunk/content/development/release-guide.html (original) +++ websites/staging/nifi/trunk/content/development/release-guide.html Mon Jan 19 03:59:00 2015 @@ -96,7 +96,7 @@ div class=jumbotron div id=content - h1 id=wzxhzdk0-apache-nifi-release-guideimg alt=NiFi logo style=float: right src=/images/niFi-logo-horizontal.png / Apache NiFi Release Guide/h1 + h1 id=wzxhzdk1-apache-nifi-release-guideimg alt=NiFi logo style=float: right src=/images/niFi-logo-horizontal.png / Apache NiFi Release Guide/h1 pThe purpose of this document is to capture and describe the steps involved in producing an official release of Apache NiFi. It is written specifically to someone acting in the capacity of a a href=http://www.apache.org/dev/release-publishing.html#release_manager;Release Manager/a (RM). /p @@ -158,9 +158,10 @@ The following is a list of the sorts of h2 id=the-mechanics-of-the-releaseThe mechanics of the release/h2 h3 id=prepare-your-environmentPrepare your environment/h3 pFollow the steps outlined in the a href=http://nifi.incubator.apache.org/development/quickstart.html;Quickstart Guide/a/p -blockquote -pAt this point you're on the latest 'develop' branch and are able to build the entire application/p -/blockquote +div class=codehiliteprespan class=nAt/span span class=nthis/span span class=npoint/span span class=nyou/spanspan class=o#39;/spanspan class=nre/span span class=non/span span class=nthe/span span class=nlatest/span span class=s#39;develop#39;/span span class=nbranch/span span class=nand/span span class=nare/span span class=nable/span span class=nto/span span class=nbuild/span span class=nthe/span span class=nentire/span span class=napplication/span +/pre/div + + pCreate a new branch based on a JIRA ticket for the release task/p /div /div
svn commit: r936722 - in /websites/staging/nifi/trunk/content: ./ development/release-guide.html
Author: buildbot Date: Mon Jan 19 04:16:26 2015 New Revision: 936722 Log: Staging update by buildbot for nifi Modified: websites/staging/nifi/trunk/content/ (props changed) websites/staging/nifi/trunk/content/development/release-guide.html Propchange: websites/staging/nifi/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Mon Jan 19 04:16:26 2015 @@ -1 +1 @@ -1652900 +1652901 Modified: websites/staging/nifi/trunk/content/development/release-guide.html == --- websites/staging/nifi/trunk/content/development/release-guide.html (original) +++ websites/staging/nifi/trunk/content/development/release-guide.html Mon Jan 19 04:16:26 2015 @@ -96,7 +96,7 @@ div class=jumbotron div id=content - h1 id=wzxhzdk1-apache-nifi-release-guideimg alt=NiFi logo style=float: right src=/images/niFi-logo-horizontal.png / Apache NiFi Release Guide/h1 + h1 id=wzxhzdk2-apache-nifi-release-guideimg alt=NiFi logo style=float: right src=/images/niFi-logo-horizontal.png / Apache NiFi Release Guide/h1 pThe purpose of this document is to capture and describe the steps involved in producing an official release of Apache NiFi. It is written specifically to someone acting in the capacity of a a href=http://www.apache.org/dev/release-publishing.html#release_manager;Release Manager/a (RM). /p @@ -165,18 +165,23 @@ The following is a list of the sorts of pCreate a JIRA ticket for the release tasks and use that for the commit messages. For example we'll consider NIFI-XYZ as our ticket./p pCreate the next version in JIRA if necessary so develop work can continue towards that release./p pCreate new branch off develop named after the JIRA ticket or just use the develop branch itself/p -pEnsure your maven settings have been updated./p -pVerify that Maven has sufficient heap space to perform the build tasks. Some of them consume a surprising large amount of space. -These settings have been shown to work codeMAVEN_OPTS=-Xms1024m -Xmx3076m -XX:MaxPermSize=256m/code/p +pVerify that Maven has sufficient heap space to perform the build tasks. Some plugins and parts of the build +consumes a surprisingly large amount of space. These settings have been shown to +work codeMAVEN_OPTS=-Xms1024m -Xmx3076m -XX:MaxPermSize=256m/code/p pEnsure your settings.xml has been updated as shown below. There are other ways to ensure your key is available for signing as well/p -pcodelt;profilegt; -lt;idgt;signed_releaselt;/idgt; -lt;propertiesgt; -lt;mavenExecutorIdgt;forked-pathlt;/mavenExecutorIdgt; -lt;gpg.keynamegt;YOUR GPG KEY ID HERElt;/gpg.keynamegt; -lt;gpg.passphrasegt;YOUR GPG PASSPHRASE HERElt;/gpg.passphrasegt; -lt;/propertiesgt; -lt;/profilegt;/code/p +blockquote +div class=codehilitepre span class=ntlt;profilegt;/span +span class=ntlt;idgt;/spansigned_releasespan class=ntlt;/idgt;/span +span class=ntlt;propertiesgt;/span +span class=ntlt;mavenExecutorIdgt;/spanforked-pathspan class=ntlt;/mavenExecutorIdgt;/span +span class=ntlt;gpg.keynamegt;/spanYOUR GPG KEY ID HEREspan class=ntlt;/gpg.keynamegt;/span +span class=ntlt;gpg.passphrasegt;/spanYOUR GPG PASSPHRASE HEREspan class=ntlt;/gpg.passphrasegt;/span +span class=ntlt;/propertiesgt;/span +span class=ntlt;/profilegt;/span +/pre/div + + +/blockquote /div /div div id=footer
svn commit: r936723 - in /websites/staging/nifi/trunk/content: ./ development/release-guide.html
Author: buildbot Date: Mon Jan 19 04:18:39 2015 New Revision: 936723 Log: Staging update by buildbot for nifi Modified: websites/staging/nifi/trunk/content/ (props changed) websites/staging/nifi/trunk/content/development/release-guide.html Propchange: websites/staging/nifi/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Mon Jan 19 04:18:39 2015 @@ -1 +1 @@ -1652901 +1652903 Modified: websites/staging/nifi/trunk/content/development/release-guide.html == --- websites/staging/nifi/trunk/content/development/release-guide.html (original) +++ websites/staging/nifi/trunk/content/development/release-guide.html Mon Jan 19 04:18:39 2015 @@ -170,7 +170,8 @@ consumes a surprisingly large amount of work codeMAVEN_OPTS=-Xms1024m -Xmx3076m -XX:MaxPermSize=256m/code/p pEnsure your settings.xml has been updated as shown below. There are other ways to ensure your key is available for signing as well/p blockquote -div class=codehilitepre span class=ntlt;profilegt;/span +div class=codehilitepre ... + span class=ntlt;profilegt;/span span class=ntlt;idgt;/spansigned_releasespan class=ntlt;/idgt;/span span class=ntlt;propertiesgt;/span span class=ntlt;mavenExecutorIdgt;/spanforked-pathspan class=ntlt;/mavenExecutorIdgt;/span @@ -178,9 +179,18 @@ work codeMAVEN_OPTS=-Xms1024m -Xmx307 span class=ntlt;gpg.passphrasegt;/spanYOUR GPG PASSPHRASE HEREspan class=ntlt;/gpg.passphrasegt;/span span class=ntlt;/propertiesgt;/span span class=ntlt;/profilegt;/span +... /pre/div +pservers + server + idrepository.apache.org/id + usernamejoewitt/username + password{bPMKDb57vQEHvkLQBqJSqFh6tkjRaB38XA0HEEMWT38=}/password + /server + /servers + .../p /blockquote /div /div
svn commit: r1652901 - /incubator/nifi/site/trunk/content/development/release-guide.md
Author: joewitt Date: Mon Jan 19 04:16:21 2015 New Revision: 1652901 URL: http://svn.apache.org/r1652901 Log: review Modified: incubator/nifi/site/trunk/content/development/release-guide.md Modified: incubator/nifi/site/trunk/content/development/release-guide.md URL: http://svn.apache.org/viewvc/incubator/nifi/site/trunk/content/development/release-guide.md?rev=1652901r1=1652900r2=1652901view=diff == --- incubator/nifi/site/trunk/content/development/release-guide.md (original) +++ incubator/nifi/site/trunk/content/development/release-guide.md Mon Jan 19 04:16:21 2015 @@ -81,27 +81,21 @@ Create the next version in JIRA if neces Create new branch off develop named after the JIRA ticket or just use the develop branch itself -Ensure your maven settings have been updated. - -Verify that Maven has sufficient heap space to perform the build tasks. Some of them consume a surprising large amount of space. -These settings have been shown to work `MAVEN_OPTS=-Xms1024m -Xmx3076m -XX:MaxPermSize=256m` +Verify that Maven has sufficient heap space to perform the build tasks. Some plugins and parts of the build +consumes a surprisingly large amount of space. These settings have been shown to +work `MAVEN_OPTS=-Xms1024m -Xmx3076m -XX:MaxPermSize=256m` Ensure your settings.xml has been updated as shown below. There are other ways to ensure your key is available for signing as well - -``` - profile -idsigned_release/id -properties -mavenExecutorIdforked-path/mavenExecutorId -gpg.keynameYOUR GPG KEY ID HERE/gpg.keyname -gpg.passphraseYOUR GPG PASSPHRASE HERE/gpg.passphrase -/properties -/profile -``` - - + profile + idsigned_release/id + properties + mavenExecutorIdforked-path/mavenExecutorId + gpg.keynameYOUR GPG KEY ID HERE/gpg.keyname + gpg.passphraseYOUR GPG PASSPHRASE HERE/gpg.passphrase + /properties + /profile [quickstart-guide]: http://nifi.incubator.apache.org/development/quickstart.html
svn commit: r936729 - in /websites/staging/nifi/trunk/content: ./ development/release-guide.html
Author: buildbot Date: Mon Jan 19 05:16:34 2015 New Revision: 936729 Log: Staging update by buildbot for nifi Modified: websites/staging/nifi/trunk/content/ (props changed) websites/staging/nifi/trunk/content/development/release-guide.html Propchange: websites/staging/nifi/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Mon Jan 19 05:16:34 2015 @@ -1 +1 @@ -1652906 +1652907 Modified: websites/staging/nifi/trunk/content/development/release-guide.html == --- websites/staging/nifi/trunk/content/development/release-guide.html (original) +++ websites/staging/nifi/trunk/content/development/release-guide.html Mon Jan 19 05:16:34 2015 @@ -202,20 +202,20 @@ The application should be up and running Developers should always be keeping these up to date as they go along adding source and modifying dependencies to keep this burden manageable.br / This command codemvn install -Pcheck-licenses/code should be run as well to help validate. If that doesn't complete cleanly it must be addressed./p pNow its time to have maven prepare the release so execute codemvn release:prepare -Psigned_release -DscmCommentPrefix=NIFI-123 -Darguments=-DskipTests/code. -Maven will ask: -codeWhat is the release version for Apache NiFi NAR Plugin? (org.apache.nifi:nar-maven-plugin) 0.0.1-incubating: :/code -Just hit enter to accept the default. -Maven will then ask: -codeWhat is SCM release tag or label for Apache NiFi NAR Plugin? (org.apache.nifi:nar-maven-plugin) nar-maven-plugin-0.0.1-incubating: :/code -Enter codenar-maven-plugin-0.0.1-incubating-RC1/code or whatever the appropriate release candidate (RC) number is. -Maven will then ask: -codeWhat is the new development version for Apache NiFi NAR Plugin? (org.apache.nifi:nar-maven-plugin) 0.0.2-incubating-SNAPSHOT: :/code -Just hit enter to accept the default./p -pNow that preparation went perfectly it is time to perform the release and deploy artifacts to staging. To do that execute -codemvn release:perform -Psigned_release -DscmCommentPrefix=NIFI-123 -Darguments=-DskipTests/code/p -pThat will complete successfully and this means the artifacts have been released to the Apache Nexus staging repository. You will see something like -code[INFO] * Closing staging repository with ID orgapachenifi-1010./code -So if you go in a browser to codehttps://repository.apache.org/#stagingRepositories/code you should see codeorgapachenifi-1010/code. If you click on that you +Maven will ask:/p +pcodeWhat is the release version for Apache NiFi NAR Plugin? (org.apache.nifi:nar-maven-plugin) 0.0.1-incubating: :/code/p +pJust hit enter to accept the default./p +pMaven will then ask:/p +pcodeWhat is SCM release tag or label for Apache NiFi NAR Plugin? (org.apache.nifi:nar-maven-plugin) nar-maven-plugin-0.0.1-incubating: :/code/p +pEnter codenar-maven-plugin-0.0.1-incubating-RC1/code or whatever the appropriate release candidate (RC) number is. +Maven will then ask:/p +pcodeWhat is the new development version for Apache NiFi NAR Plugin? (org.apache.nifi:nar-maven-plugin) 0.0.2-incubating-SNAPSHOT: :/code/p +pJust hit enter to accept the default./p +pNow that preparation went perfectly it is time to perform the release and deploy artifacts to staging. To do that execute/p +pcodemvn release:perform -Psigned_release -DscmCommentPrefix=NIFI-123 -Darguments=-DskipTests/code/p +pThat will complete successfully and this means the artifacts have been released to the Apache Nexus staging repository. You will see something like/p +pcode[INFO] * Closing staging repository with ID orgapachenifi-1010./code/p +pSo if you go in a browser to codehttps://repository.apache.org/#stagingRepositories/code you should see codeorgapachenifi-1010/code. If you click on that you can inspect the various staged artifacts./p /div /div
svn commit: r1652907 - /incubator/nifi/site/trunk/content/development/release-guide.md
Author: joewitt Date: Mon Jan 19 05:16:30 2015 New Revision: 1652907 URL: http://svn.apache.org/r1652907 Log: review Modified: incubator/nifi/site/trunk/content/development/release-guide.md Modified: incubator/nifi/site/trunk/content/development/release-guide.md URL: http://svn.apache.org/viewvc/incubator/nifi/site/trunk/content/development/release-guide.md?rev=1652907r1=1652906r2=1652907view=diff == --- incubator/nifi/site/trunk/content/development/release-guide.md (original) +++ incubator/nifi/site/trunk/content/development/release-guide.md Mon Jan 19 05:16:30 2015 @@ -120,20 +120,30 @@ This command `mvn install -Pcheck-licens Now its time to have maven prepare the release so execute `mvn release:prepare -Psigned_release -DscmCommentPrefix=NIFI-123 -Darguments=-DskipTests`. Maven will ask: + `What is the release version for Apache NiFi NAR Plugin? (org.apache.nifi:nar-maven-plugin) 0.0.1-incubating: :` + Just hit enter to accept the default. + Maven will then ask: + `What is SCM release tag or label for Apache NiFi NAR Plugin? (org.apache.nifi:nar-maven-plugin) nar-maven-plugin-0.0.1-incubating: : ` + Enter `nar-maven-plugin-0.0.1-incubating-RC1` or whatever the appropriate release candidate (RC) number is. Maven will then ask: + `What is the new development version for Apache NiFi NAR Plugin? (org.apache.nifi:nar-maven-plugin) 0.0.2-incubating-SNAPSHOT: :` + Just hit enter to accept the default. Now that preparation went perfectly it is time to perform the release and deploy artifacts to staging. To do that execute + `mvn release:perform -Psigned_release -DscmCommentPrefix=NIFI-123 -Darguments=-DskipTests` That will complete successfully and this means the artifacts have been released to the Apache Nexus staging repository. You will see something like + `[INFO] * Closing staging repository with ID orgapachenifi-1010.` + So if you go in a browser to `https://repository.apache.org/#stagingRepositories` you should see `orgapachenifi-1010`. If you click on that you can inspect the various staged artifacts.
svn commit: r936732 - in /websites/staging/nifi/trunk/content: ./ development/release-guide.html
Author: buildbot Date: Mon Jan 19 05:51:16 2015 New Revision: 936732 Log: Staging update by buildbot for nifi Modified: websites/staging/nifi/trunk/content/ (props changed) websites/staging/nifi/trunk/content/development/release-guide.html Propchange: websites/staging/nifi/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Mon Jan 19 05:51:16 2015 @@ -1 +1 @@ -1652907 +1652911 Modified: websites/staging/nifi/trunk/content/development/release-guide.html == --- websites/staging/nifi/trunk/content/development/release-guide.html (original) +++ websites/staging/nifi/trunk/content/development/release-guide.html Mon Jan 19 05:51:16 2015 @@ -165,7 +165,8 @@ The following is a list of the sorts of pCreate a JIRA ticket for the release tasks and use that ticket number for the commit messages. For example we'll consider NIFI-123 as our ticket. Also have in mind the release version you are planning for. For example we'll consider '0.0.1-incubating'./p pCreate the next version in JIRA if necessary so develop work can continue towards that release./p -pCreate new branch off develop named after the JIRA ticket or just use the develop branch itself/p +pCreate new branch off develop named after the JIRA ticket or just use the develop branch itself. Here we'll use a branch off of develop with +codegit checkout -b NIFI-123/code/p pChange directory into that of the project you wish to release. For example either codecd nifi/code or codecd nar-maven-plugin/code/p pVerify that Maven has sufficient heap space to perform the build tasks. Some plugins and parts of the build consumes a surprisingly large amount of space. These settings have been shown to @@ -215,8 +216,45 @@ Maven will then ask:/p pcodemvn release:perform -Psigned_release -DscmCommentPrefix=NIFI-123 -Darguments=-DskipTests/code/p pThat will complete successfully and this means the artifacts have been released to the Apache Nexus staging repository. You will see something like/p pcode[INFO] * Closing staging repository with ID orgapachenifi-1010./code/p -pSo if you go in a browser to codehttps://repository.apache.org/#stagingRepositories/code you should see codeorgapachenifi-1010/code. If you click on that you -can inspect the various staged artifacts./p +pSo if you browse to codehttps://repository.apache.org/#stagingRepositories/code login with your Apache committer credentials and you should see codeorgapachenifi-1010/code. If you click on that you can inspect the various staged artifacts./p +pValidate that all the various aspects of the staged artifacts appear correct + - Download the sources. Do they compile cleanly? If the result is a build does it execute? + - Validate the hashes match. + - Validate that the sources contain no unexpected binaries. + - Validate the signature for the build and hashes. + - Validate the LICENSE/NOTICE/DISCLAIMER/Headers.br / + - Validate that the README is present and provides sufficient information to build and if necessary execute./p +pIf all looks good then push the branch to origin codegit push origin NIFI-123/code/p +pNow it's time to initiate a vote within the PPMC. The following template can be used. Send the vote request to coded...@nifi.incubator.apache.org/code + with a subject of code[VOTE] Release Apache NiFi nar-maven-plugin-0.0.2-incubating RC1/code/p +blockquote +pHello +I am pleased to be calling this vote for the source release of Apache NiFi +nar-maven-plugin-0.0.2-incubating./p +pThe source zip, including signatures, digests, etc can be found at: +https://repository.apache.org/content/repositories/orgapachenifi-1010/p +pThe Git tag is nar-maven-plugin-0.0.2-incubating-RC1 +The Git commit ID is 3e264c97449c921c7e0cbdec7eb94cb1d6868452 +https://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git;a=commit;h=3e264c97449c921c7e0cbdec7eb94cb1d6868452/p +pChecksums of nar-maven-plugin-0.0.2-incubating-source-release.zip: +MD5: 2728931f69fbb4503c689bd5b3f250b3 +SHA1: b32c55ad608d26987b49f6fd11fda1e1214c64fe/p +pRelease artifacts are signed with the following key: +https://people.apache.org/keys/committer/joewitt.asc/p +pKEYS file available here: +https://dist.apache.org/repos/dist/release/incubator/nifi/KEYS/p +pBinaries have been published to Maven's staging repository, and +are available here:/p +phttps://repository.apache.org/content/repositories/orgapachenifi-1000/p +p8 issues were closed/resolved for this release: +https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316020amp;version=12329307/p +pThe vote will be open for 72 hours. +Please download the release candidate and evaluate the necessary items including checking hashes, signatures, build from source, and test. The please vote:/p +p[ ] +1 Release this package as
svn commit: r1652911 - /incubator/nifi/site/trunk/content/development/release-guide.md
Author: joewitt Date: Mon Jan 19 05:51:12 2015 New Revision: 1652911 URL: http://svn.apache.org/r1652911 Log: review Modified: incubator/nifi/site/trunk/content/development/release-guide.md Modified: incubator/nifi/site/trunk/content/development/release-guide.md URL: http://svn.apache.org/viewvc/incubator/nifi/site/trunk/content/development/release-guide.md?rev=1652911r1=1652910r2=1652911view=diff == --- incubator/nifi/site/trunk/content/development/release-guide.md (original) +++ incubator/nifi/site/trunk/content/development/release-guide.md Mon Jan 19 05:51:12 2015 @@ -80,7 +80,8 @@ have in mind the release version you are Create the next version in JIRA if necessary so develop work can continue towards that release. -Create new branch off develop named after the JIRA ticket or just use the develop branch itself +Create new branch off develop named after the JIRA ticket or just use the develop branch itself. Here we'll use a branch off of develop with +`git checkout -b NIFI-123` Change directory into that of the project you wish to release. For example either `cd nifi` or `cd nar-maven-plugin` @@ -144,9 +145,57 @@ That will complete successfully and this `[INFO] * Closing staging repository with ID orgapachenifi-1010.` -So if you go in a browser to `https://repository.apache.org/#stagingRepositories` you should see `orgapachenifi-1010`. If you click on that you -can inspect the various staged artifacts. +So if you browse to `https://repository.apache.org/#stagingRepositories` login with your Apache committer credentials and you should see `orgapachenifi-1010`. If you click on that you can inspect the various staged artifacts. +Validate that all the various aspects of the staged artifacts appear correct + - Download the sources. Do they compile cleanly? If the result is a build does it execute? + - Validate the hashes match. + - Validate that the sources contain no unexpected binaries. + - Validate the signature for the build and hashes. + - Validate the LICENSE/NOTICE/DISCLAIMER/Headers. + - Validate that the README is present and provides sufficient information to build and if necessary execute. + + If all looks good then push the branch to origin `git push origin NIFI-123` + + Now it's time to initiate a vote within the PPMC. The following template can be used. Send the vote request to `d...@nifi.incubator.apache.org` + with a subject of `[VOTE] Release Apache NiFi nar-maven-plugin-0.0.2-incubating RC1` + + Hello + I am pleased to be calling this vote for the source release of Apache NiFi + nar-maven-plugin-0.0.2-incubating. + + The source zip, including signatures, digests, etc can be found at: + https://repository.apache.org/content/repositories/orgapachenifi-1010 + + The Git tag is nar-maven-plugin-0.0.2-incubating-RC1 + The Git commit ID is 3e264c97449c921c7e0cbdec7eb94cb1d6868452 + https://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git;a=commit;h=3e264c97449c921c7e0cbdec7eb94cb1d6868452 + + Checksums of nar-maven-plugin-0.0.2-incubating-source-release.zip: + MD5: 2728931f69fbb4503c689bd5b3f250b3 + SHA1: b32c55ad608d26987b49f6fd11fda1e1214c64fe + + Release artifacts are signed with the following key: + https://people.apache.org/keys/committer/joewitt.asc + + KEYS file available here: + https://dist.apache.org/repos/dist/release/incubator/nifi/KEYS + + Binaries have been published to Maven's staging repository, and + are available here: + + https://repository.apache.org/content/repositories/orgapachenifi-1000 + + 8 issues were closed/resolved for this release: + https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316020version=12329307 + + The vote will be open for 72 hours. + Please download the release candidate and evaluate the necessary items including checking hashes, signatures, build from source, and test. The please vote: + + [ ] +1 Release this package as nar-maven-plugin-0.0.2-incubating + [ ] +0 no opinion + [ ] -1 Do not release this package because because... + [quickstart-guide]: http://nifi.incubator.apache.org/development/quickstart.html [release-manager]: http://www.apache.org/dev/release-publishing.html#release_manager
[jira] [Updated] (NIFI-171) Change the package of the nar-maven-plugin
[ https://issues.apache.org/jira/browse/NIFI-171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joseph Witt updated NIFI-171: - Fix Version/s: (was: 0.0.1) nar-maven-plugin 0.0.2 Change the package of the nar-maven-plugin -- Key: NIFI-171 URL: https://issues.apache.org/jira/browse/NIFI-171 Project: Apache NiFi Issue Type: Improvement Components: Tools and Build Affects Versions: 0.0.1 Reporter: Karl Heinz Marbaise Assignee: Joseph Witt Priority: Minor Labels: maven Fix For: nar-maven-plugin 0.0.2 The package of the nar-maven-plugin is currently only {{nifiy}} which should be something like this: {{org.apache.nifi.maven.plugins}} may be {{org.apache.nifi.maven}} would be a good choice. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (NIFI-168) Correctly inject MavenProject / MavenSession into nar-maven-plugin
[ https://issues.apache.org/jira/browse/NIFI-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joseph Witt updated NIFI-168: - Fix Version/s: (was: 0.0.1) nar-maven-plugin 0.0.2 Correctly inject MavenProject / MavenSession into nar-maven-plugin -- Key: NIFI-168 URL: https://issues.apache.org/jira/browse/NIFI-168 Project: Apache NiFi Issue Type: Improvement Components: Tools and Build Affects Versions: 0.0.1 Reporter: Karl Heinz Marbaise Assignee: Joseph Witt Priority: Minor Labels: maven, patch Fix For: nar-maven-plugin 0.0.2 Attachments: 0001-NIFI-168-Correctly-inject-MavenProject-MavenSession-.patch The documentation for the plugin [parameter evaluation|http://maven.apache.org/ref/3.1.1/maven-core/apidocs/org/apache/maven/plugin/PluginParameterExpressionEvaluator.html] shows howto inject the parameters of MavenProject and MavenSession into the Mojo. {code:java} @Parameter( defaultValue = ${project}, readonly = true, required = true ) protected MavenProject project; {code} The same for MavenSession: {code:java} @Parameter( defaultValue = ${session}, readonly = true, required = true ) protected MavenSession session; {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (NIFI-173) nar maven plugin needs to create a directory with a more unique name than depdencies
[ https://issues.apache.org/jira/browse/NIFI-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joseph Witt updated NIFI-173: - Fix Version/s: (was: 0.0.1) nar-maven-plugin 0.0.2 nar maven plugin needs to create a directory with a more unique name than depdencies Key: NIFI-173 URL: https://issues.apache.org/jira/browse/NIFI-173 Project: Apache NiFi Issue Type: Sub-task Components: Tools and Build Reporter: Joseph Witt Assignee: Joseph Witt Fix For: nar-maven-plugin 0.0.2 the nar maven plugin seems to be creating build issues on some platforms since it makes a directory called 'dependencies' in the nar and the apache stuff is causing there to be also be a 'DEPENDENCIES' dir. So needing a more unique name. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (NIFI-167) Enhancement to support Maven 3.X instead of Maven 3.2.X
[ https://issues.apache.org/jira/browse/NIFI-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joseph Witt updated NIFI-167: - Fix Version/s: (was: 0.0.1) nar-maven-plugin 0.0.2 Enhancement to support Maven 3.X instead of Maven 3.2.X --- Key: NIFI-167 URL: https://issues.apache.org/jira/browse/NIFI-167 Project: Apache NiFi Issue Type: Improvement Components: Tools and Build Affects Versions: 0.0.1 Reporter: Karl Heinz Marbaise Assignee: Joseph Witt Priority: Minor Labels: maven, patch Fix For: nar-maven-plugin 0.0.2 Attachments: 0001-NIFI-167-Added-appropriate-Maven-configuration-to-bu.patch It looks like the nar-maven-plugin seemed to be the limiting factor in running Maven 3.2.X instead of Maven 3.X -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (NIFI-194) Could not do `mvn clean package` after nar-plugin has been built.
[ https://issues.apache.org/jira/browse/NIFI-194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joseph Witt updated NIFI-194: - Fix Version/s: (was: 0.0.1) nar-maven-plugin 0.0.2 Could not do `mvn clean package` after nar-plugin has been built. - Key: NIFI-194 URL: https://issues.apache.org/jira/browse/NIFI-194 Project: Apache NiFi Issue Type: Bug Components: Tools and Build Affects Versions: 0.0.1 Reporter: Karl Heinz Marbaise Assignee: Joseph Witt Priority: Critical Labels: patch Fix For: nar-maven-plugin 0.0.2 After you have build the `nar-maven-plugin` via `mvn install` you should be able to build the whole project via: {{mvn clean package}} but you will get a failure during the build like this: {code} [INFO] Final Memory: 50M/720M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (default) on project core-api: Failed to resolve dependencies for one or more projects in the reactor. Reason: No versions are present in the repository for the artifact with a range [0.0.1-SNAPSHOT,1.0.0-SNAPSHOT) [ERROR] org.apache.nifi:nifi-nar:jar:null [ERROR] [ERROR] from the specified remote repositories: [ERROR] nexus (http://localhost:8081/nexus/content/groups/public, releases=true, snapshots=true) [ERROR] Path to dependency: {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (NIFI-270) Release preparation, phase 2
[ https://issues.apache.org/jira/browse/NIFI-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joseph Witt updated NIFI-270: - Fix Version/s: (was: 0.0.1) nar-maven-plugin 0.0.2 Release preparation, phase 2 Key: NIFI-270 URL: https://issues.apache.org/jira/browse/NIFI-270 Project: Apache NiFi Issue Type: Task Reporter: Benson Margulies Assignee: Benson Margulies Fix For: nar-maven-plugin 0.0.2 Get version numbers, pom config, whatever, ready for release of the maven plugin. Some cleanup for releasing the rest might also occur. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (NIFI-245) nar-maven-plugin releasable
[ https://issues.apache.org/jira/browse/NIFI-245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joseph Witt updated NIFI-245: - Fix Version/s: (was: 0.0.1) nar-maven-plugin 0.0.2 nar-maven-plugin releasable --- Key: NIFI-245 URL: https://issues.apache.org/jira/browse/NIFI-245 Project: Apache NiFi Issue Type: Task Reporter: Benson Margulies Assignee: Benson Margulies Fix For: nar-maven-plugin 0.0.2 the maven release plugin must work for the nar-maven-plugin. This requires some config adjustments. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
svn commit: r936716 - in /websites/staging/nifi/trunk/content: ./ development/release-guide.html
Author: buildbot Date: Mon Jan 19 03:55:53 2015 New Revision: 936716 Log: Staging update by buildbot for nifi Modified: websites/staging/nifi/trunk/content/ (props changed) websites/staging/nifi/trunk/content/development/release-guide.html Propchange: websites/staging/nifi/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Mon Jan 19 03:55:53 2015 @@ -1 +1 @@ -1652894 +1652895 Modified: websites/staging/nifi/trunk/content/development/release-guide.html == --- websites/staging/nifi/trunk/content/development/release-guide.html (original) +++ websites/staging/nifi/trunk/content/development/release-guide.html Mon Jan 19 03:55:53 2015 @@ -157,15 +157,11 @@ The following is a list of the sorts of /ul h2 id=the-mechanics-of-the-releaseThe mechanics of the release/h2 h3 id=prepare-your-environmentPrepare your environment/h3 -ul -li pFollow the steps outlined in the a href=http://nifi.incubator.apache.org/development/quickstart.html;Quickstart Guide/a/p +blockquote pAt this point you're on the latest 'develop' branch and are able to build the entire application/p -/li -li +/blockquote pCreate a new branch based on a JIRA ticket for the release task/p -/li -/ul /div /div div id=footer
svn commit: r936721 - in /websites/staging/nifi/trunk/content: ./ development/release-guide.html
Author: buildbot Date: Mon Jan 19 04:14:16 2015 New Revision: 936721 Log: Staging update by buildbot for nifi Modified: websites/staging/nifi/trunk/content/ (props changed) websites/staging/nifi/trunk/content/development/release-guide.html Propchange: websites/staging/nifi/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Mon Jan 19 04:14:16 2015 @@ -1 +1 @@ -1652899 +1652900 Modified: websites/staging/nifi/trunk/content/development/release-guide.html == --- websites/staging/nifi/trunk/content/development/release-guide.html (original) +++ websites/staging/nifi/trunk/content/development/release-guide.html Mon Jan 19 04:14:16 2015 @@ -165,12 +165,10 @@ The following is a list of the sorts of pCreate a JIRA ticket for the release tasks and use that for the commit messages. For example we'll consider NIFI-XYZ as our ticket./p pCreate the next version in JIRA if necessary so develop work can continue towards that release./p pCreate new branch off develop named after the JIRA ticket or just use the develop branch itself/p -pEnsure your maven settings have been updated. - - Verify that Maven has sufficient heap space to perform the build tasks. Some of them consume a surprising large amount of space. +pEnsure your maven settings have been updated./p +pVerify that Maven has sufficient heap space to perform the build tasks. Some of them consume a surprising large amount of space. These settings have been shown to work codeMAVEN_OPTS=-Xms1024m -Xmx3076m -XX:MaxPermSize=256m/code/p -ul -liEnsure your settings.xml has been updated as shown below. There are other ways to ensure your key is available for signing as well/li -/ul +pEnsure your settings.xml has been updated as shown below. There are other ways to ensure your key is available for signing as well/p pcodelt;profilegt; lt;idgt;signed_releaselt;/idgt; lt;propertiesgt;
svn commit: r936738 - in /websites/staging/nifi/trunk/content: ./ development/release-guide.html
Author: buildbot Date: Mon Jan 19 06:04:35 2015 New Revision: 936738 Log: Staging update by buildbot for nifi Modified: websites/staging/nifi/trunk/content/ (props changed) websites/staging/nifi/trunk/content/development/release-guide.html Propchange: websites/staging/nifi/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Mon Jan 19 06:04:35 2015 @@ -1 +1 @@ -1652916 +1652917 Modified: websites/staging/nifi/trunk/content/development/release-guide.html == --- websites/staging/nifi/trunk/content/development/release-guide.html (original) +++ websites/staging/nifi/trunk/content/development/release-guide.html Mon Jan 19 06:04:35 2015 @@ -231,30 +231,7 @@ Maven will then ask:/p with a subject of code[VOTE] Release Apache NiFi nar-maven-plugin-0.0.2-incubating RC1/code/p blockquote pHello -I am pleased to be calling this vote for the source release of Apache NiFi -nar-maven-plugin-0.0.2-incubating./p -pThe source zip, including signatures, digests, etc can be found at: -https://repository.apache.org/content/repositories/orgapachenifi-1010/p -pThe Git tag is nar-maven-plugin-0.0.2-incubating-RC1 -The Git commit ID is 3e264c97449c921c7e0cbdec7eb94cb1d6868452 -https://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git;a=commit;h=3e264c97449c921c7e0cbdec7eb94cb1d6868452/p -pChecksums of nar-maven-plugin-0.0.2-incubating-source-release.zip: -MD5: 2728931f69fbb4503c689bd5b3f250b3 -SHA1: b32c55ad608d26987b49f6fd11fda1e1214c64fe/p -pRelease artifacts are signed with the following key: -https://people.apache.org/keys/committer/joewitt.asc/p -pKEYS file available here: -https://dist.apache.org/repos/dist/release/incubator/nifi/KEYS/p -pBinaries have been published to Maven's staging repository, and -are available here:/p -phttps://repository.apache.org/content/repositories/orgapachenifi-1000/p -p8 issues were closed/resolved for this release: -https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316020amp;version=12329307/p -pThe vote will be open for 72 hours. -Please download the release candidate and evaluate the necessary items including checking hashes, signatures, build from source, and test. The please vote:/p -p[ ] +1 Release this package as nar-maven-plugin-0.0.2-incubating -[ ] +0 no opinion -[ ] -1 Do not release this package because because.../p +I am pleased to be calling this vote for the source release of Apache NiFi/p /blockquote /div /div
svn commit: r936713 - in /websites/staging/nifi/trunk/content: ./ development/release-guide.html
Author: buildbot Date: Mon Jan 19 03:15:35 2015 New Revision: 936713 Log: Staging update by buildbot for nifi Modified: websites/staging/nifi/trunk/content/ (props changed) websites/staging/nifi/trunk/content/development/release-guide.html Propchange: websites/staging/nifi/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Mon Jan 19 03:15:35 2015 @@ -1 +1 @@ -1652893 +1652894 Modified: websites/staging/nifi/trunk/content/development/release-guide.html == --- websites/staging/nifi/trunk/content/development/release-guide.html (original) +++ websites/staging/nifi/trunk/content/development/release-guide.html Mon Jan 19 03:15:35 2015 @@ -160,9 +160,7 @@ The following is a list of the sorts of ul li pFollow the steps outlined in the a href=http://nifi.incubator.apache.org/development/quickstart.html;Quickstart Guide/a/p -blockquote pAt this point you're on the latest 'develop' branch and are able to build the entire application/p -/blockquote /li li pCreate a new branch based on a JIRA ticket for the release task/p
[jira] [Commented] (NIFI-270) Release preparation, phase 2
[ https://issues.apache.org/jira/browse/NIFI-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14282160#comment-14282160 ] ASF subversion and git services commented on NIFI-270: -- Commit 23c3687ec75aabc3815097c88553fda35ce29ee0 in incubator-nifi's branch refs/heads/NIFI-270-5 from [~joewitt] [ https://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git;h=23c3687 ] NIFI-270 prepare for next development iteration Release preparation, phase 2 Key: NIFI-270 URL: https://issues.apache.org/jira/browse/NIFI-270 Project: Apache NiFi Issue Type: Task Reporter: Benson Margulies Assignee: Benson Margulies Fix For: 0.0.1 Get version numbers, pom config, whatever, ready for release of the maven plugin. Some cleanup for releasing the rest might also occur. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[2/2] incubator-nifi git commit: NIFI-270 prepare for next development iteration
NIFI-270 prepare for next development iteration Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/23c3687e Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/23c3687e Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/23c3687e Branch: refs/heads/NIFI-270-5 Commit: 23c3687ec75aabc3815097c88553fda35ce29ee0 Parents: 3e264c9 Author: joewitt joew...@apache.org Authored: Mon Jan 19 00:07:44 2015 -0500 Committer: joewitt joew...@apache.org Committed: Mon Jan 19 00:07:44 2015 -0500 -- nar-maven-plugin/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/23c3687e/nar-maven-plugin/pom.xml -- diff --git a/nar-maven-plugin/pom.xml b/nar-maven-plugin/pom.xml index 0a5f674..ac755c3 100644 --- a/nar-maven-plugin/pom.xml +++ b/nar-maven-plugin/pom.xml @@ -24,7 +24,7 @@ /parent groupIdorg.apache.nifi/groupId artifactIdnar-maven-plugin/artifactId -version0.0.2-incubating/version +version0.0.3-incubating-SNAPSHOT/version packagingmaven-plugin/packaging nameApache NiFi NAR Plugin/name descriptionApache NiFi Nar Plugin. It is currently a part of the Apache Incubator./description @@ -59,7 +59,7 @@ connectionscm:git:git://git.apache.org/incubator-nifi.git/connection developerConnectionscm:git:https://git-wip-us.apache.org/repos/asf/incubator-nifi.git/developerConnection urlhttps://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git/url -tagnar-maven-plugin-0.0.2-incubating-RC1/tag +tagHEAD/tag /scm issueManagement systemJIRA/system
[1/2] incubator-nifi git commit: NIFI-270 prepare release nar-maven-plugin-0.0.2-incubating-RC1
Repository: incubator-nifi Updated Branches: refs/heads/NIFI-270-5 [created] 23c3687ec NIFI-270 prepare release nar-maven-plugin-0.0.2-incubating-RC1 Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/3e264c97 Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/3e264c97 Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/3e264c97 Branch: refs/heads/NIFI-270-5 Commit: 3e264c97449c921c7e0cbdec7eb94cb1d6868452 Parents: bc448e5 Author: joewitt joew...@apache.org Authored: Mon Jan 19 00:07:34 2015 -0500 Committer: joewitt joew...@apache.org Committed: Mon Jan 19 00:07:34 2015 -0500 -- nar-maven-plugin/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/3e264c97/nar-maven-plugin/pom.xml -- diff --git a/nar-maven-plugin/pom.xml b/nar-maven-plugin/pom.xml index d7933cc..0a5f674 100644 --- a/nar-maven-plugin/pom.xml +++ b/nar-maven-plugin/pom.xml @@ -24,7 +24,7 @@ /parent groupIdorg.apache.nifi/groupId artifactIdnar-maven-plugin/artifactId -version0.0.2-incubating-SNAPSHOT/version +version0.0.2-incubating/version packagingmaven-plugin/packaging nameApache NiFi NAR Plugin/name descriptionApache NiFi Nar Plugin. It is currently a part of the Apache Incubator./description @@ -59,7 +59,7 @@ connectionscm:git:git://git.apache.org/incubator-nifi.git/connection developerConnectionscm:git:https://git-wip-us.apache.org/repos/asf/incubator-nifi.git/developerConnection urlhttps://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git/url -tagHEAD/tag +tagnar-maven-plugin-0.0.2-incubating-RC1/tag /scm issueManagement systemJIRA/system
[3/5] incubator-nifi git commit: NIFI-282: Begin refactoring and creating client
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/fdf75846/nifi/commons/site-to-site-client/src/main/java/org/apache/nifi/remote/util/PeerStatusCache.java -- diff --git a/nifi/commons/site-to-site-client/src/main/java/org/apache/nifi/remote/util/PeerStatusCache.java b/nifi/commons/site-to-site-client/src/main/java/org/apache/nifi/remote/util/PeerStatusCache.java new file mode 100644 index 000..6dab77b --- /dev/null +++ b/nifi/commons/site-to-site-client/src/main/java/org/apache/nifi/remote/util/PeerStatusCache.java @@ -0,0 +1,43 @@ +/* + * 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. + */ +package org.apache.nifi.remote.util; + +import java.util.Set; + +import org.apache.nifi.remote.PeerStatus; + +public class PeerStatusCache { + private final SetPeerStatus statuses; +private final long timestamp; + +public PeerStatusCache(final SetPeerStatus statuses) { +this(statuses, System.currentTimeMillis()); +} + +public PeerStatusCache(final SetPeerStatus statuses, final long timestamp) { +this.statuses = statuses; +this.timestamp = timestamp; +} + +public SetPeerStatus getStatuses() { +return statuses; +} + +public long getTimestamp() { +return timestamp; +} +} http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/fdf75846/nifi/nar-bundles/framework-bundle/framework/cluster/src/main/java/org/apache/nifi/cluster/manager/ClusterManager.java -- diff --git a/nifi/nar-bundles/framework-bundle/framework/cluster/src/main/java/org/apache/nifi/cluster/manager/ClusterManager.java b/nifi/nar-bundles/framework-bundle/framework/cluster/src/main/java/org/apache/nifi/cluster/manager/ClusterManager.java index 0fcac8c..00a7687 100644 --- a/nifi/nar-bundles/framework-bundle/framework/cluster/src/main/java/org/apache/nifi/cluster/manager/ClusterManager.java +++ b/nifi/nar-bundles/framework-bundle/framework/cluster/src/main/java/org/apache/nifi/cluster/manager/ClusterManager.java @@ -23,7 +23,6 @@ import org.apache.nifi.cluster.manager.exception.IneligiblePrimaryNodeException; import org.apache.nifi.cluster.manager.exception.IllegalNodeDeletionException; import org.apache.nifi.cluster.manager.exception.IllegalNodeReconnectionException; import org.apache.nifi.cluster.manager.exception.NodeDisconnectionException; -import org.apache.nifi.cluster.NodeInformant; import org.apache.nifi.cluster.event.Event; import org.apache.nifi.cluster.node.Node; import org.apache.nifi.cluster.node.Node.Status; @@ -33,6 +32,7 @@ import org.apache.nifi.cluster.protocol.Heartbeat; import org.apache.nifi.cluster.protocol.NodeIdentifier; import org.apache.nifi.controller.status.ProcessGroupStatus; import org.apache.nifi.diagnostics.SystemDiagnostics; +import org.apache.nifi.remote.cluster.NodeInformant; import org.apache.nifi.reporting.BulletinRepository; import java.util.List; http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/fdf75846/nifi/nar-bundles/framework-bundle/framework/cluster/src/main/java/org/apache/nifi/cluster/manager/impl/WebClusterManager.java -- diff --git a/nifi/nar-bundles/framework-bundle/framework/cluster/src/main/java/org/apache/nifi/cluster/manager/impl/WebClusterManager.java b/nifi/nar-bundles/framework-bundle/framework/cluster/src/main/java/org/apache/nifi/cluster/manager/impl/WebClusterManager.java index 511bb7d..ea523b0 100644 --- a/nifi/nar-bundles/framework-bundle/framework/cluster/src/main/java/org/apache/nifi/cluster/manager/impl/WebClusterManager.java +++ b/nifi/nar-bundles/framework-bundle/framework/cluster/src/main/java/org/apache/nifi/cluster/manager/impl/WebClusterManager.java @@ -65,9 +65,7 @@ import javax.xml.validation.Validator; import org.apache.nifi.admin.service.AuditService; import org.apache.nifi.cluster.BulletinsPayload; -import org.apache.nifi.cluster.ClusterNodeInformation; import org.apache.nifi.cluster.HeartbeatPayload; -import org.apache.nifi.cluster.NodeInformation; import org.apache.nifi.cluster.context.ClusterContext;
[jira] [Commented] (NIFI-4) Revisit annotations with Reporting Tasks and Controller Services
[ https://issues.apache.org/jira/browse/NIFI-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14282069#comment-14282069 ] ASF subversion and git services commented on NIFI-4: Commit 850396cc979173e2f20ab08004f1983024d66b00 in incubator-nifi's branch refs/heads/annotations from [~markap14] [ https://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git;h=850396c ] NIFI-4: Updates to provide proper lifecycle support via annotations for controller services and reporting tasks Revisit annotations with Reporting Tasks and Controller Services Key: NIFI-4 URL: https://issues.apache.org/jira/browse/NIFI-4 Project: Apache NiFi Issue Type: Bug Components: Core Framework, Core UI Reporter: Joseph Witt Assignee: Mark Payne Priority: Minor Fix For: 0.1.0 Annotations are geared towards processors and their lifecycle. We may need a different set of annotations for reporting tasks and controller services as their lifecycle management moves to configurable at runtime. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (NIFI-277) ControllerServiceNode and ReportingTaskNode need to provide verifyCanXXXX methods for lifecycle events
[ https://issues.apache.org/jira/browse/NIFI-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14282067#comment-14282067 ] ASF subversion and git services commented on NIFI-277: -- Commit d734220d1e59ff02878a2b9f3913348e8d38ae17 in incubator-nifi's branch refs/heads/annotations from [~markap14] [ https://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git;h=d734220 ] NIFI-277: Added verifyCanXX methods ControllerServiceNode and ReportingTaskNode need to provide verifyCan methods for lifecycle events -- Key: NIFI-277 URL: https://issues.apache.org/jira/browse/NIFI-277 Project: Apache NiFi Issue Type: Task Components: Core Framework Affects Versions: 0.1.0 Reporter: Mark Payne Assignee: Mark Payne Fix For: 0.1.0 need verifyCanEnable, verifyCanDisable, verifyCanDelete, verifyCanStart, verifyCanStop, verifyCanRemove methods. These must be implemented in both ControllerServiceNode and ReportingTaskNode and must then be called from the appropriate context (e.g., FlowController). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (NIFI-4) Revisit annotations with Reporting Tasks and Controller Services
[ https://issues.apache.org/jira/browse/NIFI-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14282066#comment-14282066 ] ASF subversion and git services commented on NIFI-4: Commit 7bcfc93d6e102691d0e7d7d6b4bc5efb223e8349 in incubator-nifi's branch refs/heads/annotations from [~markap14] [ https://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git;h=7bcfc93 ] NIFI-4: Added OnEnabled and OnDisabled annotations to the lifecycle package Revisit annotations with Reporting Tasks and Controller Services Key: NIFI-4 URL: https://issues.apache.org/jira/browse/NIFI-4 Project: Apache NiFi Issue Type: Bug Components: Core Framework, Core UI Reporter: Joseph Witt Assignee: Mark Payne Priority: Minor Fix For: 0.1.0 Annotations are geared towards processors and their lifecycle. We may need a different set of annotations for reporting tasks and controller services as their lifecycle management moves to configurable at runtime. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[5/6] incubator-nifi git commit: NIFI-4: Added lifecycle annotation support
NIFI-4: Added lifecycle annotation support Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/d8e1f570 Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/d8e1f570 Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/d8e1f570 Branch: refs/heads/annotations Commit: d8e1f570a68df152f1d29d60acf732a0f6b532ec Parents: d734220 Author: Mark Payne marka...@hotmail.com Authored: Fri Jan 16 15:52:47 2015 -0500 Committer: Mark Payne marka...@hotmail.com Committed: Fri Jan 16 15:52:47 2015 -0500 -- .../service/ControllerServiceProvider.java | 21 +++-- .../apache/nifi/controller/FlowController.java | 57 - .../scheduling/StandardProcessScheduler.java| 88 ++-- .../StandardControllerServiceProvider.java | 43 +++--- .../processor/StandardSchedulingContext.java| 4 +- .../org/apache/nifi/util/ReflectionUtils.java | 62 -- 6 files changed, 238 insertions(+), 37 deletions(-) -- http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/d8e1f570/nifi/nar-bundles/framework-bundle/framework/core-api/src/main/java/org/apache/nifi/controller/service/ControllerServiceProvider.java -- diff --git a/nifi/nar-bundles/framework-bundle/framework/core-api/src/main/java/org/apache/nifi/controller/service/ControllerServiceProvider.java b/nifi/nar-bundles/framework-bundle/framework/core-api/src/main/java/org/apache/nifi/controller/service/ControllerServiceProvider.java index 35a255d..03ed779 100644 --- a/nifi/nar-bundles/framework-bundle/framework/core-api/src/main/java/org/apache/nifi/controller/service/ControllerServiceProvider.java +++ b/nifi/nar-bundles/framework-bundle/framework/core-api/src/main/java/org/apache/nifi/controller/service/ControllerServiceProvider.java @@ -16,8 +16,7 @@ */ package org.apache.nifi.controller.service; -import java.util.Map; - +import org.apache.nifi.annotation.lifecycle.OnAdded; import org.apache.nifi.controller.ControllerServiceLookup; /** @@ -26,15 +25,15 @@ import org.apache.nifi.controller.ControllerServiceLookup; public interface ControllerServiceProvider extends ControllerServiceLookup { /** - * Gets the controller service for the specified identifier. Returns null if - * the identifier does not match a known service. + * Creates a new Controller Service of the given type and assigns it the given id. If codefirstTimeadded/code + * is true, calls any methods that are annotated with {@link OnAdded} * * @param type * @param id - * @param properties + * @param firstTimeAdded * @return */ -ControllerServiceNode createControllerService(String type, String id, MapString, String properties); +ControllerServiceNode createControllerService(String type, String id, boolean firstTimeAdded); /** * Gets the controller service node for the specified identifier. Returns @@ -44,4 +43,14 @@ public interface ControllerServiceProvider extends ControllerServiceLookup { * @return */ ControllerServiceNode getControllerServiceNode(String id); + +/** + * Removes the given Controller Service from the flow. This will call all appropriate methods + * that have the @OnRemoved annotation. + * + * @param serviceNode the controller service to remove + * + * @throws IllegalStateException if the controller service is not disabled or is not a part of this flow + */ +void removeControllerService(ControllerServiceNode serviceNode); } http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/d8e1f570/nifi/nar-bundles/framework-bundle/framework/core/src/main/java/org/apache/nifi/controller/FlowController.java -- diff --git a/nifi/nar-bundles/framework-bundle/framework/core/src/main/java/org/apache/nifi/controller/FlowController.java b/nifi/nar-bundles/framework-bundle/framework/core/src/main/java/org/apache/nifi/controller/FlowController.java index 860ea2d..1d90a3a 100644 --- a/nifi/nar-bundles/framework-bundle/framework/core/src/main/java/org/apache/nifi/controller/FlowController.java +++ b/nifi/nar-bundles/framework-bundle/framework/core/src/main/java/org/apache/nifi/controller/FlowController.java @@ -50,6 +50,7 @@ import javax.net.ssl.SSLContext; import org.apache.nifi.admin.service.UserService; import org.apache.nifi.annotation.lifecycle.OnAdded; +import org.apache.nifi.annotation.lifecycle.OnRemoved; import org.apache.nifi.cluster.BulletinsPayload; import org.apache.nifi.cluster.HeartbeatPayload; import org.apache.nifi.cluster.protocol.DataFlow; @@ -134,6 +135,7 @@ import
[4/6] incubator-nifi git commit: NIFI-277: Added verifyCanXX methods
NIFI-277: Added verifyCanXX methods Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/d734220d Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/d734220d Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/d734220d Branch: refs/heads/annotations Commit: d734220d1e59ff02878a2b9f3913348e8d38ae17 Parents: 7bcfc93 Author: Mark Payne marka...@hotmail.com Authored: Fri Jan 16 15:51:34 2015 -0500 Committer: Mark Payne marka...@hotmail.com Committed: Fri Jan 16 15:51:34 2015 -0500 -- .../nifi/controller/ReportingTaskNode.java | 16 + .../service/ControllerServiceNode.java | 6 +- .../reporting/AbstractReportingTaskNode.java| 51 .../service/StandardControllerServiceNode.java | 61 +--- 4 files changed, 126 insertions(+), 8 deletions(-) -- http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/d734220d/nifi/nar-bundles/framework-bundle/framework/core-api/src/main/java/org/apache/nifi/controller/ReportingTaskNode.java -- diff --git a/nifi/nar-bundles/framework-bundle/framework/core-api/src/main/java/org/apache/nifi/controller/ReportingTaskNode.java b/nifi/nar-bundles/framework-bundle/framework/core-api/src/main/java/org/apache/nifi/controller/ReportingTaskNode.java index 6b8ede0..f456ddd 100644 --- a/nifi/nar-bundles/framework-bundle/framework/core-api/src/main/java/org/apache/nifi/controller/ReportingTaskNode.java +++ b/nifi/nar-bundles/framework-bundle/framework/core-api/src/main/java/org/apache/nifi/controller/ReportingTaskNode.java @@ -53,4 +53,20 @@ public interface ReportingTaskNode extends ConfiguredComponent { ConfigurationContext getConfigurationContext(); boolean isRunning(); + +/** + * Indicates the {@link ScheduledState} of this codeReportingTask/code. A + * value of stopped does NOT indicate that the codeReportingTask/code has + * no active threads, only that it is not currently scheduled to be given + * any more threads. To determine whether or not the + * codeReportingTask/code has any active threads, see + * {@link ProcessScheduler#getActiveThreadCount(ReportingTask)}. + * + * @return + */ +ScheduledState getScheduledState(); + +void setScheduledState(ScheduledState state); + +void verifyCanDelete(); } http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/d734220d/nifi/nar-bundles/framework-bundle/framework/core-api/src/main/java/org/apache/nifi/controller/service/ControllerServiceNode.java -- diff --git a/nifi/nar-bundles/framework-bundle/framework/core-api/src/main/java/org/apache/nifi/controller/service/ControllerServiceNode.java b/nifi/nar-bundles/framework-bundle/framework/core-api/src/main/java/org/apache/nifi/controller/service/ControllerServiceNode.java index 6f9c237..dd4b49a 100644 --- a/nifi/nar-bundles/framework-bundle/framework/core-api/src/main/java/org/apache/nifi/controller/service/ControllerServiceNode.java +++ b/nifi/nar-bundles/framework-bundle/framework/core-api/src/main/java/org/apache/nifi/controller/service/ControllerServiceNode.java @@ -22,7 +22,9 @@ import org.apache.nifi.controller.ControllerService; public interface ControllerServiceNode extends ConfiguredComponent { -ControllerService getControllerService(); +ControllerService getProxiedControllerService(); + +ControllerService getControllerServiceImplementation(); Availability getAvailability(); @@ -37,4 +39,6 @@ public interface ControllerServiceNode extends ConfiguredComponent { void addReference(ConfiguredComponent referringComponent); void removeReference(ConfiguredComponent referringComponent); + +void verifyCanDelete(); } http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/d734220d/nifi/nar-bundles/framework-bundle/framework/core/src/main/java/org/apache/nifi/controller/reporting/AbstractReportingTaskNode.java -- diff --git a/nifi/nar-bundles/framework-bundle/framework/core/src/main/java/org/apache/nifi/controller/reporting/AbstractReportingTaskNode.java b/nifi/nar-bundles/framework-bundle/framework/core/src/main/java/org/apache/nifi/controller/reporting/AbstractReportingTaskNode.java index 6c27470..8b10a84 100644 --- a/nifi/nar-bundles/framework-bundle/framework/core/src/main/java/org/apache/nifi/controller/reporting/AbstractReportingTaskNode.java +++ b/nifi/nar-bundles/framework-bundle/framework/core/src/main/java/org/apache/nifi/controller/reporting/AbstractReportingTaskNode.java @@ -19,18 +19,25 @@ package
[jira] [Commented] (NIFI-121) When MergeContent is configured to perform Binary Concatenation, if generating bundle of 1 FlowFile, should just Clone original FLowFile instead of copying data
[ https://issues.apache.org/jira/browse/NIFI-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14282076#comment-14282076 ] Mark Payne commented on NIFI-121: - Ajay, Thank you for the contribution! I looked over the patch. I think this patch will cause an issue: the session.clone() is called from 1 session and then the FlowFile returned. A different session would then be used to call putAllAttributes and transfer. This is going to end up throwing a FlowFileHandlingException with a message similar to FlowFile not known in this session. If this doesn't make sense, let me know, and I'll try to clarify. For what it's worth, this Processor is probably the most complicated of all of the processors that we have. I'd highly recommend a unit test for any modification here. Hopefully the existing unit tests for this processor are easy enough to follow along that it will make sense how to create a test for this. Configuring a Minimum Number of Entries and a Maximum Number of Entries both as 1 will guarantee that all bins are exactly 1 FlowFile, so that should help to test it. Thanks -Mark When MergeContent is configured to perform Binary Concatenation, if generating bundle of 1 FlowFile, should just Clone original FLowFile instead of copying data Key: NIFI-121 URL: https://issues.apache.org/jira/browse/NIFI-121 Project: Apache NiFi Issue Type: Improvement Components: Extensions Reporter: Matt Gilman Priority: Minor Much more efficient -- This message was sent by Atlassian JIRA (v6.3.4#6332)
svn commit: r936679 - in /websites/staging/nifi/trunk/content: ./ development/quickstart.html
Author: buildbot Date: Sun Jan 18 19:59:48 2015 New Revision: 936679 Log: Staging update by buildbot for nifi Modified: websites/staging/nifi/trunk/content/ (props changed) websites/staging/nifi/trunk/content/development/quickstart.html Propchange: websites/staging/nifi/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Sun Jan 18 19:59:48 2015 @@ -1 +1 @@ -1652824 +1652842 Modified: websites/staging/nifi/trunk/content/development/quickstart.html == --- websites/staging/nifi/trunk/content/development/quickstart.html (original) +++ websites/staging/nifi/trunk/content/development/quickstart.html Sun Jan 18 19:59:48 2015 @@ -121,7 +121,7 @@ ol liYou need a recent Java 7 (or newer) JDK./li liYou need Apache a href=http://maven.apache.org/;Maven 3.X/a. We've successfully used 3.2.3 and as far back as 3.0.5/li -liBuild the maven plugins. In the root dir of the source tree cd to codemaven-plugins/code. +liBuild the maven plugins. In the root dir of the source tree cd to codenar-maven-plugin/code. Run codemvn clean install/code/li liBuild the entire code base. In the root dir of the source tree cd to codenifi/code and run codemvn -T C2.0 clean install/code You can tweak the maven build settings as you like but the previous command will execute with 2 threads per core./li
svn commit: r936680 - /websites/production/nifi/content/
Author: joewitt Date: Sun Jan 18 19:59:59 2015 New Revision: 936680 Log: Publishing svnmucc operation to nifi site by joewitt Added: websites/production/nifi/content/ - copied from r936679, websites/staging/nifi/trunk/content/
svn commit: r936672 - in /websites/staging/nifi/trunk/content: ./ development/release-guide.html
Author: buildbot Date: Sun Jan 18 18:30:21 2015 New Revision: 936672 Log: Staging update by buildbot for nifi Modified: websites/staging/nifi/trunk/content/ (props changed) websites/staging/nifi/trunk/content/development/release-guide.html Propchange: websites/staging/nifi/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Sun Jan 18 18:30:21 2015 @@ -1 +1 @@ -1652823 +1652824 Modified: websites/staging/nifi/trunk/content/development/release-guide.html == --- websites/staging/nifi/trunk/content/development/release-guide.html (original) +++ websites/staging/nifi/trunk/content/development/release-guide.html Sun Jan 18 18:30:21 2015 @@ -101,30 +101,34 @@ an official release of Apache NiFi. It capacity of a a href=http://www.apache.org/dev/release-publishing.html#release_manager;Release Manager/a (RM). /p h2 id=background-materialBackground Material/h2 ul -liThese documents are necessary for all committers to be familiar with/li +li +pThese documents are necessary for all committers to be familiar with/p +ul lia href=http://apache.org/licenses/LICENSE-2.0;Apache License V2.0/a/li lia href=http://www.apache.org/legal/resolved.html;Apache Legal License/Resolved/a/li -li -pa href=http://www.apache.org/dev/apply-license.html;Apache How-to Apply License/a/p +lia href=http://www.apache.org/dev/apply-license.html;Apache How-to Apply License/a/li +/ul /li li pThese documents are necessary for someone acting as the RM/p -/li +ul lia href=http://www.apache.org/licenses/exports/;Apache Encryption Software / ECCN Info/a/li lia href=http://www.apache.org/dev/release.html;Apache Release Policy/a/li lia href=http://www.apache.org/dev/release-publishing;Apache Release Guide/a/li lia href=http://incubator.apache.org/guides/releasemanagement.html;Apache Incubator Release Guide/a/li lia href=http://incubator.apache.org/guides/release.html;another Apache Incubator Release Guide/a/li -li -pa href=http://incubator.apache.org/incubation/Incubation_Policy.html;Apache Incubator Policy/a/p +lia href=http://incubator.apache.org/incubation/Incubation_Policy.html;Apache Incubator Policy/a/li +/ul /li li pThese documents are helpful for general environmental setup to perform releases/p -/li +ul lia href=http://www.apache.org/dev/openpgp.html;Apache PGP Info/a/li lia href=http://www.apache.org/dev/release-signing.html;Apache Release Signing/a/li lia href=http://www.apache.org/dev/publishing-maven-artifacts.html;Apache Guide to publish Maven Artifacts/a/li /ul +/li +/ul h2 id=the-objectiveThe Objective/h2 pSo with all the background material in mind and with the intent to perform a release established it is important to acknkowledge the objective here.
svn commit: r1652824 - /incubator/nifi/site/trunk/content/development/release-guide.md
Author: joewitt Date: Sun Jan 18 18:30:17 2015 New Revision: 1652824 URL: http://svn.apache.org/r1652824 Log: CMS commit to nifi by joewitt Modified: incubator/nifi/site/trunk/content/development/release-guide.md Modified: incubator/nifi/site/trunk/content/development/release-guide.md URL: http://svn.apache.org/viewvc/incubator/nifi/site/trunk/content/development/release-guide.md?rev=1652824r1=1652823r2=1652824view=diff == --- incubator/nifi/site/trunk/content/development/release-guide.md (original) +++ incubator/nifi/site/trunk/content/development/release-guide.md Sun Jan 18 18:30:17 2015 @@ -24,23 +24,23 @@ capacity of a [Release Manager][release- ## Background Material -- These documents are necessary for all committers to be familiar with - - [Apache License V2.0][apache-license] - - [Apache Legal License/Resolved][apache-legal-resolve] - - [Apache How-to Apply License][apache-license-apply] - -- These documents are necessary for someone acting as the RM - - [Apache Encryption Software / ECCN Info][apache-encryption] - - [Apache Release Policy][apache-release-policy] - - [Apache Release Guide][apache-release-guide] - - [Apache Incubator Release Guide][apache-incubator-release-guide] - - [another Apache Incubator Release Guide][another-apache-incubator-release-guide] - - [Apache Incubator Policy][apache-incubator-policy] - -- These documents are helpful for general environmental setup to perform releases - - [Apache PGP Info][apache-pgp] - - [Apache Release Signing][apache-release-signing] - - [Apache Guide to publish Maven Artifacts][apache-guide-publish-maven] + - These documents are necessary for all committers to be familiar with +- [Apache License V2.0][apache-license] +- [Apache Legal License/Resolved][apache-legal-resolve] +- [Apache How-to Apply License][apache-license-apply] + + - These documents are necessary for someone acting as the RM +- [Apache Encryption Software / ECCN Info][apache-encryption] +- [Apache Release Policy][apache-release-policy] +- [Apache Release Guide][apache-release-guide] +- [Apache Incubator Release Guide][apache-incubator-release-guide] +- [another Apache Incubator Release Guide][another-apache-incubator-release-guide] +- [Apache Incubator Policy][apache-incubator-policy] + + - These documents are helpful for general environmental setup to perform releases +- [Apache PGP Info][apache-pgp] +- [Apache Release Signing][apache-release-signing] +- [Apache Guide to publish Maven Artifacts][apache-guide-publish-maven] ## The Objective
svn commit: r936669 - in /websites/staging/nifi/trunk/content: ./ development/release-guide.html
Author: buildbot Date: Sun Jan 18 18:20:23 2015 New Revision: 936669 Log: Staging update by buildbot for nifi Added: websites/staging/nifi/trunk/content/development/release-guide.html Modified: websites/staging/nifi/trunk/content/ (props changed) Propchange: websites/staging/nifi/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Sun Jan 18 18:20:23 2015 @@ -1 +1 @@ -1652698 +1652823 Added: websites/staging/nifi/trunk/content/development/release-guide.html == --- websites/staging/nifi/trunk/content/development/release-guide.html (added) +++ websites/staging/nifi/trunk/content/development/release-guide.html Sun Jan 18 18:20:23 2015 @@ -0,0 +1,154 @@ +!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN +html lang=en + head +title/title + +meta http-equiv=Content-Type content=text/html;charset=UTF-8 +meta property=og:image content=http://www.apache.org/images/asf_logo.gif; / + +link href=/css/bootstrap.css rel=stylesheet +link href=/css/bootstrap-theme.css rel=stylesheet +link href=/css/site.css rel=stylesheet + +script src=https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js;/script +script src=/js/bootstrap.min.js/script +script + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + + ga('create', 'UA-57264262-1', 'auto'); + ga('send', 'pageview'); + +/script + + +!-- 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 quot;Licensequot;); 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 quot;AS ISquot; 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. -- + /head + + body +div class=container-fluid + + !-- Static navbar -- +nav class=navbar navbar-default navbar-fixed-top role=navigation +div class=container +div class=navbar-header +button type=button class=navbar-toggle collapsed data-toggle=collapse data-target=#navbar aria-expanded=false aria-controls=navbar +span class=sr-onlyToggle navigation/span +span class=icon-bar/span +span class=icon-bar/span +span class=icon-bar/span +/button +/div +div id=navbar class=navbar-collapse collapse +ul class=nav navbar-nav +li class=dropdown +a href=# class=dropdown-toggle data-toggle=dropdown role=button aria-expanded=falseProjectspan class=caret/span/a +ul class=dropdown-menu role=menu +lia href=/index.htmlHome/a/li + lia href=https://blogs.apache.org/nifi/;Apache NiFi Blog/a/li +lia href=/downloads/Downloads/a/li +lia href=/docs/roadmap.htmlRoadmap/a/li +lia href=http://www.apache.org/licenses/LICENSE-2.0;span class=glyphicon glyphicon-link aria-hidden=true/span License/a/li +/ul +/li +li class=dropdown +a href=# class=dropdown-toggle data-toggle=dropdown role=button aria-expanded=falseDocumentationspan class=caret/span/a +ul class=dropdown-menu role=menu +lia href=/docs/faq.htmlFAQ/a/li + lia href=/docs/nifi-docs/overview.htmlNiFi Overview/a/li + lia href=/docs/nifi-docs/user-guide.htmlUser Guide/a/li +/ul +/li +li class=dropdown +a href=# class=dropdown-toggle data-toggle=dropdown role=button aria-expanded=falseCommunityspan class=caret/span/a +ul class=dropdown-menu role=menu +lia href=/mailing_lists.htmlMailing Lists/a/li +lia href=/people.htmlPeople/a/li +/ul +/li +li class=dropdown +a href=#
svn commit: r1652823 - /incubator/nifi/site/trunk/content/development/release-guide.md
Author: joewitt Date: Sun Jan 18 18:20:19 2015 New Revision: 1652823 URL: http://svn.apache.org/r1652823 Log: initial stub of a release guide / checkpoint checkin Added: incubator/nifi/site/trunk/content/development/release-guide.md Added: incubator/nifi/site/trunk/content/development/release-guide.md URL: http://svn.apache.org/viewvc/incubator/nifi/site/trunk/content/development/release-guide.md?rev=1652823view=auto == --- incubator/nifi/site/trunk/content/development/release-guide.md (added) +++ incubator/nifi/site/trunk/content/development/release-guide.md Sun Jan 18 18:20:19 2015 @@ -0,0 +1,68 @@ +Title: +Notice: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. + +# img alt=NiFi logo style=float: right src=/images/niFi-logo-horizontal.png / Apache NiFi Release Guide + +The purpose of this document is to capture and describe the steps involved in producing +an official release of Apache NiFi. It is written specifically to someone acting in the +capacity of a [Release Manager][release-manager] (RM). + +## Background Material + +- These documents are necessary for all committers to be familiar with + - [Apache License V2.0][apache-license] + - [Apache Legal License/Resolved][apache-legal-resolve] + - [Apache How-to Apply License][apache-license-apply] + +- These documents are necessary for someone acting as the RM + - [Apache Encryption Software / ECCN Info][apache-encryption] + - [Apache Release Policy][apache-release-policy] + - [Apache Release Guide][apache-release-guide] + - [Apache Incubator Release Guide][apache-incubator-release-guide] + - [another Apache Incubator Release Guide][another-apache-incubator-release-guide] + - [Apache Incubator Policy][apache-incubator-policy] + +- These documents are helpful for general environmental setup to perform releases + - [Apache PGP Info][apache-pgp] + - [Apache Release Signing][apache-release-signing] + - [Apache Guide to publish Maven Artifacts][apache-guide-publish-maven] + +## The Objective + +So with all the background material in mind and with the intent to perform +a release established it is important to acknkowledge the objective here. +The aim is to produce an official Apache release. That means producing a legally +valid and signed bundle of source code which one can download and build for themselves. +The other items like prebuilt binaries of the full application are not the official +release artifact they are conveniences for users who cannot readily build the application +themselves. The same is true then of maven artifacts published to Apache or +mirrored artifact repositories. + +[release-manager]: http://www.apache.org/dev/release-publishing.html#release_manager +[apache-license]: http://apache.org/licenses/LICENSE-2.0 +[apache-license-apply]: http://www.apache.org/dev/apply-license.html +[apache-legal-resolve]: http://www.apache.org/legal/resolved.html +[apache-encryption]: http://www.apache.org/licenses/exports/ +[apache-release-policy]: http://www.apache.org/dev/release.html +[apache-release-guide]: http://www.apache.org/dev/release-publishing +[apache-incubator-release-guide]: http://incubator.apache.org/guides/releasemanagement.html +[another-apache-incubator-release-guide]: http://incubator.apache.org/guides/release.html +[apache-incubator-policy]: http://incubator.apache.org/incubation/Incubation_Policy.html +[apache-pgp]: http://www.apache.org/dev/openpgp.html +[apache-release-signing]: http://www.apache.org/dev/release-signing.html +[apache-guide-publish-maven]: http://www.apache.org/dev/publishing-maven-artifacts.html \ No newline at end of file
[1/5] incubator-nifi git commit: NIFI-282: Begin refactoring and creating client
Repository: incubator-nifi Updated Branches: refs/heads/site-to-site-client [created] fdf758460 http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/fdf75846/nifi/nar-bundles/framework-bundle/framework/site-to-site/src/main/java/org/apache/nifi/remote/protocol/socket/SocketClientProtocol.java -- diff --git a/nifi/nar-bundles/framework-bundle/framework/site-to-site/src/main/java/org/apache/nifi/remote/protocol/socket/SocketClientProtocol.java b/nifi/nar-bundles/framework-bundle/framework/site-to-site/src/main/java/org/apache/nifi/remote/protocol/socket/SocketClientProtocol.java deleted file mode 100644 index d4b4f61..000 --- a/nifi/nar-bundles/framework-bundle/framework/site-to-site/src/main/java/org/apache/nifi/remote/protocol/socket/SocketClientProtocol.java +++ /dev/null @@ -1,510 +0,0 @@ -/* - * 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. - */ -package org.apache.nifi.remote.protocol.socket; - -import java.io.DataInputStream; -import java.io.DataOutputStream; -import java.io.IOException; -import java.io.InputStream; -import java.io.OutputStream; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Set; -import java.util.UUID; -import java.util.concurrent.TimeUnit; -import java.util.zip.CRC32; -import java.util.zip.CheckedInputStream; -import java.util.zip.CheckedOutputStream; - -import org.apache.nifi.flowfile.FlowFile; -import org.apache.nifi.flowfile.attributes.CoreAttributes; -import org.apache.nifi.processor.ProcessContext; -import org.apache.nifi.processor.ProcessSession; -import org.apache.nifi.processor.Relationship; -import org.apache.nifi.remote.Peer; -import org.apache.nifi.remote.PeerStatus; -import org.apache.nifi.remote.RemoteGroupPort; -import org.apache.nifi.remote.RemoteResourceFactory; -import org.apache.nifi.remote.StandardVersionNegotiator; -import org.apache.nifi.remote.VersionNegotiator; -import org.apache.nifi.remote.codec.FlowFileCodec; -import org.apache.nifi.remote.codec.StandardFlowFileCodec; -import org.apache.nifi.remote.exception.HandshakeException; -import org.apache.nifi.remote.exception.ProtocolException; -import org.apache.nifi.remote.io.CompressionInputStream; -import org.apache.nifi.remote.io.CompressionOutputStream; -import org.apache.nifi.remote.protocol.ClientProtocol; -import org.apache.nifi.remote.protocol.CommunicationsSession; -import org.apache.nifi.remote.protocol.RequestType; -import org.apache.nifi.util.FormatUtils; -import org.apache.nifi.util.StopWatch; - -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class SocketClientProtocol implements ClientProtocol { -private final VersionNegotiator versionNegotiator = new StandardVersionNegotiator(4, 3, 2, 1); - - -private RemoteGroupPort port; -private boolean useCompression; - -private String commsIdentifier; -private boolean handshakeComplete = false; - -private final Logger logger = LoggerFactory.getLogger(SocketClientProtocol.class); - -private Response handshakeResponse = null; -private boolean readyForFileTransfer = false; -private String transitUriPrefix = null; - -private static final long BATCH_SEND_NANOS = TimeUnit.SECONDS.toNanos(5L); // send batches of up to 5 seconds - -public SocketClientProtocol() { -} - -public void setPort(final RemoteGroupPort port) { -this.port = port; -this.useCompression = port.isUseCompression(); -} - -@Override -public void handshake(final Peer peer) throws IOException, HandshakeException { -if ( handshakeComplete ) { -throw new IllegalStateException(Handshake has already been completed); -} -commsIdentifier = UUID.randomUUID().toString(); -logger.debug({} handshaking with {}, this, peer); - -final MapHandshakeProperty, String properties = new HashMap(); -properties.put(HandshakeProperty.GZIP, String.valueOf(useCompression)); -properties.put(HandshakeProperty.PORT_IDENTIFIER, port.getIdentifier()); -properties.put(HandshakeProperty.REQUEST_EXPIRATION_MILLIS, String.valueOf( -
[5/5] incubator-nifi git commit: NIFI-282: Begin refactoring and creating client
NIFI-282: Begin refactoring and creating client Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/fdf75846 Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/fdf75846 Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/fdf75846 Branch: refs/heads/site-to-site-client Commit: fdf75846002877f7f0c857ff2b18593c6f2d825d Parents: f21b502 Author: Mark Payne marka...@hotmail.com Authored: Sun Jan 18 19:22:27 2015 -0500 Committer: Mark Payne marka...@hotmail.com Committed: Sun Jan 18 19:22:27 2015 -0500 -- nifi/commons/pom.xml| 9 +- nifi/commons/site-to-site-client/pom.xml| 31 + .../remote/AbstractCommunicationsSession.java | 54 ++ .../main/java/org/apache/nifi/remote/Peer.java | 113 .../java/org/apache/nifi/remote/PeerStatus.java | 72 +++ .../nifi/remote/PortAuthorizationResult.java| 25 + .../nifi/remote/RemoteAuthorizationState.java | 27 + .../nifi/remote/RemoteResourceInitiator.java| 64 ++ .../apache/nifi/remote/TransferDirection.java | 23 + .../nifi/remote/VersionedRemoteResource.java| 24 + .../apache/nifi/remote/client/DataPacket.java | 28 + .../nifi/remote/client/SiteToSiteClient.java| 27 + .../client/socket/EndpointConnectionState.java | 54 ++ .../socket/EndpointConnectionStatePool.java | 648 +++ .../nifi/remote/client/socket/SocketClient.java | 37 ++ .../remote/cluster/AdaptedNodeInformation.java | 66 ++ .../remote/cluster/ClusterNodeInformation.java | 67 ++ .../nifi/remote/cluster/NodeInformant.java | 22 + .../nifi/remote/cluster/NodeInformation.java| 98 +++ .../remote/cluster/NodeInformationAdapter.java | 41 ++ .../apache/nifi/remote/codec/FlowFileCodec.java | 79 +++ .../remote/codec/StandardFlowFileCodec.java | 169 + .../remote/exception/BadRequestException.java | 30 + .../remote/exception/HandshakeException.java| 30 + .../exception/NotAuthorizedException.java | 26 + .../exception/PortNotRunningException.java | 26 + .../remote/exception/ProtocolException.java | 34 + .../exception/RequestExpiredException.java | 26 + .../remote/exception/UnknownPortException.java | 26 + .../exception/UnsupportedCodecException.java| 31 + .../SocketChannelCommunicationsSession.java | 90 +++ .../remote/io/socket/SocketChannelInput.java| 66 ++ .../remote/io/socket/SocketChannelOutput.java | 58 ++ .../SSLSocketChannelCommunicationsSession.java | 93 +++ .../io/socket/ssl/SSLSocketChannelInput.java| 50 ++ .../io/socket/ssl/SSLSocketChannelOutput.java | 44 ++ .../nifi/remote/protocol/ClientProtocol.java| 78 +++ .../remote/protocol/CommunicationsInput.java| 27 + .../remote/protocol/CommunicationsOutput.java | 27 + .../remote/protocol/CommunicationsSession.java | 64 ++ .../nifi/remote/protocol/RequestType.java | 43 ++ .../protocol/socket/HandshakeProperty.java | 23 + .../nifi/remote/protocol/socket/Response.java | 51 ++ .../remote/protocol/socket/ResponseCode.java| 152 + .../protocol/socket/SocketClientProtocol.java | 517 +++ .../nifi/remote/util/PeerStatusCache.java | 43 ++ .../nifi/cluster/manager/ClusterManager.java| 2 +- .../cluster/manager/impl/WebClusterManager.java | 5 +- .../framework-bundle/framework/core-api/pom.xml | 5 + .../nifi/cluster/AdaptedNodeInformation.java| 66 -- .../nifi/cluster/ClusterNodeInformation.java| 67 -- .../org/apache/nifi/cluster/NodeInformant.java | 22 - .../apache/nifi/cluster/NodeInformation.java| 98 --- .../nifi/cluster/NodeInformationAdapter.java| 39 -- .../apache/nifi/groups/RemoteProcessGroup.java | 6 - .../main/java/org/apache/nifi/remote/Peer.java | 107 --- .../java/org/apache/nifi/remote/PeerStatus.java | 72 --- .../nifi/remote/PortAuthorizationResult.java| 25 - .../nifi/remote/RemoteAuthorizationState.java | 27 - .../org/apache/nifi/remote/RemoteGroupPort.java | 22 +- .../apache/nifi/remote/TransferDirection.java | 23 - .../nifi/remote/VersionedRemoteResource.java| 24 - .../apache/nifi/remote/codec/FlowFileCodec.java | 79 --- .../remote/exception/BadRequestException.java | 30 - .../remote/exception/HandshakeException.java| 30 - .../exception/NotAuthorizedException.java | 26 - .../exception/PortNotRunningException.java | 26 - .../remote/exception/ProtocolException.java | 34 - .../exception/RequestExpiredException.java | 26 - .../remote/exception/UnknownPortException.java | 26 - .../nifi/remote/protocol/ClientProtocol.java| 78 --- .../remote/protocol/CommunicationsInput.java| 27 - .../remote/protocol/CommunicationsOutput.java | 27 - .../remote/protocol/CommunicationsSession.java | 64 --
[2/5] incubator-nifi git commit: NIFI-282: Begin refactoring and creating client
http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/fdf75846/nifi/nar-bundles/framework-bundle/framework/site-to-site/src/main/java/org/apache/nifi/remote/SocketRemoteSiteListener.java -- diff --git a/nifi/nar-bundles/framework-bundle/framework/site-to-site/src/main/java/org/apache/nifi/remote/SocketRemoteSiteListener.java b/nifi/nar-bundles/framework-bundle/framework/site-to-site/src/main/java/org/apache/nifi/remote/SocketRemoteSiteListener.java index ec169ad..cb2d76d 100644 --- a/nifi/nar-bundles/framework-bundle/framework/site-to-site/src/main/java/org/apache/nifi/remote/SocketRemoteSiteListener.java +++ b/nifi/nar-bundles/framework-bundle/framework/site-to-site/src/main/java/org/apache/nifi/remote/SocketRemoteSiteListener.java @@ -35,8 +35,8 @@ import java.util.concurrent.atomic.AtomicReference; import javax.net.ssl.SSLContext; -import org.apache.nifi.cluster.NodeInformant; import org.apache.nifi.groups.ProcessGroup; +import org.apache.nifi.remote.cluster.NodeInformant; import org.apache.nifi.remote.exception.HandshakeException; import org.apache.nifi.remote.io.socket.SocketChannelCommunicationsSession; import org.apache.nifi.remote.io.socket.ssl.SSLSocketChannel; http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/fdf75846/nifi/nar-bundles/framework-bundle/framework/site-to-site/src/main/java/org/apache/nifi/remote/StandardRemoteGroupPort.java -- diff --git a/nifi/nar-bundles/framework-bundle/framework/site-to-site/src/main/java/org/apache/nifi/remote/StandardRemoteGroupPort.java b/nifi/nar-bundles/framework-bundle/framework/site-to-site/src/main/java/org/apache/nifi/remote/StandardRemoteGroupPort.java index b0d88d4..53f998e 100644 --- a/nifi/nar-bundles/framework-bundle/framework/site-to-site/src/main/java/org/apache/nifi/remote/StandardRemoteGroupPort.java +++ b/nifi/nar-bundles/framework-bundle/framework/site-to-site/src/main/java/org/apache/nifi/remote/StandardRemoteGroupPort.java @@ -18,6 +18,7 @@ package org.apache.nifi.remote; import java.io.DataInputStream; import java.io.DataOutputStream; +import java.io.File; import java.io.IOException; import java.net.InetSocketAddress; import java.net.URI; @@ -44,18 +45,20 @@ import javax.net.ssl.SSLContext; import javax.security.cert.CertificateExpiredException; import javax.security.cert.CertificateNotYetValidException; -import org.apache.nifi.cluster.ClusterNodeInformation; -import org.apache.nifi.cluster.NodeInformation; import org.apache.nifi.components.ValidationResult; import org.apache.nifi.connectable.ConnectableType; import org.apache.nifi.connectable.Connection; -import org.apache.nifi.controller.AbstractPort; import org.apache.nifi.controller.ProcessScheduler; +import org.apache.nifi.controller.exception.CommunicationsException; import org.apache.nifi.groups.ProcessGroup; import org.apache.nifi.groups.RemoteProcessGroup; import org.apache.nifi.processor.ProcessContext; import org.apache.nifi.processor.ProcessSession; import org.apache.nifi.processor.Relationship; +import org.apache.nifi.remote.client.socket.EndpointConnectionState; +import org.apache.nifi.remote.client.socket.EndpointConnectionStatePool; +import org.apache.nifi.remote.cluster.ClusterNodeInformation; +import org.apache.nifi.remote.cluster.NodeInformation; import org.apache.nifi.remote.codec.FlowFileCodec; import org.apache.nifi.remote.exception.BadRequestException; import org.apache.nifi.remote.exception.HandshakeException; @@ -71,35 +74,28 @@ import org.apache.nifi.remote.protocol.CommunicationsSession; import org.apache.nifi.remote.protocol.socket.SocketClientProtocol; import org.apache.nifi.reporting.Severity; import org.apache.nifi.scheduling.SchedulingStrategy; - +import org.apache.nifi.util.NiFiProperties; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.sun.jersey.api.client.ClientHandlerException; -public class StandardRemoteGroupPort extends AbstractPort implements RemoteGroupPort { +public class StandardRemoteGroupPort extends RemoteGroupPort { public static final String USER_AGENT = NiFi-Site-to-Site; public static final String CONTENT_TYPE = application/octet-stream; public static final int GZIP_COMPRESSION_LEVEL = 1; -public static final long PEER_REFRESH_PERIOD = 6L; private static final String CATEGORY = Site to Site; private static final Logger logger = LoggerFactory.getLogger(StandardRemoteGroupPort.class); private final RemoteProcessGroup remoteGroup; -private final SSLContext sslContext; private final AtomicBoolean useCompression = new AtomicBoolean(false); private final AtomicBoolean targetExists = new AtomicBoolean(true); private final AtomicBoolean targetRunning = new AtomicBoolean(true); -private final AtomicLong peerIndex = new AtomicLong(0L); - -
[jira] [Created] (NIFI-282) Refactor site-to-site so that there exists a 'client' util that can be used outside of NiFi
Mark Payne created NIFI-282: --- Summary: Refactor site-to-site so that there exists a 'client' util that can be used outside of NiFi Key: NIFI-282 URL: https://issues.apache.org/jira/browse/NIFI-282 Project: Apache NiFi Issue Type: Task Components: Core Framework, Tools and Build Reporter: Mark Payne Assignee: Mark Payne -- This message was sent by Atlassian JIRA (v6.3.4#6332)
svn commit: r936684 - /websites/production/nifi/content/
Author: joewitt Date: Sun Jan 18 20:11:06 2015 New Revision: 936684 Log: Publishing svnmucc operation to nifi site by joewitt Added: websites/production/nifi/content/ - copied from r936683, websites/staging/nifi/trunk/content/
svn commit: r1652844 - /incubator/nifi/site/trunk/templates/nav.html
Author: joewitt Date: Sun Jan 18 20:09:50 2015 New Revision: 1652844 URL: http://svn.apache.org/r1652844 Log: added link to release guide Modified: incubator/nifi/site/trunk/templates/nav.html Modified: incubator/nifi/site/trunk/templates/nav.html URL: http://svn.apache.org/viewvc/incubator/nifi/site/trunk/templates/nav.html?rev=1652844r1=1652843r2=1652844view=diff == --- incubator/nifi/site/trunk/templates/nav.html (original) +++ incubator/nifi/site/trunk/templates/nav.html Sun Jan 18 20:09:50 2015 @@ -40,6 +40,7 @@ a href=# class=dropdown-toggle data-toggle=dropdown role=button aria-expanded=falseDevelopmentspan class=caret/span/a ul class=dropdown-menu role=menu lia href=/development/quickstart.htmlQuickstart/a/li + lia href=/development/release-guide.htmlRelease Guide/a/li lia href=https://git-wip-us.apache.org/repos/asf/incubator-nifi.git;span class=glyphicon glyphicon-link aria-hidden=true/span Source/a/li li class=divider/li li class=dropdown-headerTools/li
svn commit: r936682 - in /websites/staging/nifi/trunk/content: ./ development/ docs/ downloads/
Author: buildbot Date: Sun Jan 18 20:09:53 2015 New Revision: 936682 Log: Staging update by buildbot for nifi Modified: websites/staging/nifi/trunk/content/ (props changed) websites/staging/nifi/trunk/content/development/mavenplugin.html websites/staging/nifi/trunk/content/development/quickstart.html websites/staging/nifi/trunk/content/development/release-guide.html websites/staging/nifi/trunk/content/development/releasemanagement.html websites/staging/nifi/trunk/content/docs/faq.html websites/staging/nifi/trunk/content/docs/roadmap.html websites/staging/nifi/trunk/content/downloads/index.html websites/staging/nifi/trunk/content/index.html websites/staging/nifi/trunk/content/mailing_lists.html websites/staging/nifi/trunk/content/people.html websites/staging/nifi/trunk/content/sitemap.html Propchange: websites/staging/nifi/trunk/content/ -- --- cms:source-revision (original) +++ cms:source-revision Sun Jan 18 20:09:53 2015 @@ -1 +1 @@ -1652843 +1652844 Modified: websites/staging/nifi/trunk/content/development/mavenplugin.html == --- websites/staging/nifi/trunk/content/development/mavenplugin.html (original) +++ websites/staging/nifi/trunk/content/development/mavenplugin.html Sun Jan 18 20:09:53 2015 @@ -72,6 +72,7 @@ a href=# class=dropdown-toggle data-toggle=dropdown role=button aria-expanded=falseDevelopmentspan class=caret/span/a ul class=dropdown-menu role=menu lia href=/development/quickstart.htmlQuickstart/a/li + lia href=/development/release-guide.htmlRelease Guide/a/li lia href=https://git-wip-us.apache.org/repos/asf/incubator-nifi.git;span class=glyphicon glyphicon-link aria-hidden=true/span Source/a/li li class=divider/li li class=dropdown-headerTools/li Modified: websites/staging/nifi/trunk/content/development/quickstart.html == --- websites/staging/nifi/trunk/content/development/quickstart.html (original) +++ websites/staging/nifi/trunk/content/development/quickstart.html Sun Jan 18 20:09:53 2015 @@ -72,6 +72,7 @@ a href=# class=dropdown-toggle data-toggle=dropdown role=button aria-expanded=falseDevelopmentspan class=caret/span/a ul class=dropdown-menu role=menu lia href=/development/quickstart.htmlQuickstart/a/li + lia href=/development/release-guide.htmlRelease Guide/a/li lia href=https://git-wip-us.apache.org/repos/asf/incubator-nifi.git;span class=glyphicon glyphicon-link aria-hidden=true/span Source/a/li li class=divider/li li class=dropdown-headerTools/li Modified: websites/staging/nifi/trunk/content/development/release-guide.html == --- websites/staging/nifi/trunk/content/development/release-guide.html (original) +++ websites/staging/nifi/trunk/content/development/release-guide.html Sun Jan 18 20:09:53 2015 @@ -72,6 +72,7 @@ a href=# class=dropdown-toggle data-toggle=dropdown role=button aria-expanded=falseDevelopmentspan class=caret/span/a ul class=dropdown-menu role=menu lia href=/development/quickstart.htmlQuickstart/a/li + lia href=/development/release-guide.htmlRelease Guide/a/li lia href=https://git-wip-us.apache.org/repos/asf/incubator-nifi.git;span class=glyphicon glyphicon-link aria-hidden=true/span Source/a/li li class=divider/li li class=dropdown-headerTools/li Modified: websites/staging/nifi/trunk/content/development/releasemanagement.html == --- websites/staging/nifi/trunk/content/development/releasemanagement.html (original) +++ websites/staging/nifi/trunk/content/development/releasemanagement.html Sun Jan 18 20:09:53 2015 @@ -72,6 +72,7 @@ a href=# class=dropdown-toggle data-toggle=dropdown role=button aria-expanded=falseDevelopmentspan class=caret/span/a ul class=dropdown-menu role=menu lia href=/development/quickstart.htmlQuickstart/a/li + lia href=/development/release-guide.htmlRelease Guide/a/li lia href=https://git-wip-us.apache.org/repos/asf/incubator-nifi.git;span class=glyphicon glyphicon-link aria-hidden=true/span
svn commit: r1652843 - /incubator/nifi/site/trunk/content/development/release-guide.md
Author: joewitt Date: Sun Jan 18 20:07:41 2015 New Revision: 1652843 URL: http://svn.apache.org/r1652843 Log: making progress - still a long ways to go Modified: incubator/nifi/site/trunk/content/development/release-guide.md Modified: incubator/nifi/site/trunk/content/development/release-guide.md URL: http://svn.apache.org/viewvc/incubator/nifi/site/trunk/content/development/release-guide.md?rev=1652843r1=1652842r2=1652843view=diff == --- incubator/nifi/site/trunk/content/development/release-guide.md (original) +++ incubator/nifi/site/trunk/content/development/release-guide.md Sun Jan 18 20:07:41 2015 @@ -42,16 +42,31 @@ capacity of a [Release Manager][release- - [Apache Release Signing][apache-release-signing] - [Apache Guide to publish Maven Artifacts][apache-guide-publish-maven] -## The Objective +## The objective + +Our aim is to produce and official Apache release. +The following is a list of the sorts of things that will be validated: + + - Do the resulting artifacts have 'incubating' in the name? + - Is the LICENSE and NOTICE file present in the source root and complete? + - Is the DISCLAIMER present with the LICENSE and NOTICE? + - Is there a README available that explains how to build the application and to execute it? + - Are the signatures and hashes correct for the source release? + - Do all sources have necessary headers? + - Are there no unexpected binary files in the release? + - Can one compile and run the application with tests from the source bundle? + +## The flow of a release (an outline) + - The community is contributing to a series of JIRA tickets assigned to the next release + - The number of tickets open/remaining for that next release approaches zero + - A member of the community suggests a release and initiates a discussion + - Someone volunteers to be an RM for the release (can be a committer but apache guides indicate preference is a PPMC member) + - A release candidate is put together and a vote sent to the team. + - If the team rejects the vote the issues noted are resolved and another RC is generated + - Once a vote is accepted within the NiFi PPMC for a release candidate then the vote is sent to the IPMC + - If the IPMC rejects the vote then the issues are resolved and a new RC prepared and voted upon within the PPMC + - If the IPMC accepts the vote then the release is 'releasable' and can be placed into the appropriate 'dist' location, maven artifacts released from staging. -So with all the background material in mind and with the intent to perform -a release established it is important to acknkowledge the objective here. -The aim is to produce an official Apache release. That means producing a legally -valid and signed bundle of source code which one can download and build for themselves. -The other items like prebuilt binaries of the full application are not the official -release artifact they are conveniences for users who cannot readily build the application -themselves. The same is true then of maven artifacts published to Apache or -mirrored artifact repositories. [release-manager]: http://www.apache.org/dev/release-publishing.html#release_manager [apache-license]: http://apache.org/licenses/LICENSE-2.0