Add hack that allows specifying the user directory as git #649
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.
Minimal hack to easily define frameworks and configurations remotely (e.g., on a GitHub repository).
The repository must have all the files you would expect for adding a custom framework locally, like this one. With the hack we just identify if the custom directory is a git repository, and if so clone it first, then set the local directory as the user directory.
@Innixma @eddiebergman Where do you think we should go from here? I think a few things might be nice to have:
frameworks.yaml
to allow us to specify integration scripts of frameworks, so that you canpython runbenchmark.py FRAMEWORK
and it can then automatically fetch the integration forFRAMEWORK
if it is one of the "trusted" predefined ones in the shippedframeworks.yaml
?Are there any additions or concerns that come to mind? Love to hear your thoughts.
Footnotes
This was a request from.. either of you, I think. I am personally not convinced yet, as this will also lead up to much slower setup times. Especially if you may need to fetch multiple commits when navigating to a compatible integration. ↩