[SERVER-68568] future_git_tag should override MONGO_VERSION Created: 04/Aug/22  Updated: 29/Oct/23  Resolved: 09/Aug/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.2, 6.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Ryan Egesdahl (Inactive) Assignee: Ryan Egesdahl (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
Related
is related to SERVER-63191 Create Task that Generates Version Me... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0, v5.0, v4.4, v4.2
Participants:
Linked BF Score: 36

 Description   

When we switched to precalculating MONGO_VERSION in SERVER-63191, we broke future_git_tag tests, which add a dummy tag to the repository so we can test what happens with an arbitrary future version. Unfortunately, the behavior of the build task depends on MONGO_VERSION not being precalculated, so it never gets overridden.

What we can do here is to simply generate and apply version expansions a second time for all of the future_git_tag tasks to ensure the version produced by the dummy git tag gets used.



 Comments   
Comment by Githook User [ 12/Aug/22 ]

Author:

{'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}

Message: SERVER-68568 Override version with future tag

(cherry picked from commit e86809ff7094a3612dad2aa1acd354352676966a)
Branch: v6.0
https://github.com/mongodb/mongo/commit/0c68900f7ee957327cef8dee9c9614f349c005e4

Comment by Githook User [ 09/Aug/22 ]

Author:

{'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}

Message: SERVER-68568 Override version with future tag
Branch: master
https://github.com/mongodb/mongo/commit/e86809ff7094a3612dad2aa1acd354352676966a

Generated at Thu Feb 08 06:11:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.