You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During #471, I noticed that multiple files were still being rm'ed at the end of build-mondo-ingest (original thread). rm imports/ro_terms_combined.txt is one of those files. This seems like a bug to me. I don't remember this being removed before, and I don't know why it should be now.
Possible solution
a. In ODK: Add .PRECIOUS
If this is indeed an issue, the fix should go in ODK because, similar to the other issues in the thread linked above, I imagine that the fix for this is going to be to mark the target as .PRECIOUS. The target is declared in Makefile, which is owned by ODK.
b. If I fix this in mondo-ingest, I think it involves making a copy of the Makefile goal in mondo-ingest.Makefile and then marking that .PRECIOUS.
Has this always been happening?
1.2. If not, why is it happening now?
Why this particular target? (same question applies to other things in thread linked in Overview)
Why this particular target variation? E.g. why does ro_terms_combined get removed, but omo_terms_combined.txt does not? (same question applies to other things in thread linked in Overview)
Should we try to figure out if there is some deeper, strange root cause for this and try to address that, as opposed to doing the .PRECIOUS fix?
Should we forget about this since it is low priority, since it looks like we don't care about this file anyway? I say that, because I see this pattern in the .gitignore: src/ontology/imports/*_terms_combined.txt
The text was updated successfully, but these errors were encountered:
move this issue over to ODK, and reduce it to the heart of the matter:
SHOULDimports/*_terms_combined.txt be .PRECIOUS?
I think it never was, but somehow I think it should.. I would like to run this by the ODK developers team which meets every four week to discuss those issues.
In the meantime, this issue is a low-mid priority, and if you like you can patch it here in Mondo ingest by adding the .PRECIOUS declaration to mondo-ingest.Makefile with a comment linking to this issue here.
Overview
During #471, I noticed that multiple files were still being
rm
'ed at the end ofbuild-mondo-ingest
(original thread).rm imports/ro_terms_combined.txt
is one of those files. This seems like a bug to me. I don't remember this being removed before, and I don't know why it should be now.Possible solution
a. In ODK: Add
.PRECIOUS
If this is indeed an issue, the fix should go in ODK because, similar to the other issues in the thread linked above, I imagine that the fix for this is going to be to mark the target as
.PRECIOUS
. The target is declared inMakefile
, which is owned by ODK.b. If I fix this in
mondo-ingest
, I think it involves making a copy of theMakefile
goal inmondo-ingest.Makefile
and then marking that.PRECIOUS
.Additional details
For reference, here's the goal declaration:
Questions
1.2. If not, why is it happening now?
ro_terms_combined
get removed, butomo_terms_combined.txt
does not? (same question applies to other things in thread linked in Overview).PRECIOUS
fix?.gitignore
:src/ontology/imports/*_terms_combined.txt
The text was updated successfully, but these errors were encountered: