-
Notifications
You must be signed in to change notification settings - Fork 79
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
[WIP] Extract postgres_ha_admin into separate repo #174
Conversation
@carbonin Please review. |
I'm wondering if it makes sense for this to be postgres-ha_admin or pg-ha_admin (to mirror the pg-pglogical) |
This is interesting because nothing would really "depend" on this. I'm not sure how we should handle that. We could add it to the manageiq Gemfile, but that's not a real dependency of manageiq... |
It's not really as close to postgres as the other one was. This is more about repmgr and failing over db clients. I called my first pass at gemfying this |
@carbonin https://github.com/ManageIQ/manageiq-appliance/blob/master/LINK/usr/bin/evm_failover_monitor.rb depends on PostgresHaAdmin |
@chessbyte Yes, but I meant a Gemfile or gemspec dependency. In other words, how will this get installed? If it is removed from |
(Unless we add it to the |
@carbonin |
@chessbyte Right, which is why I raised the question originally. If this is merged, this gem will not be an explicit or implicit dependency of any other in our application. It's almost as if |
@carbonin I think the point is to add it to the respective gemfile where appropriate. That being said, the way I'm thinking this be better laid out is to either
|
a8b0773
to
a3bb99f
Compare
When this gem is fully extracted and released, the dependency should be listed either in the file added in ManageIQ/manageiq-appliance#125 or as a dependency of the |
a3bb99f
to
abc47fa
Compare
Checked commit chessbyte@abc47fa with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
@bdunne Should I close this or can we use any of it? |
This pull request is not mergeable. Please rebase and repush. |
Closing in favor of #300 |
Extracted repo in https://github.com/chessbyte/postgres_ha_admin