Skip to content

Create 'local' platform plugin and tests #27

Closed

Description

@beeradb

Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Task

Information:
We need the the ability to create ddev environments from a 'local' resource plugin

What you expected to happen:
Using a git checkout of a Drupal site on the local filesystem you should be able to perform a ddev add and have a functional local development environment. The primary focus of this issue is to get local site installs working.

Done criteria:

  • Latest versions of both D7 and D8 sites should work with this local plugin
  • MySQL connection information should be printed alongside the site URL to assist the user in installing Drupal
  • Pulling in assets such as a DB dump or a files backup is not required for this, but if it makes sense/saves time then it's fine as a stretch goal.
  • Wordpress support is not a requirement for this ticket, but also fine as a stretch goal.
  • Automated tests roughly at parity with ddev tests with newmedia plugin

Additional decisions:

  • [decided] the user will be responsible for maintaining their own git checkout, not ddev

Tasks for this issue:

Testing approach

  • Should have tests to ensure the install page returns the correct HTTP status (both D7 and D8)
  • Should parse MySQL connection info from the CLI output and ensure the connection is working
  • Dependent on git checkout decision point, update test to pull in a sample d7/d8 code base

Activity

  1. added this to the milestone on Feb 24, 2017
  2. changed the title [-]Create 'local' platform plugin[/-] [+]Create 'local' platform plugin and tests[/+] on Feb 27, 2017
  3. self-assigned this
    on Feb 27, 2017
  4. beeradb commented on Feb 27, 2017

    @beeradb
    ContributorAuthor

    Adding one additional reviewer since this becomes more important to get right + document properly with the removal of the existing "legacy" plugin.

    reviewers:
    @cyberswat
    @tannerjfco
    @beeradb

  5. rickmanelius commented on Mar 28, 2017

    @rickmanelius
    Contributor

    Testing of the end-to-end v0.1 functionality can be found here https://docs.google.com/document/d/1KkuFz3ji-Qk5Em5X61uhDQRNImH4T-wFAJFpMJEaCsk/edit#. TL;DR, we're ready to officially close out v0.1!

  6. beeradb commented on Mar 28, 2017

    @beeradb
    ContributorAuthor

    This has been completed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions