Drupal 5.7 has been released and is a bug-fix release.
Below are the patches with few corrections to apply cleanly (without warnings about line offsets). Only changed patches are attached.
| Comment | File | Size | Author |
|---|---|---|---|
| taxonomy_cache.patch | 4.31 KB | GoofyX | |
| path_cache.patch | 6.32 KB | GoofyX | |
| node_cache.patch | 2.31 KB | GoofyX | |
| comment_cache.patch | 5.51 KB | GoofyX |
Comments
Comment #1
druvision commentedComment #2
druvision commentedOne out of 5 hunks failed for block_cache.patch in Drupal 5.7 -
block_cache.patch is missing.
Comment #3
GoofyX commentedAre you sure you do it correctly? I just tried in a new drupal-5.7 dir (after decompressing drupal-5.7.tar.gz) and all patches except the ones in the issue description apply cleanly, with no failed hunks, that's why I did not include them in the first place. Have you used the right -p patch parameter?
Comment #4
jason.fisher commentedcomment_cache.patch failed against comment.module here with 5.7:
# patch -p0 < sites/all/modules/advcache/comment_cache.patch
patching file ./modules/comment/comment.module
Hunk #4 FAILED at 1033.
Hunk #5 succeeded at 1099 (offset 9 lines).
Hunk #6 succeeded at 2069 (offset 9 lines).
1 out of 6 hunks FAILED -- saving rejects to file ./modules/comment/comment.module.rej
comment.module.rej contents (patch < sites/all/modules/advcache/comment_cache.patch was the same result)
Comment #5
GoofyX commentedHave you tried the comment_cache.patch attached here or from the latest development version of the module?
Comment #6
osminogin commentedblock_cache.patch not apply cleanly too.
Comment #7
GoofyX commentedCould you dump the output here? What are the commands you used?
Comment #8
robertdouglass commentedThanks for continuing to work on this. When people are testing, make sure you test against 5.7.
Comment #9
socialnicheguru commentedi applied the patches to 5.8 and this is what I got:
block_cache does not work.
>:~/domains/dev.activelyout.com/html$ patch -Rp0 < sites/all/modules/advcache/block_cache.patch
patching file modules/block/block.module
Hunk #4 FAILED at 641.
Hunk #5 FAILED at 682.
2 out of 5 hunks FAILED -- saving rejects to file modules/block/block.module.rej
>:~/domains/dev.activelyout.com/html$ patch < sites/all/modules/advcache/newpatches/node_cache.patch
can't find file to patch at input line 4
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur ../drupal/modules/node/node.module ./modules/node/node.module
|--- ../drupal/modules/node/node.module 2007-09-29 19:41:28.000000000 -0400
|+++ ./modules/node/node.module 2007-12-10 12:35:15.489649433 -0500
--------------------------
File to patch: modules/node/node.module
patching file modules/node/node.module
Hunk #1 succeeded at 541 (offset 40 lines).
Hunk #2 succeeded at 603 (offset 40 lines).
Hunk #3 succeeded at 2034 (offset 40 lines).
>:~/domains/dev.activelyout.com/html$ patch < sites/all/modules/advcache/newpatches/path_cache.patch
can't find file to patch at input line 4
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur ../drupal/includes/common.inc ./includes/common.inc
|--- ../drupal/includes/common.inc 2007-10-17 17:28:59.000000000 -0400
|+++ ./includes/common.inc 2007-12-10 12:35:59.492156947 -0500
--------------------------
File to patch: includes/common.inc
patching file includes/common.inc
Hunk #1 succeeded at 1296 (offset 3 lines).
can't find file to patch at input line 15
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur ../drupal/includes/path.inc ./includes/path.inc
|--- ../drupal/includes/path.inc 2006-12-23 17:04:52.000000000 -0500
|+++ ./includes/path.inc 2007-12-10 12:35:59.492156947 -0500
--------------------------
File to patch: includes/path.inc
patching file includes/path.inc
can't find file to patch at input line 144
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur ../drupal/modules/path/path.module ./modules/path/path.module
|--- ../drupal/modules/path/path.module 2007-05-20 20:52:28.000000000 -0400
|+++ ./modules/path/path.module 2007-12-10 12:35:59.492156947 -0500
--------------------------
File to patch: modules/path/path.module
patching file modules/path/path.module
Comment #10
robertdouglass commentedPlease focus work now on making a DRUPAL-5-8 version of the block patch. http://drupal.org/node/282301
Comment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.