-
Notifications
You must be signed in to change notification settings - Fork 117
[bugfix] Do not reset sourcesdir to None if it is set to a URL
#1874
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
Conversation
sourcesdir reset when it is not a directory.
|
Hmm, this behaviour is a feature actually. Here is the feature request, if I remember correctly: #1094. |
sourcesdir reset when it is not a directory.sourcesdir reset when it is not a directory.
I think that should be fixed now. But I guess that we should move all the stuff that affects the vars to a post-init hook in the future. |
Codecov Report
@@ Coverage Diff @@
## master #1874 +/- ##
=======================================
Coverage 87.83% 87.83%
=======================================
Files 49 49
Lines 8395 8395
=======================================
Hits 7374 7374
Misses 1021 1021
Continue to review full report at Codecov.
|
sourcesdir reset when it is not a directory.sourcesdir to None if it is set to a URL
|
@jenkins-cscs retry daint |
Fixed a bug in the pipeline's
_rfm_init, wheresourcesdirwas reset toNoneif the directory didn't exist. Consequently, whensourcesdiris a git repo and is set in the class body,_rfm_initwould just reset it toNone.