Needs review
Project:
Drupal.org Testing
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
11 Mar 2011 at 22:04 UTC
Updated:
6 Jun 2011 at 21:06 UTC
Jump to comment: Most recent file
Comments
Comment #1
dwwAssuming there's a good reliable way to fetch pressflow, I'm okay with that. However, last I heard, pressflow lives in bzr, and I'm less psyched about having a dependency on both Git and bzr. But, if it's easy to get tarballs for fixed versions and just reference those directly, I'm happy.
Thanks!
-Derek
Comment #2
naxoc commentedPressflow is mirrored here: http://gitorious.org/pressflow - I totally agree that using bzr too would be too much pain.
Comment #3
naxoc commentedHmm, I should probably ask what fixed version I should use?
Something like this for a tarball?
http://launchpad.net/pressflow/6.x/6.20.97/+download/pressflow-6.20.97.t...
I'm thinking that a tarball is much faster to fetch.
Comment #4
naxoc commentedHere is a patch that will use pressflow. I tested a bit by clicking around - that looked fine. But when I ran the simpletests for the project module and they failed. They don't when I use plain core. I am not sure what that is all about, but here is the patch. I'll play around with it some more.
Comment #5
cweagansAn alternative here is to get a copy of vanilla Drupal 6 and apply the 20 or so patches that turn it into Pressflow. That would be a really easy addition to the Drush make files.
Comment #6
cweagansPatch in #4 is good.
Comment #7
dww@cweagans: What about the simpletest failures @naxoc mentioned in #4?
Comment #8
webchickRe: #4, Pressflow ships with E_NOTICE turned on (or, rather, it doesn't explicitly strip it out, as D6 core does). So that might be at least part of the problem.
When I run Project issue tests with Pressflow I'm getting a bunch of exceptions like this:
And then also a few of these:
Having to manually update this URL every time a new version of Pressflow comes out seems like an insane PITA. Luckily, according to https://answers.launchpad.net/pressflow/+question/115252 there is a tarball URL that will always have the latest version of Pressflow: http://files.pressflow.org/pressflow-6-current.tar.gz Yay!
One nice thing is this takes the wait time to get output on the screen from 3+ minutes to only maybe 10 seconds. w00t!
Additionally, the patch at #341140: drupal_get_filename() when database is down, does not deal with phptemplate themes is needed to even install the profile currently, so this patch includes that as well (I had to upload a -p0 version at http://drupal.org/node/341140#comment-4561870 cos apparently drush make hasn't been schooled in Git).
Comment #9
webchickHere's a re-rolled version after #1148774: Automatically patch core in Drush Makefile.
Comment #10
webchickOk, the other huge issue w/ SimpleTest + Project + Pressflow is you get a flaming error when you check all of "Project" tests:
Failed opening required '' (include_path='.:/Applications/MAMP/bin/php5.3/lib/php') in /Users/abyron/Sites/mydrupalorg/modules/simpletest/simpletest.module on line 211
Through much digging that I'll spare you the details on, it appears this is caused by #627390: Filename cannot be empty if a test lasts less than 1s, which has a patch that was committed over a year ago and leaves me wondering what strange version of SimpleTest Pressflow is using. Hrm.
Someone with more drush make-fu than I is going to need to figure out how to apply the patch there to a module living in /modules instead of sites/all/modules though. :\
Comment #11
naxoc commentedPlease ignore this patch - I am trying hard to find some drush make-fu, and I need a place to pull a patch from :)