[SERVER-18910] Path in distribution does not contain version Created: 10/Jun/15  Updated: 19/Sep/15  Resolved: 11/Jun/15

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 3.1.4
Fix Version/s: 3.0.5, 3.1.5

Type: Bug Priority: Major - P3
Reporter: Jonathan Abrahams Assignee: Jonathan Reams
Resolution: Done Votes: 0
Labels: 32qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-17329 Improve management of server version ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Completed:
Steps To Reproduce:

tar -tzvf ~/Downloads/mongo/mongodb-osx-x86_64-3.1.4.tgz
 
-rw-r--r--  0 mci    staff    1359 Jun  8 18:39 mongodb-osx-x86_64-binaries/README
-rw-r--r--  0 mci    staff   22660 Jun  8 18:39 mongodb-osx-x86_64-binaries/THIRD-PARTY-NOTICES
...

Sprint: Build 5 06/26/16
Participants:

 Description   

The output root from the OSX tarball does not contain the version, i.e. 3.1.4, but binaries:

mongodb-osx-x86_64-binaries



 Comments   
Comment by Githook User [ 15/Jul/15 ]

Author:

{u'username': u'jbreams', u'name': u'Jonathan Reams', u'email': u'jbreams@mongodb.com'}

Message: SERVER-18910 Don't set distname during compile
Branch: v3.0
https://github.com/mongodb/mongo/commit/4bc39c948e4f8fca3d6cef04e4469f5d99dcb297

Comment by Ernie Hershey [ 15/Jul/15 ]

I backed up the linux-64 tarball, signature, and checksums locally , re-tarred, and re-uploaded. Here are my commands, more or less.

for file in $(aws s3 ls downloads.mongodb.org/linux/mongodb-linux-x86_64-3.0.5 | awk '{print $4}' ); do aws s3 cp s3://downloads.mongodb.org/linux/$file $file.orig; done
tar zxvf mongodb-linux-x86_64-3.0.5-rc0.tgz.orig
mv mongodb-linux-x86_64-binaries  mongodb-linux-x86_64-3.0.5-rc0
tar zcvf mongodb-linux-x86_64-3.0.5-rc0.tgz mongodb-linux-x86_64-3.0.5-rc0
ssh -fn -L 5000:localhost:5000 notary-service sleep 5000
/Users/ernie/git/notary-service/client/notary-client.py --auth-token $auth_token --key-name server-3.0 --comment "Ernie Manual Signing re-tarred 3.0.5-rc0" --notary-url http://localhost:5000 mongodb-linux-x86_64-3.0.5-rc0.tgz
for file in $(aws s3 ls downloads.mongodb.org/linux/mongodb-linux-x86_64-3.0.5 | awk '{print $4}' ); do  s3put --grant public-read --header "Content-Type=application/x-gzip" --bucket downloads.mongodb.org --callback 5 --prefix /Users/ernie/  --host s3.amazonaws.com $file ; done

Comment by Ernie Hershey [ 15/Jul/15 ]

steve.briskin@10gen.com just let me know that this is breaking automation for 3.0.5-rc0 so we should definitely backport this.

For now I'm going to manually re-upload the linux-64 binaries.

It doesn't sound like we need to correct the other rc0 binaries.

Let's wait a bit to decide whether we should backport it on top of the 3.0.5-rc0 bump, which would re-push all the binaries, or after the post-bump, which will only go into effect for 3.0.5 GA.

Comment by Githook User [ 11/Jun/15 ]

Author:

{u'username': u'jbreams', u'name': u'Jonathan Reams', u'email': u'jbreams@mongodb.com'}

Message: SERVER-18910 Don't set distname during compile
Branch: master
https://github.com/mongodb/mongo/commit/2cd33990466931e4ac06ddeedbdf217885eec1cb

Generated at Thu Feb 08 03:49:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.