-
Notifications
You must be signed in to change notification settings - Fork 239
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Various fixes from #1907 #1943
Various fixes from #1907 #1943
Conversation
in future CMake version. Fixes a warning on CMake 3.9.
This reduces download times significantly as downloaded decreases from over 1 GB to around 60 MB.
Related: - ufz#1887 - https://stackoverflow.com/a/340683/80480 This slipped through as currently macOS is not tested via CI.
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.
Looks fine!
@@ -16,6 +16,7 @@ | |||
[submodule "Tests/Data"] | |||
path = Tests/Data | |||
url = https://github.com/ufz/ogs-data | |||
shallow = true |
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.
Although this PR is already merged: I understand the rationale behind setting shallow = true
, but I assume that this can cause some problems, e.g., if a user just pushed something to a feature branch in ogs/data, then the shallow clone (with depth of one) of the submodule won't fetch the latest master commit, which will lead to nasty error messages at least. Or am I wrong?
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.
I guess you are right..
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.
I don't think it will lead to problems because cmake scripts will fetch the missing data with depth=1.
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.
Then I'm fine with it.
OpenGeoSys development has been moved to GitLab. |
To cleanup #1907 a little bit...