Skip to content
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

Enable 3-Tier Server Migration #1

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

dylanhthomas
Copy link

Background:

My company uses a 3 tier deployment strategy, and Wordpress Move has become an integral part of our workflow. The only thing that slows us down, is that after migrating a database, we have to reset the FTP settings at each step to promote content to the next level. Our solution is to store multiple FTP configurations in the database so they are always available. This facilitates simple pushing of content both up and down the chain.

Tiers (and how we use them):

  • Dev : Internal review and integration
  • Staging: Client review
  • Production: Public

Changes:

  • Settings pane to includes 3 sets of server configurations
  • Settings pane function generalized so they can be added with 1 line of code.
  • "URL" added to settings pane, which prefills the "new_domain_name" field during migration.
  • Migrate "Begin" button replaced with 3 buttons (one for each server configuration)
  • do_migrate accepts the GET argument "server" to specify which configuration to use.

Dylan Thomas added 5 commits June 17, 2013 11:29
* fixed issue where incorrect URL was displayed in domain change dialog.
* added back buttons to launch different deployments
* defaulted file checkboxes to off
* changed date format in archive lister (previous commit)
Settings panes can now be made just by adding an 'add_meta_box()'
function in the following format:

add_meta_box( 'wpmove-NAME-settings', __( 'NAME Settings', 'WPMove' ),
array($this, 'metabox_settings'), 'wpmove-settings',$context =
'advanced', $priority = 'default', $callback_args='NAME');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant