Title says it all.
Where can I find Drupal 4.7rc2->4.7rc3 in .patch form?
And how do I apply it on my localhost site?

Comments

ebw’s picture

... make a patch from the diff, and then apply it, but why not bkup scratch db, tar up scratch tree, unroll the rc3 tarball on the scratch tree and look around, and if happy, repeat for production db(s) and tree(s)?

its what i did this morning, and except for the cardiac pause (mine) it was client-transparent.

oh yeah, reading the diff is a recommended exercise.

signature left on blank check, reward if found

degerrit’s picture

How I go about it is to make my own .diff file, I don't know if this is recommended/supported by the rest of the Drupal folks but it works for me (and is less work than starting from scratch each time):

1. download rc2 and rc3; unpack both in any location (but be careful not to overwrite anything)
2. diff -ur drupal-4-7-0-rc2/ drupal-4.7.0-rc3/ > drupal_470rc2-470rc3.patch
3. 'cd' to the directory you want to patch
4. patch -p1 --dry-run < path/to/drupal_470rc2-470rc3.patch
5. If that looks ok (no failures, or at least very few of them):
patch -p1 < path/to/drupal_470rc2-470rc3.patch
6. go over any .reject files created and "patch" those manually (read them, and adjust the original files if necessary).
Be careful with your configuration files though - you may want to check those manually.
7. run http://{your site}/update.php
8. update any modules? fix any errors?

I think that's about it.

heine’s picture

If I may ask: why do you want this?
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.

degerrit’s picture

Well, maybe I've been missing something obvious but I like to upgrade this way since I can leave my directory structure and modules/themes in place accross upgrades. I have some other things I serve out of my web root, and I think I have a few Drupal-related (upload) dirs in there as well (perhaps they don't belong there). Oh that, and I don't feel comfortable unpacking tar files over existing files (even if I have a backup).

But if there is a smarter way... enlighten me :-)