That’s correct. You can read more about git. But, technically, you are on a detached head. Don’t worry about it. The only reason is to get to the same version that matches the release.
-JZ On July 7, 2014 at 10:32:28 PM, Cameron McKenzie ([email protected]) wrote: Yep, that's what I was using, but then I get: [cam:~/Documents/workspace/curator] cam% git checkout apache-curator-2.6.0 M curator-x-rpc/dependency-reduced-pom.xml Note: checking out 'apache-curator-2.6.0'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b new_branch_name HEAD is now at 56e4b62... [maven-release-plugin] prepare release apache-curator-2.6.0 [cam:~/Documents/workspace/curator] cam% On Tue, Jul 8, 2014 at 1:27 PM, Jordan Zimmerman <[email protected]> wrote: The tag is apache-curator-2.6.0 - X.X.X refers to the version. On July 7, 2014 at 10:22:18 PM, Cameron McKenzie ([email protected]) wrote: Cool, I see it now. I was looking in the staging repos under the main screen. This next step: git checkout apache-curator-X.X.X Is this referring to a tag? It doesn't seem to exist? Also, my local git now seems to be in front of the remote. I have not modified anything, so this is presumably something that the mvn scripts have done? Should I be pushing the changes? [cam:~/Documents/workspace/curator] cam% git status On branch master Your branch is ahead of 'origin/master' by 2 commits. (use "git push" to publish your local commits) Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: curator-x-rpc/dependency-reduced-pom.xml no changes added to commit (use "git add" and/or "git commit -a") [cam:~/Documents/workspace/curator] cam% On Tue, Jul 8, 2014 at 1:12 PM, Jordan Zimmerman <[email protected]> wrote: I see it there. The UI may have changed since the wiki was written. There’s a link to “staging repositories” in the list on the left. -JZ On July 7, 2014 at 10:10:15 PM, Cameron McKenzie ([email protected]) wrote: Yep, build seemed to work this time, but I can't find 2.6.0 on Nexus. I don't see the enterprise tab referred to in the Wiki? On Tue, Jul 8, 2014 at 12:59 PM, Jordan Zimmerman <[email protected]> wrote: Yeah - that looks like a network problem. -JZ On July 7, 2014 at 9:58:25 PM, Cameron McKenzie ([email protected]) wrote: May have spoken too soon. This may just be a temporary network glitch I will see if I can rerun. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Curator ..................................... SUCCESS [ 44.628 s] [INFO] Curator Testing .................................... SUCCESS [ 25.254 s] [INFO] Curator Client ..................................... SUCCESS [ 21.574 s] [INFO] Curator Framework .................................. SUCCESS [ 53.770 s] [INFO] Curator Recipes .................................... SUCCESS [ 36.864 s] [INFO] Curator Service Discovery .......................... SUCCESS [ 24.884 s] [INFO] Curator Examples ................................... FAILURE [ 27.631 s] [INFO] Curator Service Discovery Server ................... SKIPPED [INFO] Curator RPC Proxy .................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 03:56 min [INFO] Finished at: 2014-07-08T12:51:37+10:00 [INFO] Final Memory: 28M/82M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.1:deploy (default-deploy) on project curator-examples: Failed to deploy artifacts: Could not transfer artifact org.apache.curator:curator-examples:jar.asc:javadoc:2.6.0 from/to apache.releases.https (https://repository.apache.org/service/local/staging/deploy/maven2): The target server failed to respond -> [Help 1] On Tue, Jul 8, 2014 at 12:53 PM, Jordan Zimmerman <[email protected]> wrote: I was referring to problems I have had in the past trying re-run a release that’s failed. It usually fails trying to push the tag if the tag already exists. -JZ On July 7, 2014 at 9:50:56 PM, Luciano Resende ([email protected]) wrote: What do you mean by this ? There should not be a release 2.6.0 in maven as it's not an official release... On Monday, July 7, 2014, Jordan Zimmerman <[email protected]> wrote: > Also, Maven isn’t going to let you release 2.6.0 again. It will have to be > 2.6.1. As a friend of mine used to say, there are an infinite number of > entries in the release version space. > > -JZ > > On July 7, 2014 at 9:40:50 PM, Jordan Zimmerman ( > [email protected] <javascript:;>) wrote: > > Go to https://repository.apache.org and see if you can log in. If you > can’t you’ll have to ask INFRA for permissions. They should have been added > already. > > My experience with all this is that there are an interminable number of > steps each with its own potential for error. > > -JZ > > On July 7, 2014 at 9:38:19 PM, Cameron McKenzie ([email protected] > <javascript:;>) wrote: > > The next hurdle. It's complaining that I'm not authorised to transfer the > file to staging? > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-deploy-plugin:2.8.1:deploy (default-deploy) > on project apache-curator: Failed to deploy artifacts: Could not transfer > artifact org.apache.curator:apache-curator:pom:2.6.0 from/to > apache.releases.https ( > https://repository.apache.org/service/local/staging/deploy/maven2): > Failed to transfer file: > https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/curator/apache-curator/2.6.0/apache-curator-2.6.0.pom. > Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1] > > [ERROR] > > [ERROR] To see the full stack trace of the errors, re-run Maven with > the -e switch. > > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > > [ERROR] > > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Reactor Summary: > > [INFO] > > [INFO] Apache Curator ..................................... FAILURE [01:03 > min] > > [INFO] Curator Testing .................................... SKIPPED > > [INFO] Curator Client ..................................... SKIPPED > > [INFO] Curator Framework .................................. SKIPPED > > [INFO] Curator Recipes .................................... SKIPPED > > [INFO] Curator Service Discovery .......................... SKIPPED > > [INFO] Curator Examples ................................... SKIPPED > > [INFO] Curator Service Discovery Server ................... SKIPPED > > [INFO] Curator RPC Proxy .................................. SKIPPED > > [INFO] > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > > > On Tue, Jul 8, 2014 at 12:25 PM, Jordan Zimmerman < > [email protected] <javascript:;>> wrote: > Yes to all > > On July 7, 2014 at 9:24:32 PM, Cameron McKenzie ([email protected] > <javascript:;>) wrote: > > Ok, just to confirm before I go down the slippery slope. > Version number for each component should be bumped to 2.6.0, and then the > defaults should just be used for everything else? > > What is the release version for "Apache Curator"? > (org.apache.curator:apache-curator) 2.5.1: : 2.6.0 > > What is the release version for "Curator Testing"? > (org.apache.curator:curator-test) 2.5.1: : 2.6.0 > > What is the release version for "Curator Client"? > (org.apache.curator:curator-client) 2.5.1: : 2.6.0 > > What is the release version for "Curator Framework"? > (org.apache.curator:curator-framework) 2.5.1: : 2.6.0 > > What is the release version for "Curator Recipes"? > (org.apache.curator:curator-recipes) 2.5.1: : 2.6.0 > > What is the release version for "Curator Service Discovery"? > (org.apache.curator:curator-x-discovery) 2.5.1: : 2.6.0 > > What is the release version for "Curator Examples"? > (org.apache.curator:curator-examples) 2.5.1: : 2.6.0 > > What is the release version for "Curator Service Discovery Server"? > (org.apache.curator:curator-x-discovery-server) 2.5.1: : 2.6.0 > > What is the release version for "Curator RPC Proxy"? > (org.apache.curator:curator-x-rpc) 2.5.1: : 2.6.0 > > What is SCM release tag or label for "Apache Curator"? > (org.apache.curator:apache-curator) apache-curator-2.6.0: : > > What is the new development version for "Apache Curator"? > (org.apache.curator:apache-curator) 2.6.1-SNAPSHOT: : > > What is the new development version for "Curator Testing"? > (org.apache.curator:curator-test) 2.6.1-SNAPSHOT: : > > What is the new development version for "Curator Client"? > (org.apache.curator:curator-client) 2.6.1-SNAPSHOT: : > > What is the new development version for "Curator Framework"? > (org.apache.curator:curator-framework) 2.6.1-SNAPSHOT: : > > What is the new development version for "Curator Recipes"? > (org.apache.curator:curator-recipes) 2.6.1-SNAPSHOT: : > > What is the new development version for "Curator Service Discovery"? > (org.apache.curator:curator-x-discovery) 2.6.1-SNAPSHOT: : > > What is the new development version for "Curator Examples"? > (org.apache.curator:curator-examples) 2.6.1-SNAPSHOT: : > > What is the new development version for "Curator Service Discovery > Server"? (org.apache.curator:curator-x-discovery-server) 2.6.1-SNAPSHOT: : > > What is the new development version for "Curator RPC Proxy"? > (org.apache.curator:curator-x-rpc) 2.6.1-SNAPSHOT: : > > > > On Tue, Jul 8, 2014 at 12:21 PM, Jordan Zimmerman < > [email protected] <javascript:;>> wrote: > I’ve never actually done a dry run. We should change the wiki. I’m not > sure rollback actually works. You can do a > > mvn release:clean > > instead. > > On July 7, 2014 at 9:18:02 PM, Cameron McKenzie ([email protected] > <javascript:;>) wrote: > > The mvn release:rollback target is failing. It's complaining that it can't > do the git commit. I'm also seeing a lot of warnings about the following: > [WARNING] Ignoring unrecognized line: ?? curator-client/pom.xml.next > > [WARNING] Ignoring unrecognized line: ?? > curator-client/pom.xml.releaseBackup > > [WARNING] Ignoring unrecognized line: ?? curator-client/pom.xml.tag > > [WARNING] Ignoring unrecognized line: ?? curator-examples/pom.xml.next > > The last commands are below: > > [INFO] Executing: /bin/sh -c cd /Users/cam/Documents/workspace/curator && > git commit --verbose -F > /var/folders/ms/n6xxr6dd4dxb3dhth1k31s0r0000gn/T/maven-scm-1233534200.commit > pom.xml curator-test/pom.xml curator-client/pom.xml > curator-framework/pom.xml curator-recipes/pom.xml > curator-x-discovery/pom.xml curator-examples/pom.xml > curator-x-discovery-server/pom.xml curator-x-rpc/pom.xml > > [INFO] Working directory: /Users/cam/Documents/workspace/curator > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Reactor Summary: > > [INFO] > > [INFO] Apache Curator ..................................... FAILURE [ > 2.317 s] > > [INFO] Curator Testing .................................... SKIPPED > > [INFO] Curator Client ..................................... SKIPPED > > [INFO] Curator Framework .................................. SKIPPED > > [INFO] Curator Recipes .................................... SKIPPED > > [INFO] Curator Service Discovery .......................... SKIPPED > > [INFO] Curator Examples ................................... SKIPPED > > [INFO] Curator Service Discovery Server ................... SKIPPED > > [INFO] Curator RPC Proxy .................................. SKIPPED > > [INFO] > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Total time: 4.523 s > > [INFO] Finished at: 2014-07-08T12:15:58+10:00 > > [INFO] Final Memory: 11M/81M > > [INFO] > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-release-plugin:2.5:rollback (default-cli) on > project apache-curator: Unable to commit files > > [ERROR] Provider message: > > [ERROR] The git-commit command failed. > > [ERROR] Command output: > > [ERROR] -> [Help 1] > > > > On Tue, Jul 8, 2014 at 12:05 PM, Jordan Zimmerman < > [email protected] <javascript:;>> wrote: > Yeah - that looks right. > > On July 7, 2014 at 9:05:06 PM, Cameron McKenzie ([email protected] > <javascript:;>) wrote: > > This is the expected diff between pom.xml and pom.xml.tag? > > [cam:~/Documents/workspace/curator] cam% diff pom.xml pom.xml.tag > > 31c31 > > < <version>2.5.1-SNAPSHOT</version> > > --- > > > <version>2.6.0</version> > > 105c105 > > < <tag>HEAD</tag> > > --- > > > <tag>apache-curator-2.6.0</tag> > > > > On Tue, Jul 8, 2014 at 11:31 AM, Jordan Zimmerman < > [email protected] <javascript:;>> wrote: > Yes - marked it as fixed. > > On July 7, 2014 at 8:30:38 PM, Cameron McKenzie ([email protected] > <javascript:;>) wrote: > > Ok, final question (I hope) for now. Do I just close the CURATOR-116 JIRA > ticket? > > > On Tue, Jul 8, 2014 at 11:27 AM, Jordan Zimmerman < > [email protected] <javascript:;>> wrote: > No - we’re using semantic versioning. There’s some API changes as I > recall. Also, this release has the new Curator-RPC. It should be 2.6.0. > > -Jordan > > On July 7, 2014 at 7:53:30 PM, Cameron McKenzie ([email protected] > <javascript:;>) wrote: > > Once I've merged CURATOR-116, I'll do a release. I presume that this > should be a 2.5.2? > > > On Tue, Jul 8, 2014 at 7:56 AM, Jordan Zimmerman < > [email protected] <javascript:;>> wrote: > Up to you. You might want to push CURATOR-116 first. Once you’re ready, > follow the steps here (updating them if needed): > https://cwiki.apache.org/confluence/display/CURATOR/For+Curator+Committers#ForCuratorCommitters-release-curator > > -Jordan > > On July 7, 2014 at 4:54:06 PM, Cameron McKenzie ([email protected] > <javascript:;>) wrote: > > Yep, I'm happy to do the release, just let me know when you'd like me to go > forward. > cheers > > > On Tue, Jul 8, 2014 at 1:20 AM, Jordan Zimmerman < > [email protected] <javascript:;> > > wrote: > > > Looks like we have enough issues closed for a 2.6.0 release. Thoughts? > > Cameron, it would be good for you to do the next release if you don’t > mind. > > > > > > > https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+%3D+CURATOR+AND+fixVersion+%3D+2.6.0+ORDER+BY+updated+DESC%2C+priority+DESC%2C+created+ASC&mode=hide > > > > -Jordan > > > > > > > > > > > -- Sent from my Mobile device
