Comments (5)
@MarshallOfSound take a look at #183 -- I think it fits your use case for exposing /panel
in your original issue 👀
from probot.
Hey @MarshallOfSound, I'm 👍 for exposing the http server. You're welcome to take a crack at a PR for it, or I'll see if I can get to this soon.
Not sure if this is in scope for ProBot but my overall goal is to provide another module probot-swarm which allows you to run multiple plugins in one instance and each plugin can expose settings which will be controlled by the web panel. So things like response messages can be configured easily without rebuilding the plugin source.
FWIW, you can already deploy multiple plugins to one instance: https://github.com/probot/probot/blob/master/docs/deployment.md#combining-plugins.
I definitely want a way to unify settings for plugins, but was going to wait to see a few shake out and see what the common patterns are. In general, I have a strong preference that plugins store configuration in the GitHub repository, similar to how the stale, autoresponder, owners, and configurer plugins do.
I'd be curious if there are settings that you don't think belong in the repository themselves.
from probot.
@bkeepers Yeah, I guess I jumped to my solution instead of addressing the problem I want to solve 😆
Same kind of things, trying to make a standard for plugin configuration. The only reason I don't want the settings in files in the repository is I don't really like a lot of .md
or .
files cluttering up the entrypoint to a repo. It just makes things harder to navigate.
Maybe if we introduced an API to probot
that made plugin settings standardized to be files inside a .probot
folder or something (so we only have one top level entry)?
from probot.
The only reason I don't want the settings in files in the repository is I don't really like a lot of
.md
or.
files cluttering up the entrypoint to a repo. It just makes things harder to navigate.
Yeah, I hear you there.
Maybe if we introduced an API to
probot
that made plugin settings standardized to be files inside a.probot
folder or something (so we only have one top level entry)?
I've been using the .github
folder for this, since GitHub already uses that for issue templates, and these are GitHub-specific integrations. Do you have anything against using that?
from probot.
I've been using the .github folder for this, since GitHub already uses that for issue templates, and these are GitHub-specific integrations. Do you have anything against using that?
It kind of makes sense as probot
is purely a github integration thing, though in some cases the logical connection might not make sense.
For instance a probot plugin that sends slack notifications for certain types of PR, .github
as a folder makes limited sense whereas .probot
makes perfect sense. .github
semantically makes sense depending on feature usage of probot, might make sense to allow .probot
as well and let users choose how they do things 👍
What kind of structure are you thinking for these plugin setting files? Straight markdown, YAML / JSON files? Trying to imagine what sort of API we could expect 👍
from probot.
Related Issues (20)
- Self-Asigned-Roles does not work. HOT 2
- secretOrPrivateKey must be an asymmetric key when using RS256 HOT 4
- Event on issue comment reaction HOT 3
- /rank stopped working on the server HOT 1
- Method listLabelsOnIssue ignore "issue_number" and 404 HOT 1
- Is cache_sync event not available? HOT 1
- Can't access payload of `pull_request.opened` HOT 5
- [WRONG REPO] Allow linking to event HOT 4
- Right Hand side of instanceof is not an object HOT 7
- use fastify instead of express HOT 11
- Mine HOT 1
- Setup doesn't work HOT 3
- Mod actions not listed in web pannel HOT 2
- The website is too slow HOT 3
- How to capture the raw request from GH HOT 2
- WEBHOOKS_PATH vs. WEBHOOK_PATH HOT 4
- Application to become a maintainer HOT 10
- upgrade some dependencies of dependencies HOT 1
- Probot feature for failure alert notification similar to dependabot HOT 1
- Disable Request Logging HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from probot.