Skip to content

DevShop 1.0.0-RC1

Compare
Choose a tag to compare
@jonpugh jonpugh released this 25 Sep 19:12
· 18640 commits to 1.x since this release

Release Candidate 1!

It's time. 1.0.0 is just around the corner.

This release is dedicated to George & Maxwell!

See https://github.com/orgs/opendevshop/projects/1 for project planning for the Release Candidate Phase.

Updates

New Features

  • Allow environment installation by multiple methods: Install profile, clone other environment, Import from SQL Database, or leave an Empty Database!
  • Add Hosting HTTPS to allow automated certificate creation and renewal from LetsEncrypt.org.
  • For Pull Request environments, add option to reinstall site on every git-push! This respects the "install method", allowing re-install of profile, re-sync from production, or import from external database!
  • Added ability to "Change Site Domain Name" by using the "migrate" task.
  • Configure a "Environment Domain Name Pattern" instead of "Base Url". Define your environment's URLs with a pattern like "@project.@Environment.@hostname" or "@environment.domain.com".
  • Make all URLs in Behat console output logs clickable. Useful in test results.
  • Bigger, Bolder empty projects page.
  • Plenty of UI enhancements:
    • Add "Install Method" and date to environment template.
    • Add Site Slogan back into page template.
    • Improve detection and messaging of environment state.

Aegir improvements in 3.12.0

  • Switch to using Semantic Versioning! Aegir tag 7.x-3.120 is for Aegir 3.12.0
  • Preparing Aegir for Docker hosting by allowing more open connections to Database servers: https://www.drupal.org/node/2794915
  • Allow hostmaster install profile to be set in Debian package variable: https://www.drupal.org/node/2886587. This will allow DevShop devmaster to start using the aegir hostmaster debian package.
  • Added 'install_method' property to Aegir sites. If set to "profile", the default behavior (site install) executes. Set to something else to skip this and to flag it for something else later: https://www.drupal.org/node/2754069
  • Add option to "provision-install" for "--force-reinstall". This new option will quickly delete the site and install it again using the original install_method. https://www.drupal.org/node/2836185

Organization

Subsystem Improvements

  • Moved git handling to Aegir's Hosting Git Module! One more step towards moving devshop into Aegir. Platforms are now saved using the git ref from the project.
  • Added a docker-compose.yml file for launching in Docker. Tuned for local development but can be adapted for production use.
  • Added geerlingguy.composer Ansible role.
  • Removed the last remnants of our custom Ansible role files: This MOTD template never worked, anyway! https://github.com/opendevshop/devshop/blob/376a74f9db5d154fad05d6083f0f402ac0f19fba/templates/motd.j2

Testing Improvements

  • Standardized on using robo commands for local dev and Travis testing.
  • Removed old tests/docker-launch.sh and tests/docker-destroy.sh scripts, now that we have robo.
  • Improved Travis CI testing: Now installs using Docker, and with Ansible, on both CentOS and Ubuntu. Upgrade is tested as well.
  • Added --name option to devshop devmaster:test command to pass to bin/behat --name.
  • Added behat-path option to devshop devmaster:test command to allow customizing which set of tests to run.
  • Added --makefile option to devshop upgrade command to allow overriding the desired makefile.
  • Moved Behat tests for DevShop to Devmaster, since most (all?) of the code being tested is actually in that repository. Makes changing tests to adapt to changing functionality much easier if its in the same repository.
  • Removed custom Dockerfiles used for testing.
  • On failure, echo last page source and watchdog logs.

DevShop Development Tools Improvements

  • Added a Robofile.php for easy launching and development. Install the Robo CLI and robo up to get a running devshop on Docker. See http://robo.li/ for more information.
  • Deprecated the Vagrant based development environment, moving it into a subfolder.
  • New robo release command to walk you through the release process!

Other Improvements

  • Fixed numerous bugs with Hosting Logs. Now you can easily make error logs available to uses, if needed.
  • Fixed DevShop Deploy, Aegir Commit, DevShop Acquia, DevShop Dothooks, and Aegir Download module to work with repo_path instead of repo_root.
  • Change the hook named hook_devshop_environment_actions() to hook_devshop_environment_menu().f
  • Fix 2 problems with BitBucket forms and webhooks. From new contributor @josebc! https://github.com/opendevshop/devmaster/pull/73
  • Fix bug where "Import/Export Config" tasks would show for Drupal 7 sites.
  • Adding Features Update and Features Revert to Environment Menu.
  • Temporarily removing "Fork Environment" feature, we will get it into Hosting Git in the next RC.
  • In project drush aliases, just use 'parent' property to make our @project.env aliases work exactly like provision's.
  • Renamed devshop_drush_process() to devshop_process();
  • Save environment settings into provision context data.
  • Fix bug preventing branch names from having "/" characters.
  • Removing custom drush command devshop-install. Now works with hostmaster-install.
  • Add more details to automatically generated behat.yml files.
  • Adding --strict to bin/behat command so that missing steps fail the process.
  • Remove DevShop Deploy queue since Hosting Git Platforms now handles that.
  • Enable fix_permissions and fix_ownership modules by default for better file management.
  • Fix problem with cloning sites that used custom profiles.
  • Remove loading of tons of git info from the command line for a significant performance boost.
  • Removing old unused devshop-create and devshop-commit tasks.