Skip to content
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

External protocol specifications with shell based "driver" implementation #684

Open
mih opened this issue May 15, 2024 · 0 comments
Open

Comments

@mih
Copy link
Member

mih commented May 15, 2024

Capturing an idea that came up in a different context: datalad/datasalad#7 (comment)

Now that we have shell, we could use it to implement handlers for protocols that enable extending and outsourcing functionality via 3rd-party utilities that implement this protocol rather than implementing (Python-based) helpers or subclasses -- exactly what git-annex does for special remotes and backends.

For each such use case we would define a set of operations, and expose them via a protocol. This pattern could be widely applicable. We already archived at this concept (albeit with Python-based implementations) for

  • URLOperations
  • ArchiveOperations

Other use cases are:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant