-
Notifications
You must be signed in to change notification settings - Fork 39
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
miqbot
CLI
#499
Comments
Yeah I was thinking that maybe we get pronto over the finish line, and then like you said just inherit a lot from that. I wonder if our "custom" commit checking stuff can also just be more linter entries under pronto or rubocop. |
Possibly. I would have to do some research on what we have already attempted with the |
Really like this idea overall...would be cool to be able to run the guts of the bot locally. I have to wrap my head around it a bit more. I'm wondering if it makes sense to extraact the guts into a separate gem with the bin/cli and the actual pieces of work, then miq_bot the "Rails app" takes care of the database, sidekiq, and calling into the library. |
Yeah, I was considering the However, I guess if the rails app consumed the ¯\(°_o)/¯ |
❤️ for pronto |
This issue has been automatically marked as stale because it has not been updated for at least 3 months. If you can still reproduce this issue on the current release or on Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation. |
It would be nice for developers to be able to run the same linters that the bot does from their own machine via a
miqbot
CLI command, or some other form.Some considerations:
miqbot.gemspec
that pulls only what we need from thelib/
dir to make this happen.lib
with non-activerecord objects and only the service objects as input. This might already be the case, but I would have to check.config/settings*
for configuring "secrets", but not "configs" #486 would be relevant for this if there is anything that is "config specific" that we would want developers to have when running locally. Not sure there is, but would have to check.pronto
is already CLI based, and there was an effort a while back to make use of this instead of our custom code (see Pronto integration #406, GitHub Status API Integration #412, and Miq-Bot's Pronto Formatter #424 for details). This probably wouldn't replace the need for a custommiqbot
command, but it would greatly simplify the glue needed for that, and we probably could just inherit a lot of things from that project for our implementation.The text was updated successfully, but these errors were encountered: