Closed (fixed)
Project:
Talk
Version:
6.x-1.6
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2010 at 01:16 UTC
Updated:
10 Jul 2011 at 17:55 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedThere is a #D7CX pledge, so presumably the answer is yes. The maintainers of this module are also core maintainers, and I assume they are working on getting D7 core out now instead.
I'd like to see the improvements I've implemented get into the D7 version, and will provide patches/help/testing/whatever as needed for that to happen.
Comment #2
JohnnyX commentedWill a dev version available soon or no port started yet?
Comment #3
scsmith commentedSubscribe
Comment #4
jarodms commentedSubscribe - using this in drupal_wiki so I am interested in its progress. thanks!
Comment #5
webankit commentedLooking forward fr it +1
Comment #6
bart.hanssens commentedIs someone already working on this port ? If not, I'd like to give it a try during the (shameless plug) DrupalGov Days (April 9).
I'm not that familiar with Drupal development, but it seems a rather easy - yet useful - module to get started...
Comment #7
davidzz commentedTo bart.hanssens - that'ld be much appreciated!
Comment #8
kanani commentedI started on a port to D7, but it still needs a lot of work. Biggest thing left to do is actually get the comments moved from the "view" tab to the "talk" tab. After that is finished, it will need general style/formatting cleanup.
Bart (or anyone else) ping me when your ready to start so we can coordinate efforts.
Comment #9
kanani commentedThis one should work in D7.
2nd Iteration. There's probably still a lot of code that can be cleaned up but appears to be working on D7. After I've verified the test cases are working I'll figure out how to submit the whole module as a patch for D7 (never done that before)
Comment #10
kanani commentedPatch against head.
Comment #12
kanani commentedrerolled against master
Comment #14
kanani commentedComment #15
kanani commentedComment #16
kanani commentedComment #17
kanani commentedSorry for the triple post. I was trying to get it to recognize the patch and initiate the test.
All three patches are the same.
Comment #18
webankit commented#16: 959518-drupal7port_0.patch queued for re-testing.
Comment #19
JohnnyX commentedWill we get a (dev) release soon?
Comment #20
kanani commentedJohnnyX,
My patch needs to be reviewed before it can be committed (and possibly turned into the d7-dev branch).
If you grab the patch, and test it against your d7 install, then provide feedback that might help move the process along.
-D
Comment #21
Anonymous (not verified) commentedkanani, thank you very much indeed for working on this.
I'm currently trying to apply the patch, and will test when I have.
So far, I can't get the patch to apply at all. I'm not used to using the patch command, so probably I'm doing something totally stupid and will eventually figure it out. However, if you could post detailed instructions on how to apply, that could speed things up.
What I've done is put the 6.x-1.x-dev version in sites/all/themes/talk, put your patch in that folder, and do patch -p1 < 959518-drupal7port_0_2.patch . I get:
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file README.txt.rej
patching file talk.info
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file talk.info.rej
patching file talk.module
Hunk #1 FAILED at 6.
Hunk #2 FAILED at 44.
Hunk #3 FAILED at 199.
Hunk #4 FAILED at 236.
4 out of 4 hunks FAILED -- saving rejects to file talk.module.rej
patching file talkpage.tpl.php
Comment #22
Anonymous (not verified) commentedOn the theory that maybe 'patch' is the wrong tool to use, I've just tried using git.
git apply --check < 959518-drupal7port_0_2.patch
error: patch failed: README.txt:1
error: README.txt: patch does not apply
error: patch failed: talk.info:1
error: talk.info: patch does not apply
error: patch failed: talk.module:6
error: talk.module: patch does not apply
error: patch failed: talkpage.tpl.php:1
error: talkpage.tpl.php: patch does not apply
What starting point does your patch apply against?
Thanks!
Comment #23
kanani commentedPatch was build using git.
For the long version See "Applying Patches" here http://drupal.org/node/1054616#applying-patches
For the short version you need to clone talk from git.
then download the patch into the talk folder
then run the git command for applying the patch
you might get some errors about additional whitespace, but the patch should apply
Comment #24
webankit commentedi agree it is stable and should me made dev
Comment #25
kanani commentedper #24 changing status to reviewed and tested by community
Comment #26
gregglesIn general, it seems like this patch might be against the wrong branch and incorporate a mix of changes made in Drupal 6 and other stuff.
That all should be stripped from the patch.
In the future it's best not to make changes like this as part of a port. You should focus the port on just the parts related to making it work on the new version of Drupal.
Why are you assigning $access this value? Also you have an extra space between "( $"
In Drupal 7 drupal_set_title already does a check_plain, so this will double encode characters in node titles.
I stopped reviewing at that line as I'm out of time for now.
Comment #27
kanani commentedThanks, my primary focus was on getting a D7 port working. I'll go back and do some work to cleanup / remove extraneous code.
Comment #28
chapatt commentedThank you so much for your work on this kanani. I'm trying to migrate to D7, and I really like this feature for wikis.
Comment #29
kanani commentedHappy to help chapatt. Did it work ok for you? Any issues?
Comment #30
BenK commentedSubscribing
Comment #31
cwgordon7 commentedI've completed the port to Drupal 7. Please report any issues as new issues in the queue, not here. Thanks!
Comment #32
acolyte26 commentedHi, Where is the link to download the dev version of drupal 7. I would like to try it.
Comment #34
rfayCongratulations on this!
Probably time to remove the #D7CX pledge from the project page :-)