Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is there time plans for update project to upcoming Drupal 6 API? Thanks.
Comment | File | Size | Author |
---|---|---|---|
#16 | mcd6jv.patch | 27.71 KB | jvandyk |
#6 | memcache_d6.patch | 7.95 KB | kirie |
#2 | memcache.inc_.patch | 1.21 KB | Anonymous (not verified) |
Comments
Comment #1
zarin CreditAttribution: zarin commentedup
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedlightly tested patch attached which changes the function signature of cache_set in memcache.inc as per the changes from cache_set in drupal 5 to cache_set in drupal 6.
i'm interested in doing some real work here - has anyone else already started on this?
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedsetting to code needs work...
Comment #4
kirie CreditAttribution: kirie commentedWe have a couple of guys looking into making a basic workable package for D6. We'll update this thread with files/comments when there are any updates - we'll hopefully have something over the weekend.
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commented@kirie: cool, looking forward to it.
Comment #6
kirie CreditAttribution: kirie commentedThis patch (rolled against HEAD) updates both
memcache.inc
andmemcache.db.inc
. There is not a lot of change here, the biggest being thecache_get
andcache_get
function signatures. I've also changed a parameter name ($key
to$cid
), a variable name ($time
to$created
) and some function documentation to bring it more in line with D6. Also added incache_clear_all(NULL, 'cache_block');
as per D6.The total number of required files to make memcache work correctly in D6 have been drastically reduced, as there is no need to patch core or update tables:
dmemcache.inc
memcache.db.inc
memcache.inc
As there is not need to use the existing
memcache.module
(actually its .install file) to update tables, I think the functionality in memcache_admin could be moved here?Comment #7
slantview CreditAttribution: slantview commentedI will have a D6 branch later this week, worse case, end of next week. Thanks for submitting this, but I will be combining some of the work I already put into Cache Router - http://drupal.org/project/cacherouter
Comment #8
dmgorsky CreditAttribution: dmgorsky commentedUp :)
Comment #9
GoofyX CreditAttribution: GoofyX commentedSubscribing.
Comment #10
triclops CreditAttribution: triclops commentedwoops. why didn't I see this before I did this... http://drupal.org/node/264015
subscribes
Comment #11
jcfiala CreditAttribution: jcfiala commentedAny updates on the Drupal 6 port? I need this for a project, so I'm willing to donate some time.
Comment #12
Jeremy CreditAttribution: Jeremy commentedWhat's the status on this porting effort? How can we best pitch in? @slantview, you suggest you've got your own changes you want to integrate rather than the posted patches, any luck with that?
Comment #13
patchak CreditAttribution: patchak commentedWill there be any d6 version of this project anytime soon? I'm waiting for this to upgrade some sites, since the patch has been posted so long ago would be nice to revisit this issue and keep it up to date?
Thanks a lot for the work,
Patchak
Comment #14
juan_g CreditAttribution: juan_g commentedA Drupal 6 possibility for those in a hurry is the memcache option of the Cache Router mentioned above by slantview.
Comment #15
sidharth_k CreditAttribution: sidharth_k commentedsubscribing
Comment #16
jvandyk CreditAttribution: jvandyk commentedThis patch is against the 6--1 branch (though there is no 6.x-1.x-dev option in the Version dropdown, so I'm leaving it as 5.x-1.x-dev). It is based on kirie's changes in #6 but also ports the memcache_admin module to Drupal 6 so that the state of memcache bins can be inspected.
Comment #17
jvandyk CreditAttribution: jvandyk commented6.x-1.0 release is out, so closing this issue.