-
Notifications
You must be signed in to change notification settings - Fork 113
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
Creating your first plugin documentation #539
Comments
Good day @chrischu , and thank you for raising this issue! As git-proxy adopters, I'd defer to @msagi @coopernetes and @JamieSlome to comment on the use case you propose. In parallel, I wonder if you'd be able to join one of our bi-weekly meetings (bi-weekly, Monday 11am EST) and/or our Slack channel (finos-lf.slack.com , feel free to email [email protected] and we'll invite you), so we can iterate a bit more on your proposed use case. Last, it's worth mentioning that the support for Git Proxy plugins is expected to be consolidated and documented in our 2.0 version; you can find a proposal on #425 (comment) ; we'd love to hear your feedback! Thanks! |
Thanks for the quick reply! I sent an email to [email protected] for the Slack channel invite. I think that's a good first step, but if necessary and helpful, I could also join the meeting in one of the coming weeks :). |
@chrischu - are you happy to rename this issue to |
@coopernetes - am I right in saying that the user can set their |
The current implementation uses an environment variable to read in a list of file paths which are loaded dynamic as Node modules ( I'm looking at enhancing this feature to make it a bit more intuitive such as the ability to load plugins as packages which are directly installed under git-proxy's I also want this exposed via configuration (proxy.config.json) and not just via environment variables since we can apply some amount of schema validation on the config file. |
@coopernetes - is there any chance you could add this description and the steps a developer needs to take to create their first plugin into the docs (which will close this issue)?
I'll then run through the docs and test the flow 👍 Can also help clean up the docs and find a suitable home for the walkthrough. Just a rough estimation even of the steps would be really helpful 👐 |
Expect a PR shortly on this. I've completed the new content to the doc. In the process, I realized the plugin system was not very robust or user-friendly & needed some overhauling. It was not suitable for use IMO so there will be marked improvements raised in the same PR. Completed:
Outstanding:
|
@coopernetes - amazing. Super super excited 🎉 You are a rockstar (hands down). |
@chrischu - you're going to love what @coopernetes has been up to. Would love to get your thoughts and feedback (currently in dev mode #713). You can check out the docs in dev mode here: https://deploy-preview-713--endearing-brigadeiros-63f9d0.netlify.app/ |
Docs are live: https://git-proxy.finos.org/docs/development/plugins |
Closing the issue 👍 You did a smashing job, Thomas! @chrischu - thank you for pointing us in the right direction ❤️ Let us know if anything in the documentation requires improvement or iteration. |
I would really like some more detailed configuration. Especially as it comes to "plugins" (configuring them, creating them, etc.).
With the current documentation I'm not sure if the project is useful for my intended purpose: We want to automate some Git processes (e.g. tagging commits) but since those run in an automated fashion (on our build agents) we want to limit what these automated processes can do (e.g. only push tags).
Is that possible with Git Proxy? If so, could you provide some example configuration how?
The text was updated successfully, but these errors were encountered: