New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use proper full install dirs for system config #1580
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dominiklohmann
force-pushed
the
topic/thread-safe-getenv
branch
from
April 25, 2021 07:51
609e213
to
5cec03e
Compare
dominiklohmann
force-pushed
the
topic/install-paths
branch
2 times, most recently
from
April 25, 2021 07:57
c6b7c93
to
8e4a415
Compare
dominiklohmann
force-pushed
the
topic/thread-safe-getenv
branch
from
April 25, 2021 07:59
5cec03e
to
d1310e6
Compare
dominiklohmann
force-pushed
the
topic/install-paths
branch
from
April 25, 2021 07:59
8e4a415
to
9e55815
Compare
dominiklohmann
force-pushed
the
topic/thread-safe-getenv
branch
from
April 25, 2021 09:29
d1310e6
to
a32df56
Compare
dominiklohmann
force-pushed
the
topic/install-paths
branch
2 times, most recently
from
April 25, 2021 19:24
5cbd246
to
ae4f720
Compare
dominiklohmann
force-pushed
the
topic/thread-safe-getenv
branch
from
April 26, 2021 07:47
a32df56
to
8e337d7
Compare
dominiklohmann
force-pushed
the
topic/install-paths
branch
from
April 26, 2021 07:50
ae4f720
to
62a67d5
Compare
dominiklohmann
force-pushed
the
topic/thread-safe-getenv
branch
from
April 26, 2021 07:59
8e337d7
to
6156e4c
Compare
dominiklohmann
force-pushed
the
topic/install-paths
branch
from
April 26, 2021 07:59
62a67d5
to
aa8b1cf
Compare
dominiklohmann
force-pushed
the
topic/thread-safe-getenv
branch
from
April 26, 2021 08:14
6156e4c
to
98aa2f8
Compare
dominiklohmann
force-pushed
the
topic/install-paths
branch
from
April 26, 2021 08:15
aa8b1cf
to
bed0916
Compare
dominiklohmann
force-pushed
the
topic/thread-safe-getenv
branch
from
April 26, 2021 08:24
98aa2f8
to
3ecf0a4
Compare
dominiklohmann
force-pushed
the
topic/install-paths
branch
2 times, most recently
from
April 26, 2021 08:48
89325f1
to
e58210a
Compare
tobim
reviewed
Apr 26, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Testing rn.
dominiklohmann
force-pushed
the
topic/install-paths
branch
from
April 26, 2021 08:57
e58210a
to
2ea6022
Compare
dominiklohmann
force-pushed
the
topic/thread-safe-getenv
branch
from
April 26, 2021 08:58
2fa4be7
to
55e0940
Compare
Before this change, the default build configuration would try to load schemas from `etc/vast/schema` instead of `/usr/local/etc/vast/schema` on macOS, and instead of `/etc/vast/schema` on Linux systems if `VAST_INSTALL_DATADIR` was unset or `CMAKE_INSTALL_DATADIR` set to a relative path instead of an absolute one (it should be relative). The solution here is to use the full paths instead. Additionally, there's no need to make the paths configurable, since that ever only affected where VAST looked for the config/schemas/plugins but not where we installed them.
dominiklohmann
force-pushed
the
topic/install-paths
branch
from
April 26, 2021 08:58
2ea6022
to
8bc7344
Compare
tobim
approved these changes
Apr 26, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to be working as expected.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
馃摂 Description
Before this change, the default build configuration would try to load schemas from
etc/vast/schema
instead of/usr/local/etc/vast/schema
on macOS, and instead of/etc/vast/schema
on Linux systems ifVAST_INSTALL_DATADIR
was unset orCMAKE_INSTALL_DATADIR
set to a relative path instead of an absolute one (it should be relative).The solution here is to use the full paths instead.
Additionally, there's no need to make the paths configurable, since that ever only affected where VAST looked for the config/schemas/plugins but not where we installed them.
馃摑 Checklist
馃幆 Review Instructions
File-by-file.
Note that this is based on #1579 to avoid the merge conflict. Other than that the PRs are independent of each other.