Closed (fixed)
Project:
Storm
Version:
7.x-1.x-dev
Component:
Storm Project
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
28 Sep 2012 at 15:45 UTC
Updated:
4 Nov 2012 at 16:51 UTC
Jump to comment: Most recent file
Havin' a crack at getting started on TODO things.
// TODO Please convert this statement to the D7 database API syntax.
Going to get all the .install file queries ported over to the D7 db API syntax
| Comment | File | Size | Author |
|---|---|---|---|
| #21 | storm-1798036-install_sql_syntax-21.patch | 3.9 KB | willwh |
| #19 | storm-1798036-install_sql_syntax-19.patch | 3.9 KB | willwh |
| #17 | 1798036-database_api_updates_install-17.patch | 7.96 KB | willwh |
| #14 | storm-d7-api-updates-1798036-13.patch | 7.79 KB | willwh |
| #11 | storm-d7-api-updates-1798036-5.patch | 3.81 KB | willwh |
Comments
Comment #1
willwh commentedThis looks ok.
Comment #2
juliangb commentedAre you able to post your code as patches please?
It will make it easier for us to review and commit them more quickly...
Comment #3
willwh commentedHi Julian,
After chatting with kfritsche in IRC, I was going to hold off until I've patched all the queries in the .install files.
I will definitely be creating a patch when ready.
Comment #4
willwh commentedWell, here we go, my first crack at a patch :)
git branch 1798036-database_api_updates_install
git checkout 1798036-database_api_updates_install
// made my changes
git add -A
git commit -m "some comment"
git diff 7.x-1.x > storm-d7-api-updates-1798036-0.patch
How'd I do?
Comment #5
kfritscheI think this should be:
Yeah, I know I told you otherwise before.
And the indent is not correct.
Otherwise it seems okay for me.
Comment #6
willwh commentedOk - here goes :)
Thanks for the pointers kfritsche!
Comment #8
willwh commentedI should remember to git add & commit before making a patch ;)
Comment #10
willwh commentedOk, without commit the patch & fixing indents ;)
Comment #11
willwh commentedOk - should be good to go now, I hope :)
Comment #13
kfritscheSeems okay now. Tests will fail, because tested components doesn't work yet.
Good work. Keep it up!
Comment #14
willwh commentedstormtask had a SQL syntax error in the install - only after uninstall / installing this module did I notice it. Fixed it up in this patch.
Going to move on to fixing up some different stuff now... progress continues :)
Comment #15
juliangb commentedI'm pretty sure we need an ->execute() for the delete commands to work...
Comment #16
juliangb commentedhttps://drupal.org/node/310081 might help.
Comment #17
willwh commentedThis should do the trick.
Comment #18
juliangb commentedPatch needs unix line endings.
Comment #19
willwh commentedOk, here we go :)
Comment #21
willwh commentedTrying again :)
Comment #22
juliangb commentedComment #23
juliangb commentedCommitted, thanks!
Comment #24.0
(not verified) commentedShould cover all sub module install files