Ticket #4264 (closed: fixed)
Movable mantid
Reported by: | Peter Peterson | Owned by: | Peter Peterson |
---|---|---|---|
Priority: | major | Milestone: | Release 2.0 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Stuart Campbell |
Description
A long standing issue in the linux world (at SNS) is that we would like to have two copies of mantid installed on a machine and have them play nice together (read: ignore each other). Here is the proposal for how to do that.
- Allow for "MANTID_ROOT" to exist in the various properties files (i.e. Mantid . user . properties). This will make it so users to have one properties file work for multiple installations. This will be determined by introspection rather than an environment variable.
- For directories in the mantid properties file, see if they start with the path listed by "MANTID_ROOT" and replace the string accordingly.
- Work on installers. Linux being the highest priority. Maybe not even worrying about mac or windoze for this release.
If there is something that I really need to watch out for, let me know. I'm also holding an open contest (without a prize other than pride) to name the variable that will exist only in properties files.
Change History
comment:1 Changed 9 years ago by Peter Peterson
- Owner set to Peter Peterson
- Status changed from new to accepted
comment:2 Changed 9 years ago by Peter Peterson
Compare directories as well as string. Refs #4264
Changeset: f1b64970e3358ebc89e80f6cee0d85c7c9a6bba1
comment:3 Changed 9 years ago by Peter Peterson
Compare directories as well as string. Refs #4264
Changeset: 24851e8a5ac660ebb7c69901196ef4725fddfdc1
comment:4 Changed 9 years ago by Peter Peterson
Adding missing properties. Refs #4264.
Changeset: cb296cb1f2b06bc2933404abcfc58b8725943243
comment:5 Changed 9 years ago by Peter Peterson
Removing debug print statements. Refs #4264.
Changeset: 4877fd5e3449e63b73fa873478dcd7bcc979850c
comment:6 Changed 9 years ago by Peter Peterson
Moved to central version of splitting code. Refs #4264.
Changeset: 16ea22e3ef95159763e699681f78b8f598421494
comment:7 Changed 9 years ago by Peter Peterson
Set PV_PLUGIN_PATH in ConfigService. Refs #4264.
When running mantid you know where the plugins are supposed to exist relative to the MantidPlot executable. Just set the environment variable.
Changeset: 6776791b32b1ecabcc0121ec225f30c54d2e15b4
comment:8 Changed 9 years ago by Peter Peterson
Changed to do a quick search for pv plugins. Refs #4264.
Changeset: 514ca0e457b5375d0712fc621684edddf486ba96
comment:9 Changed 9 years ago by Peter Peterson
Compare directories as well as string. Refs #4264
Changeset: f1b64970e3358ebc89e80f6cee0d85c7c9a6bba1
comment:10 Changed 9 years ago by Peter Peterson
Compare directories as well as string. Refs #4264
Changeset: 24851e8a5ac660ebb7c69901196ef4725fddfdc1
comment:11 Changed 9 years ago by Peter Peterson
Adding missing properties. Refs #4264.
Changeset: cb296cb1f2b06bc2933404abcfc58b8725943243
comment:12 Changed 9 years ago by Peter Peterson
Removing debug print statements. Refs #4264.
Changeset: 4877fd5e3449e63b73fa873478dcd7bcc979850c
comment:13 Changed 9 years ago by Peter Peterson
Moved to central version of splitting code. Refs #4264.
Changeset: 16ea22e3ef95159763e699681f78b8f598421494
comment:14 Changed 9 years ago by Peter Peterson
Moved environment scripts to inside the install directory. Refs #4264.
By default they now go in /opt/mantid/etc and get symbolic links in RHEL. The links will need to be done in ubuntu as well, but that isn't top priority.
Changeset: a93e8df19d159db5a90f2862e671a2297b0572b3
comment:15 Changed 9 years ago by Peter Peterson
Resetting the post (un)install variables. Refs #4264.
Changeset: 07df7ec74effc7d07d08f58d454e30cf05eb67fa
comment:16 Changed 9 years ago by Peter Peterson
Adding a pre-install step to rpm. Refs #4264.
Changeset: 346ee5aef131bec8ed31812281fb61c4151cb9ed
comment:17 Changed 9 years ago by Peter Peterson
Fixing post-uninstall script. Refs #4264.
Changeset: cfb32267d9527a944d61208aee3b77e5a9525f89
comment:18 Changed 9 years ago by Peter Peterson
Next generation of the bash scripts. Refs #4264.
Changeset: f6eabeecebb544adaf1ae6153f4d2c59f673ed65
comment:19 Changed 9 years ago by Peter Peterson
Added suffix option to package name. Refs #4264.
Changeset: 7a5df8b2c2191ed4e01a9c7f6f94a15a2e71f7c8
comment:20 Changed 9 years ago by Peter Peterson
Having two versions of the linking scripts. Refs #4264.
Changeset: d0fdb801d26f2bb894438d81a61f59a49309a05c
comment:21 Changed 9 years ago by Peter Peterson
Use the suffix in the package name. Refs #4264.
Changeset: 5919975175bd78a5da7f49cdf247d1f43fdcda4d
comment:22 Changed 9 years ago by Peter Peterson
Improving pre/post flight bash scripts. Refs #4264.
Since the scripts need to be identical for both mantid and mantid_vates some checks were made before removing links.
Changeset: 3bc6097f7b27f373f316b1f3cb567473c9248e7f
comment:23 Changed 9 years ago by Peter Peterson
Vates package requirements uses suffix. Refs #4264.
Changeset: d0eb78581930e4f471953adad30a9ef30842beb6
comment:24 Changed 9 years ago by Peter Peterson
Remove empty dirs on uninstall. Refs #4264.
Changeset: e82f6c0d5a421122eccaad3f900c18dcc232a8d5
comment:25 Changed 9 years ago by Martyn Gigg
Refs #4264. Add a missing end-of-line character to post install hook.
Changeset: a4b4530007edd37c9eb2de188906e092cb2667d2
comment:26 Changed 9 years ago by Nick Draper
- Milestone changed from Iteration 32 to Iteration 33
Moved to iteration 33 at iteration 32 code freeze
comment:27 Changed 9 years ago by Peter Peterson
- Status changed from accepted to verify
- Resolution set to fixed
- Milestone changed from Iteration 33 to Iteration 32
comment:28 Changed 9 years ago by Stuart Campbell
- Status changed from verify to verifying
- Tester set to Stuart Campbell
comment:29 Changed 9 years ago by Stuart Campbell
- Status changed from verifying to closed
seems to work for me.
comment:30 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 5111