-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Better system for sharing modules #163
Comments
-----BEGIN PGP SIGNED MESSAGE----- I'd just create another repo for modules (named jasper-plugins), which contains folders for wach module. In each folder is a file containing a git clone uri or a link to a zip file. (And possibly some metadata). There might also be an index file. Jasper (possibly some kind install script) might pull the index file and then the Plugin itself. Just a first thought. Anyway, we should not put third party plugins in the main repo if we don't support them.
On 10. September 2014 23:38:00 MESZ, Charles Marsh [email protected] wrote:
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. iQFIBAEBCgAyBQJUEMjJKxxKYW4gSG9sdGh1aXMgPGhvbHRodWlzLmphbkBnb29n |
It might be a bit overkill, but pypi is actually open source.. On a side note: With setuptools you can create entry pointsfor automatic discovery of plugins |
It would be very cool if we had a package.json + |
We need a way of installing those modules into jasper, to make sure they can install their dependencies, and also we would definitely need a way of searching and listing the existing modules. I think it would also be useful if people could publish their modules without any admin interactions, and in that case some mechanism for upvoting modules and commenting on them would be nice (so users can tell apart working from non-working modules, and maintainers can fix whatever needs fixing). Also, versions of the module should be tagged against which versions of jasper they work with. PypiIn a system like pypi or npm, packages are listed, a user can install them and their requirements, but they will still need to install them into jasper somehow. Git repoHaving a git repo would need an admin merging PRs, and each package would come with a bunch of instructions on how to install them. If there is an index file, then that file would also need to be maintained. UII would like us to have a frontend to this site where users can easily search for, add and upvote modules. These are some of the sites I was thinking of:
I think we can get a site like this working, and with enough metadata per module to allow automatic installs from jasper. |
Well, Installation is no Problem. When the Plugin system is ready, we can simply distribute the Plugins as ZIP-Files. They can be downloaded by Jasper and put in the right folder, where they'll be auto detected. |
Ok, and if they have any requirements, they can be put in a |
Please have a look at the sample implemention of the Plugin system: https://github.com/Holzhaus/jasper-client/compare/plugin-manager |
Ok, that implementation of a plugin manager looks great. Let's say we use that as a base for modules. We'd still need a system to download, put them in the /plugins folder, and install any requirements. That should be quite a simple script. I'd say let's do the simple web app and do a command line installer for modules, that uses the website's API. |
I'd say the installation can put the files into two different locations: Either the global Jasper plugin directory OR - more likely - a plugin folder inside the user's config dir. That said, the interesting part is how new plugins can be found:
IMHO, a github wiki page with a list of available plugin plus a description and a download link would suffice. The user could read it and download it manually or use the installation program that parses markdown of the plugin page and downloads/installs the plugin automatically. |
I think the github page will be easy to create, and harder to maintain. I'd On Thu, Sep 11, 2014 at 2:10 PM, Jan Holthuis [email protected]
|
This is what I had in mind: http://jaspermoduleshub.herokuapp.com/. I also made a simple installer, it's in #174. The code for the website is in https://github.com/alexsiri7/jasper-modules-hub/ |
This was outlined as a v2.0 goal. Let's brainstorm.
Right now, all we have is the docs page, which is quite bare and certainly doesn't allow for "easy" sharing.
The most logical approach seems to be creating a separate GitHub repo to which developers can send in pull requests. In that scenario, there are two things I'd be somewhat worried about:
CC: @alexsiri7 @Holzhaus @shbhrsaha
The text was updated successfully, but these errors were encountered: