Actions
Refactor #8516
closedRemove require 'fog' and only load specific providers
Description
geemus suggested that we can selectively load providers from fog, cutting down the amount of code we load.
https://github.com/fog/fog/issues/3295#issuecomment-64659051
app/models/concerns/fog_extensions.rb mostly does this already, but does a require 'fog' at the top, as does ssh_provision.rb, and bundler will require the gem by default. These could probably all be removed.
We should ensure though that any plugins using Fog (xen, one, docker(?) etc) all have the appropriate requires in place to ensure their providers are accessible.
Updated by The Foreman Bot about 10 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2017 added
- Pull request deleted (
)
Updated by Dominic Cleal about 10 years ago
- Blocked by Refactor #8641: Update fog version to 1.27.x added
Updated by Dominic Cleal almost 10 years ago
- Translation missing: en.field_release set to 35
Please ensure foreman_digitalocean, one and xen get updates for this.
Updated by Tom Caspy almost 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset a180c3213ff9bd26eb17c3c16cc8c6412afc323f.
Updated by Dominic Cleal over 9 years ago
- Related to Refactor #10795: Remove require 'fog' added
Updated by Dominic Cleal over 9 years ago
- Related to Bug #10796: Remove require 'fog' added
Updated by Dominic Cleal over 9 years ago
- Related to Bug #10797: Remove require 'fog' added
Updated by Dominic Cleal over 9 years ago
- Related to Refactor #10812: Remove require 'fog' added
Actions