Works for Drupal 8 also
Posted by bkudrle on July 11, 2011 at 5:18pm

I just used Quickstart 1.0 to create a new test Drupal 8 installation as well. I just edited the default.make to

core = 8.x

and then ran:
drush qc --domain=example8.dev

Worked like a charm. Quickstart is an awesome project!

CommentFileSizeAuthor
#7 quickstart-1219366-7.patch1.77 KBtraviscarden

Comments

webchick’s picture

It'd be awesome if this was included out of the box. I'd love to refer people to use this if I could get all the various performance testing things to work on it.

The one thing I'd change is perform a git clone, rather than a straight download, of the files.

jn2’s picture

Any possibility of this? Git clone of D8 built into Quickstart? That would be awesome, would make patching etc. so much more available.

snlnz’s picture

I agree with @webchick this it is totally awesome for testing and performance purposes but it does need a git clone so we're getting the most up to date package. It would be nice to see this across the board for all drush dl commands in QS.

Oh Thanks Michael for the cool tools! Really appreciate it.

jimsmith’s picture

Quickstart will no longer make a clean install of D8 by simply changing the core version number to 8.x in the make file. The reason the install fails is that Quickstart's site installation script fails when it checks for presence of the CHANGELOG.txt file in the new site's root directory. That file is now in the /core directory.

Despite this problem, the installation isn't completely broken and can be fixed. The database is installed, but is empty. If you try viewing your new site in a browser you will get install.php. After changing the permissions of /sites/defaut/settings.php and providing the database login/password information you will be able to complete the installation.

mgifford’s picture

Would be so nice since now MAMP isn't working with D8 development.

traviscarden’s picture

Here's a patch that fixes the CHANGELOG.txt detection issue and creates a d8.make file. I filed a support request with Drush to see if it can be made to use Git: #1534538: Check out Drupal core via Git?. (Maybe somebody here already knows.)

It appears you'll also need Drush 5 to work with d8, and Quickstart needs a patch for compatibility: #1511728-2: Make quickstart-create compatible with Drush 5.

traviscarden’s picture

Status: Active » Needs review
StatusFileSize
new1.77 KB

Sweet! I totally forgot the patch. :)

mike stewart’s picture

Assigned: Unassigned » mike stewart

Reviewing

snlnz’s picture

Hey Travis I ran your patch on the master branch and then attempted to setup a new d8 site getting error:

Checksum md5 verification failed for drupal-8.x-dev.tar.gz.tar.gz. Expected 6df7b09be2ca6515e74f9eaf1f913987, received
11d32348005186b51b6d60d92c89f367.

Then the rest fails as expected.
Note further down after running installer I get:

file_get_contents(/home/quickstart/websites/d8.test/CHANGELOG.txt): failed to open stream: No such file or directory quickstart.inc:262

So the patch is not really working out? I applied it using:
cd /home/quickstart/quickstart
patch -p1 < file.patch
applying was successful.

Hope that sheds some light on the issue?

traviscarden’s picture

@snlnz: Presumably, if the checksum verification is failing then the Drupal tarball wasn't downloaded fully or correctly. That could point to a firewall or Internet connectivity issue. But naturally the installer won't work if it doesn't get a valid copy of Drupal. In other words, you're not experiencing a failure in the patch; you're experiencing a failure somewhere "underneath" it.

mike stewart’s picture

I agree with @Travis. Not a problem with the patch, and worked for me. I just haven't yet included in 7.x-2.x branch.

of note, @snlz, this might be related to: #1298560: Wrong md5 checksum on downloads -- see #1

mike stewart’s picture

I've committed this change to the 7.x-2.x development branch, but couldn't test since I'm actually working in the old 7.x-1.x image and need to re-roll a new image to test. test failed in current environment -- but its getting late ... so will try again tomorrow or monday. the commit shouldn't affect anything except trying to use d8.make

snlnz’s picture

thanks for the response, I did some further digging and found the proxy function in QS was broken so disabled proxy and all is well. Patched also works. :)

mike stewart’s picture

Status: Needs review » Fixed

sounds like RTBC to me ... plus patch already committed. if anyone runs into a problem related, please feel free to reopen

@snlz - thanks, to you too!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.