[SERVER-16852] Include build info in version output Created: 14/Jan/15  Updated: 13/Oct/15  Resolved: 04/Sep/15

Status: Closed
Project: Core Server
Component/s: Build, Diagnostics
Affects Version/s: 2.8.0-rc4
Fix Version/s: 3.1.8

Type: New Feature Priority: Major - P3
Reporter: Ernie Hershey Assignee: Jonathan Reams
Resolution: Done Votes: 0
Labels: build-planning
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: BUILD 4 06/05/15, Build 5 06/26/16, Build 6 07/17/15, Build 7 08/10/15, Build 8 08/31/15, Build 9 (09/18/15)
Participants:

 Description   

It would be useful if version output included information about what platform a binary was built for/on - like including the "distmod" scons parameter or sysInfo from db.serverBuildInfo(). Neither of those are perfect but would help a lot in cases where for example someone downloads binaries for the wrong platform and all we have to go on is what the binary prints before failing to start.

sysinfo -
"sysInfo" : "Linux build8.nj1.10gen.cc 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Jan 3 21:39:27 UTC 2014 x86_64 BOOST_LIB_VERSION=1_49",
distmod - "rhel57" / "rhel62" / "2008plus"



 Comments   
Comment by Githook User [ 13/Oct/15 ]

Author:

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

Message: SERVER-16852 Use SCons variable distmod instead of option
Branch: artree
https://github.com/10gen/mongo-enterprise-modules/commit/2ed5a4aa88fbb7eabd759a2f523a68e7448da12c

Comment by Githook User [ 08/Sep/15 ]

Author:

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

Message: SERVER-16852 Fix enterprise OSX builds
Branch: master
https://github.com/mongodb/mongo/commit/4c993f0fdeffaea85f4e4ae85f19455585af1acd

Comment by Jonathan Reams [ 04/Sep/15 ]

Accidentally posted under SERVER-18652

Author:

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

Message: SERVER-18652 Don't check keys of buildInfo.buildEnvironment
Branch: master
https://github.com/mongodb/mongo/commit/8b93c58a2bbf7e1739d2c2ad3ff963d081cbdaba

Comment by Githook User [ 04/Sep/15 ]

Author:

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

Message: SERVER-16852 Print buildInfo in version output/allow override of buildInfo
Branch: master
https://github.com/mongodb/mongo/commit/e729e9caf7847779f281a2043725dce643f2221b

Comment by Githook User [ 04/Sep/15 ]

Author:

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

Message: SERVER-16852 Use SCons variable distmod instead of option
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/2ed5a4aa88fbb7eabd759a2f523a68e7448da12c

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