Upgrade node, comment, and taxonomy to Drupal 6

kirie - April 3, 2008 - 08:35
Project:Advanced cache
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work
Description

Hello,

Are there any plans to work on an update of this module for Drupal 6? We have just started looking into the patches and can post them here. Should patches be made against 5.x-1.x-dev or CVS HEAD?

#1

robertDouglass - April 19, 2008 - 22:05

Make patches against DRUPAL-5. When we start developing a 6 branch we'll first move changes into HEAD, and eventually tag it DRUPAL-6. Thanks for working on this.

#2

pmcg - May 13, 2008 - 07:57
Status:active» needs review

Heres an updated paths patch. I didn't patch against the patch so this is, sort of, a drop-in replacement.
Unfortunately I have some other things on my plate and I won't be working on this in foreseeable future. I thought I should submit what i've worked on thus far though.

AttachmentSize
path_cache.patch 5.82 KB

#3

robertDouglass - July 18, 2008 - 21:51
Status:needs review» won't fix

The paths patch in the DRUPAL-5 doesn't work well and I'm not porting it in its current state.

#4

Flying Drupalist - October 25, 2008 - 01:56

Hello, I would also love to see a 6.x version. Thanks

#5

Murz - October 31, 2008 - 09:16

subscribe

#6

Likeless - November 10, 2008 - 19:17

Me too. Is there anything I can do to help it become a reality?

#7

mikejoconnor - December 9, 2008 - 01:53
Title:Upgrade to Drupal 6» Upgrade node, comment, and taxonomy to Drupal 6
Status:won't fix» needs review

Hello,

I'm uploading my first attempt at converting the advcache module to D6. In the .zip file attached you will find advcache_d6.patch for upgrading the advcache module, as well as patches for node, comment, and taxonomy.

I'm sure we can find some improvements. This is simply a port of the d5 version to d6.

AttachmentSize
advcache.zip 5.65 KB

#8

mikejoconnor - December 9, 2008 - 04:10

Line 54 of the taxonomy patch used cache_set incorrectly.

+    cache_set('tree::'. $vid, 'cache_taxonomy', $tree);

changed to
+    cache_set('tree::'. $vid, $tree, 'cache_taxonomy');

AttachmentSize
advcache 2.zip 6.8 KB

#9

mikejoconnor - December 9, 2008 - 18:33
Status:needs review» needs work

This seems to be automatically save nodes as not published. It could be something else in my config. does anyone else experience this?

#10

mikejoconnor - December 9, 2008 - 18:38
Status:needs work» needs review

false alarm. Faulty triggers/actions config

#11

dropchew - February 12, 2009 - 10:11

subscribing, been using memcache and luv to combine this!

#12

joshk - February 22, 2009 - 00:00

Mike O'connor's .zip applies cleanly against D6.9. Will be testing this out as per:

http://groups.drupal.org/node/19385

#13

joshk - February 22, 2009 - 00:44

Well, path caching doesn't seem to be working yet -- nothing ever calls drupal_lookup_path() with $action == 'cache' -- but node, comment and taxonomy caching definitely do.

I would also like to see user_load() get a cache here.

More soon.

#14

joshk - February 22, 2009 - 01:17

Ok. The lack of path caching is due to no call to drupal_lookup_path('cache');.

Previously it was suggested this could be done w/a patch to common.inc. Implementing hook_exit() might be a bit cleaner.

Doing that currently doesn't allow expiration to be set correctly and causes a notice error. The attached patches adds working support and resolves another notice-level error from the patch to taxonomy.module.

AttachmentSize
advcache-d6-9.tgz 6.87 KB

#15

mikejoconnor - February 22, 2009 - 17:56

I resolved an issue in the taxonomy patch due to an unserialize I failed to remove in the first patch.

I've been using this on a dev site for the last couple months, and it seems to be working. I would suggest we create a D6 development version in CVS. This will get more exposure, and allow us to work on the individual issues individually instead of passing around a zip.

Thoughts?

AttachmentSize
advcache-d6-9.zip 10.7 KB

#16

joshk - February 22, 2009 - 18:38
Status:needs review» reviewed & tested by the community

I'm in agreement. The current group of patches (thanks for that taxonomy fix) makes a worthy D6-dev branch. Getting that into the project system to allow others to test deploying it would be a great next step.

If we get this up and running I will put it into use on a number of projects going into development immediately (as well as my personal blog, natch) which will give us a wider base for testing and improvement over the next few months.

Also, as Robert mentioned on the other thread, the time is now to start thinking about D7. Generalized object caching is going to be critical for massively scalable drupal applications, and really doing it "right" means having the support in core.

#17

robertDouglass - February 22, 2009 - 18:58

Mike - take the lead. Create the DRUPAL-6--1 branch/tag.

#18

joshk - February 26, 2009 - 01:30

Any update here?

#19

EvanDonovan - March 31, 2009 - 15:49

I tried applying the node, comment, and taxonomy patches to a Drupal 6.10 installation. (I didn't apply the path patch since Robert Douglass said it had issues.) When I tried applying them, I received an error for the node and taxonomy patches saying "Reversed (or previously applied) patch detected!" Does anyone know why this might be?

#20

Flying Drupalist - April 19, 2009 - 00:53

Perhaps path patch should utilize this? :
http://drupal.org/node/223075

#21

dkruglyak - May 3, 2009 - 10:44
Version:5.x-1.x-dev» 6.x-1.x-dev
Status:reviewed & tested by the community» needs work

The latest 6.x-1.x-dev patches fail with 6.11 for node and taxonomy. Need to be re-rolled.

#22

vacilando - August 4, 2009 - 14:47

Subscribing

#23

ThomasH - September 2, 2009 - 11:34

Node patch proposal for d6.13

AttachmentSize
node.patch 1.98 KB

#24

ThomasH - September 2, 2009 - 12:02

Taxonomy patch proposal for d6.13

AttachmentSize
taxonomy.patch 4.45 KB

#25

dkruglyak - September 2, 2009 - 21:59

@ThomasH: How extensively are these patches tested?

#26

ThomasH - September 3, 2009 - 09:12

It has gone through basic testing here. We're now testing it some more to assure everything is working properly. But I figured, the more eyes on the patch, the more chance of finding bugs.

 
 

Drupal is a registered trademark of Dries Buytaert.