There's work being done in #346494: DB drivers need to be able to change the configure database form during install to allow driver to define their own options. This has resulted in a change to the structure of the database install form, which breaks PIFR.
From catch @ http://drupal.org/node/346494#comment-3710472:
This is going to need a patch against pifr/pift to change the installation code most likely, along with simultaneous commits/deployment to save the test bot being broken.
| Comment | File | Size | Author |
|---|---|---|---|
| #20 | 972956-d7-database-install.patch | 1.04 KB | boombatower |
| #17 | 972956-what-about-testing-patches.patch | 1.58 KB | damien tournoud |
| #8 | pifr-d7-installer-972956-9_6--2-2.diff | 1.43 KB | dalin |
| #8 | pifr-d7-installer-972956-9_HEAD.diff | 1.46 KB | dalin |
| #7 | pifr-d7-installer-972956-7_6--2-2.diff | 1.15 KB | dalin |
Comments
Comment #1
duellj commentedSeems like it would be a simple fix of changing the post values in pifr_client_review_pifr_simpletest->install()
Comment #2
dalin@duellj It looks like you're patching against an old version. I can't find
PIFR_CLIENT_DBanywhere in the project. So I used$edit['driver'].Comment #3
dalinI guess we could very easily handle things gracefully so that this patch can be committed without breaking testing, then #346494: DB drivers need to be able to change the configure database form during install can be committed without breaking testing.
Comment #4
boombatower commentedProbably need to apply as hotfix to 2.2 instead of HEAD since the workers all run that.
Comment #5
duellj commentedThanks dalin, I was actually patching against a newer version. The patch in #2 applies fine against 2.2
Comment #6
boombatower commentedLets re-roll the patch per #2 so handle things gracefully and then commit a final change (without grace) to HEAD.
Comment #7
dalin@duellj I'm not sure I follow. Your patch is against pifr_simpletest.client.inc,v 1.7 whereas the 6--2-2 version is pifr_simpletest.client.inc,v 1.39. Also the 6--2-2 pifr_simpletest.client.inc does not install Drupal, but allows the parent class to do that. So unless I'm missing something we should be patching pifr_drupal.client.inc,v 1.9 in 6--2-2.
Patches against 6--2-2 and HEAD are attached that should gracefully handle both before and after #346494: DB drivers need to be able to change the configure database form during install.
Comment #8
dalinAnd by graceful I meant explosive fail. Apparently you can't just dump stuff into $edit that isn't actually in the form.
Here's patches that use xpath to determine which version to use. I can't actually get PIFR to run locally, so these should be tested.
Comment #9
dalinComment #10
dalinUpping this to critical since it is blocking the resolution of a critical core issue.
Comment #11
duellj commenteddalin, thanks for taking this over. The patch in #1 was against the 7.x branch, which I didn't realize isn't being run on qa.d.o. The patch in #8 looks great, but I can't get PIFR to run locally either, so I can't properly test it.
Comment #12
boombatower commentedno idea where the 7x. branch came form...i've noticed it on a number of projects that don't actually have any 7.x code...must be something messed up with cvs. Working on getting this deployed, but those involve don't like to get back to me.
Comment #13
boombatower commentedWaiting on either #976834: Convert qa.drupal.org to bzr which will allow full update, or access to hotfix the current clients.
Comment #14
damien tournoud commentedUpdated the drupaltestbot deployment package with the patch from #8:
https://github.com/damz/drupaltestbot/commit/36518594239e8fe448d63201312...
Pushed the package on #32. Waiting for rfay to wake up for #504.
Comment #15
damien tournoud commented#504 is now updated too.
Comment #16
rfayUpdated #504 and sent an email to the other testbot managers requesting the same. This is the puppet-managed upgrade procedure DamZ specified:
apt-get update
apt-get upgrade (Say "Yes" when it asks if you want to reconfigure the db. It's OK)
puppetd --test --server puppet.damz.org
reboot
Submit testbot for retesting on qa.drupal.org.
Comment #17
damien tournoud commentedTesting patches is overrated apparently. Next time, test a patch before whining about deploying it to the test clients.
Comment #18
pfrenssenI updated testbot #414 but get division by zero errors: http://qa.drupal.org/pifr/test/91739
I'll try a retest.
Comment #19
deekayen commentedI added https://drupal.org/files/issues/pifr-d7-installer-972956-9_6--2-2.diff to #33 and submitted for retest.
Comment #20
boombatower commentedOnce the core issue has been resolved I will commit the following or something like it to HEAD.
@DamZ Sorry about this mess. I thought patch had been tested and I had updated scratch qa.d.o and tested HEAD pifr, but forgot I had not committed. :)
Comment #21
dalinComment #22
rfay@dalin - If you're going to close something, please say why you're closing it.
Comment #23
dalinAhh, my bad.
And now that I look closer I see that I was getting carried away on this one. The workaround still needs to be removed a la #20.
Comment #24
rfayPatch no longer applies (even with -p0). I'm not sure where this one stands.