-
Notifications
You must be signed in to change notification settings - Fork 191
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
Inline calculations storing source 1026 #1082
Inline calculations storing source 1026 #1082
Conversation
Looks fine to me, although I did notice that this was the most "hardcore" solution of all the potential solutions that were discussed in the issue. Would it not still be desirable to keep the source file in the repository. Personally I am not sure it would be useful given the problem of imports, but I just wanted to make sure that everyone agreed on this solution since I was not involved in the original discussion |
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.
We really need the source code. We should put it in the repository. Otherwise, what the point of keeping provenance if one cannot find back what the inline calc/workfunction actually did?
@nmounet The source code of the function is still being stored in the database, and can be queried. I only removed the storage of the entire file. This was actually redundant in a way, because in this way the inline function code was stored twice. Was there a misunderstanding? If you need the entire source file, the repository is indeed the right place.... |
@nmounet Indeed saving the full file was just a 'backup solution', still not enough if the actual code is imported from somewhere else. The storage of the function source code is still there: For me it is ok to go like this (even if in the future we could move the source code into the repo, if we still have problems). |
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.
Ok ! Apologies that I did not see the source code was indeed still stored as an Attribute. My misunderstanding.
Yet, I still thing we should put the full source code file in the repo, instead of putting the code of the inline in an Attribute. But that's for another issue.
This would resolve #1026 by removing the storage of the file source code.