On 8 January 2012 21:55, Gary Gregory <garydgreg...@gmail.com> wrote: > Hi All: > > I am pushing out 1.6 and it's time to click release out of Nexus. I > see that there are a ton of files there and the instructions say to > remove *-bin* and *-src*. Ok fine, I delete those one at a time, no > multiple selection allowed, one annoyance.
Hopefully you copied them first, as they are needed for dist. > Then I think to myself, hm, are the instructions complete? So I look > at what 1.5.7 files are in Maven Central and I notice that there are > no sha1 or md5 files. AFAIK, Maven does normally contain md5 and sha1 - see for example: http://repo1.maven.org/maven2/org/apache/commons/commons-jexl/2.1.1/ > So what do I, silly me? I delete them! When I then click release in > Nexus, I get: > > Staging ruleset evaluation on repository 'org.apache.commons-012 > (u:ggregory, a:24.250.160.61)' has failed. > > Staging Checksum Validation > > -Missing SHA1: '/commons-pool/commons-pool/1.6/commons-pool-1.6.jar.sha1'. > -Missing MD5: '/commons-pool/commons-pool/1.6/commons-pool-1.6.jar.md5.' > -Missing SHA1: > '/commons-pool/commons-pool/1.6/commons-pool-1.6-javadoc.jar.sha1'. > -Missing MD5: > '/commons-pool/commons-pool/1.6/commons-pool-1.6-javadoc.jar.md5.' > -Missing SHA1: '/commons-pool/commons-pool/1.6/commons-pool-1.6.pom.sha1'. > -Missing MD5: '/commons-pool/commons-pool/1.6/commons-pool-1.6.pom.md5.' > -Missing SHA1: > '/commons-pool/commons-pool/1.6/commons-pool-1.6-sources.jar.sha1'. > -Missing MD5: > '/commons-pool/commons-pool/1.6/commons-pool-1.6-sources.jar.md5.' > > !$#$@# I can't believe I shot myself in the foot! > > I have the sha1 and md5 files on my people.apache.org home dir. > > Can I copy them to Nexus? I don't think you can update the staging repo once it is closed. However, you may be able to create a new one using the existihg files, by using the Nexus Staging Upload feature. Create a bundle that contains copies of all the Maven files from Nexus + the recovered hashes. You can try using the Maven Repository plugin, but I had problems with that; it may be simpler to create the jar file manually. Or you can upload each file singly, but that quickly becomes boring... Nexus may prevent you from creating a new staging repo until you have dropped the old one. If so, be very careful not to delete the files till you have secured copies. The problem arises - how can you prove that the artifacts you release are the ones we voted on? Unless there is a valid PMC vote, the RM is personally responsible for the content of the release. That's not a risk I would be willing to take, but YMMV. It's a pity that you did not include hashes (or sigs) of the files in the vote e-mail, as that would be a way to prove that the voted-on artifacts were the ones that were re-staged. One possibility would be to add the .asc files to the vote e-mail, and ask the original voters to confirm that these correspond with the .asc files they voted on (i.e. the current contents of the Nexus staging repo). > Gary > > On Sun, Jan 8, 2012 at 12:42 PM, Gary Gregory <garydgreg...@gmail.com> wrote: >> This vote passes with 5 +1s from the PMC: >> >> Simone Tripodi >> Oliver Heger >> Christian Grobmeier >> Jörg Schaible >> Gary Gregory >> >> No other votes were cast. >> >> Cheers, >> Gary >> >> On Wed, Jan 4, 2012 at 2:20 PM, Gary Gregory <ggreg...@apache.org> wrote: >>> Good day to you all: >>> >>> I have prepared Commons Pool 1.6-RC3. >>> >>> The only change from RC2 is that the build was run from a clean SVN checkout >>> to avoid issues with using a mixed-revision working copy. >>> >>> The only changes from 1.5.7 are the additions of generics and therefore >>> requires Java 5. >>> >>> Tag: >>> >>> https://svn.apache.org/repos/asf/commons/proper/pool/tags/POOL_1_6_RC3/ >>> >>> Site: >>> >>> https://people.apache.org/builds/commons/pool/1.6/RC3/ >>> >>> Binaries: >>> >>> https://repository.apache.org/content/repositories/orgapachecommons-012/ >>> >>> The link above includes checksum files. >>> >>> [ ] +1 release it >>> [ ] +0 almost, please fix: >>> [ ] -1 no because: >>> >>> This VOTE is open for at least 72 hours, until Janurary 7 2011, 15:00 EST. >>> >>> Changes: >>> o [POOL-208] Support Java 1.5 Generics in version 1.x. >>> >>> Thank you and happy new year, >>> Gary >>> >>> -- >>> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org >>> JUnit in Action, 2nd Ed: http://bit.ly/ECvg0 >>> Spring Batch in Action: http://bit.ly/bqpbCK >>> Blog: http://garygregory.wordpress.com >>> Home: http://garygregory.com/ >>> Tweet! http://twitter.com/GaryGregory >> >> >> >> -- >> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org >> JUnit in Action, 2nd Ed: http://bit.ly/ECvg0 >> Spring Batch in Action: http://bit.ly/bqpbCK >> Blog: http://garygregory.wordpress.com >> Home: http://garygregory.com/ >> Tweet! http://twitter.com/GaryGregory > > > > -- > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org > JUnit in Action, 2nd Ed: http://bit.ly/ECvg0 > Spring Batch in Action: http://bit.ly/bqpbCK > Blog: http://garygregory.wordpress.com > Home: http://garygregory.com/ > Tweet! http://twitter.com/GaryGregory > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org