First try at a Fuserunner - #60
Open
matclab wants to merge 22 commits into
Open
Conversation
added 9 commits
April 21, 2015 11:30
Probably not safe for parallel jobs
added 6 commits
October 7, 2015 17:29
We do not ignore anymore dependency with no hash, as they probably have been removed
matclab
force-pushed
the
fuserunner
branch
2 times, most recently
from
October 11, 2015 13:26
7edf4ad to
6c287aa
Compare
Collaborator
Author
|
I haven't work on it for a long time, but I think there are still some issues about the way the fuse and fabricate processes communicates. I'm not sure but it is possible that from time to time the build was unexpectedly failing. |
This file contains hidden or 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
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.
This is a first try…
The rationale behind this pull request is to provide a more robust way to collect dependencies than by using other runners which all have shortcomings (I still have some problems with StraceRunner, which is understandable, as strace log format was probably not meant as an interface for other programs).
It works as described hereafter:
The idea mainly comes from TUP build system : http://gittup.org/tup/
The cons of such a method is that fabricate.py becomes a bit eavier as it incorporate the fuse.py binding to the fuse librayr (which obviously become a dependancy). I also for now didn't take parallel execution into account.
So… Tell me what you think about this pull request (which may certainly be improved).
I will now try to add some automated test cases (with py.test ?) in order to have a better confidence in its working properly. And I may perhaps generalize the use of logging instead of printing to stderr…
Note that part of this work was founded by my employer Systerel.