[SERVER-17782] Generate source tarballs with pre-interpolated version metadata files from SCons Created: 28/Mar/15  Updated: 19/Sep/15  Resolved: 27/May/15

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

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Jonathan Reams
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Related
related to SERVER-17329 Improve management of server version ... Closed
Backwards Compatibility: Fully Compatible
Backport Completed:
Sprint: BUILD 2 04/24/15, BUILD 4 06/05/15
Participants:

 Description   

Currently, the source tarball is produced as part of the sourcepush.py manual build step. It is a simple git archive of the current checkout.

We should move the responsibility for producing the source archive into SCons, so that SCons can adorn the source archive with pre-interpolated versioning information (e.g. version.cpp).

Additionally, the build system should be updated so that if it detects pre-interpolated versions of these files, it does not need to regenerate the interpolated files.

This may require moving some items out of buildinfo.cpp (which should reflect the current build and therefore should not be pre-interpolated) and into version.cpp.



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

Author:

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

Message: SERVER-17782 Fix source tarball pushes
Branch: v3.0
https://github.com/mongodb/mongo/commit/fc08c8083d0cba3589b86337bc05793a0141cefb

Comment by Githook User [ 22/May/15 ]

Author:

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

Message: SERVER-17782 Fix tarball naming in push task
Branch: master
https://github.com/mongodb/mongo/commit/36ac7a5d8a6cc4f6280f90ce743ab05a77a541a8

Comment by Githook User [ 22/May/15 ]

Author:

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

Message: SERVER-17782 Fix source tarball pushes
Branch: master
https://github.com/mongodb/mongo/commit/8d7ea5bdb7385e6d08280aeafbc27e955ec69e0a

Comment by Githook User [ 21/May/15 ]

Author:

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

Message: SERVER-17782 SERVER-17329 Improve versioning and add distsrc to SCons
Branch: master
https://github.com/mongodb/mongo/commit/2ce0a91ec6c28f6c4b401b852a157977b709840e

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