curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Zimmerman <jor...@jordanzimmerman.com>
Subject Re: Release?
Date Tue, 08 Jul 2014 02:53:09 GMT
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 (luckbr1975@gmail.com) 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 <jordan@jordanzimmerman.com>  
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 (  
> jordan@jordanzimmerman.com <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 (mckenzie.cam@gmail.com  
> <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 <  
> jordan@jordanzimmerman.com <javascript:;>> wrote:  
> Yes to all  
>  
> On July 7, 2014 at 9:24:32 PM, Cameron McKenzie (mckenzie.cam@gmail.com  
> <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 <  
> jordan@jordanzimmerman.com <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 (mckenzie.cam@gmail.com  
> <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 <  
> jordan@jordanzimmerman.com <javascript:;>> wrote:  
> Yeah - that looks right.  
>  
> On July 7, 2014 at 9:05:06 PM, Cameron McKenzie (mckenzie.cam@gmail.com  
> <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 <  
> jordan@jordanzimmerman.com <javascript:;>> wrote:  
> Yes - marked it as fixed.  
>  
> On July 7, 2014 at 8:30:38 PM, Cameron McKenzie (mckenzie.cam@gmail.com  
> <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 <  
> jordan@jordanzimmerman.com <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 (mckenzie.cam@gmail.com  
> <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 <  
> jordan@jordanzimmerman.com <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 (mckenzie.cam@gmail.com  
> <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 <  
> jordan@jordanzimmerman.com <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  

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message