-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add Plugins system support #143
Comments
Example 1: Write a
|
Example 2: Write a
|
I dont see from reading this how it provides any value other than "can write things in a language other than Pony" but that opens up a mess of questions about dependencies for the other code. So to use a plugin, I might have to have bash installed. How does that work on Windows? Does the plugin need to also have a powershell version and a batch version? At the moment, I don't see how if plugins are part of the corral repo that this is desirable given all the questions that would be raised versus writing the command in Pony. |
Yes, bash is a required dependency. We can use the idea of |
A plugin system that isn't in Pony also bypasses the capabilities based directory security that using only Pony provides. Commands written in Pony using the existing corral system to add commands can be limited to working on a subset of directories. By including non-pony code from ambient auth languages, that goes out the window. |
This is a huge requirement and one I'm not willing to take on lightly. |
The size of msys2 compressed package is about 50mb |
The size doesn't matter. We are asking people to take on an additional currently unneeded dependency for what benefit? |
It allows users to use the common commands of unix to do anything. |
What problem that exists now that people need solved does this address? |
I want to add a plug-in system to corral. The plug-in system can help people achieve:
|
Summary
The plug-in system is similar to a set of callbacks that allow Corral to trigger and run custom tasks as it processes commands.
Motivation
Corral
.Corral
without changing corral code.Detailed design
Your new plug-in would look like:
For windows:
MSYS2 needs to be built for windows
The text was updated successfully, but these errors were encountered: