[SERVER-41094] compass installer target is written into the source directory instead of the build output directory Created: 10/May/19  Updated: 29/Oct/23  Resolved: 29/Oct/19

Status: Closed
Project: Core Server
Component/s: Tools
Affects Version/s: None
Fix Version/s: 4.3.1

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

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Dev Platform 2019-11-04
Participants:

 Description   

The code in SConscript is currently written as:

compass_installer = env.Substfile('#/src/mongo/installer/compass/' + compass_script,
                                  SUBST_DICT=[
                                      ('@compass_type@', compass_type),
                                      ('@python_interpreter@', compass_python_interpreter),
                                  ])



 Comments   
Comment by Githook User [ 28/Oct/19 ]

Author:

{'name': 'Mathew Robinson', 'username': 'chasinglogic', 'email': 'mathew.robinson@mongodb.com'}

Message: SERVER-41094 Explicitly remove the .in extension from target
Branch: master
https://github.com/mongodb/mongo/commit/b76db931ef8de2ad2f9b930510b31ff97a11f0c3

Comment by Githook User [ 28/Oct/19 ]

Author:

{'username': 'chasinglogic', 'email': 'mathew.robinson@mongodb.com', 'name': 'Mathew Robinson'}

Message: SERVER-41094 Write compass installer to build directory
Branch: master
https://github.com/mongodb/mongo/commit/b653a1340e874cd379089ca3e9b293c2c0a12484

Comment by Eric Milkie [ 29/Jul/19 ]

Incidentally, you can see this bad behavior in action just by running scons lint. I have no idea why the lint target activates the compass installer.

Generated at Thu Feb 08 04:56:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.