-
Notifications
You must be signed in to change notification settings - Fork 9
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
Provide a basic "demo" CARMIN "interface" based on current shell #91
Comments
Awesome idea, not torturous at all! We might even reuse the python code developed for the CARMIN server, by-passing the web part of it. @louis-ver @simon-dube, do you think it would be feasible? What would be the right level to plug stuff in? |
With @kyleam we have started to implement something like that to get a better grasp of the CARMIN-API https://github.com/ReproNim/carmin-cmdline-demo . A "hurdle" of a kind is to some degree reliance on JSON for input -- does not really fits well with cmdline. And another one is that CARMIN is oriented toward "pre-registered pipelines" provided/exposed by the service. For the cmdline demo we thought may be we could then just create a single "pipeline" -- |
For the pre-registered pipelines, a solution could be to store them in the form of Boutiques descriptor in some pre-configured directory. Then export Boutiques description to CARMIN objects through |
The idea I have tortured @glatard at recent Interoperability workshop at McGill, so decided to "formalize" it a bit more. I am aware of https://github.com/CARMIN-org/CARMIN-server as a prototypical CARMIN server implementation. But I thought about a smaller/simpler one:
There could be a command line utility
carmin
which would take stdin as the load for PUT (where needed) and otherwise implement all API calls for the tasks in the current shell session. Could be a nice demo and "explanation" of CARMIN API based on concepts people could easily grasp.Something along the idea of such a basic custom git annex special remote example which implements the protocol
I guess I might try to implement something like that just to get a better grasp of CARMIN
The text was updated successfully, but these errors were encountered: