Switching from 'Vanilla' Drupal to Pressflow

We recently started on a project and began work implementing the features when we were told that it needed to be based on Pressflow. After a small moment of panic at the thought of having to redo all of the work done thus far, Dave assured me that it was a simple drop-in to replace regular 'vanilla' Drupal core with Pressflow. Still, leaving nothing to chance, I wanted to see just what these differences were and how it would effect my current code base. Was it really that simple?

So I downloaded Pressflow and came up with a diff file between my current code base for my project and Pressflow so that I could see first-hand all of the changes that would be made. It was a little trickier than a simple diff command, as there are some .bzr files within the Pressflow installation, .git file in both, and CVS file in my own. Plus I already have a bunch of modules within my current code base that I did not want reflected within my diff file. The goal was to come up with a succinct patch that could be applied to any Drupal core in order to change it into Pressflow. 

Here is the command I came up with to accomplish this:

diff -uNpr -x .git -x CVS -x .gitignore -x all [my code base location] [pressflow code base location]

The resulting patch file is attached.

AttachmentSize
pressflow-6.patch378.94 KB

// comments

Which version of drupal did

Which version of drupal did you create this diff from? 6.15?

Yes, this was against 6.15

Yes, this was against 6.15

  • Jerad Bitner's picture
  • Title
    Chief Technology Officer
    Bio

    Jerad is our co-founder and CTO, and has been using Drupal since the nightmare upgrades from 4.6 to 4.7 (that's early 2005, if you're asking). He started out as a Technical Illustrator with C/S Group and worked for three years with Photoshop, Illustrator, AutoCad and Macromedia products as well as PHP. When it came time to replicate a platform across the different locations of the company, Jerad found Drupal and hasn't looked back since.

    With 5 contributed modules and thousands of contributions to Drupal, he has gained many friends and an excellent standing within the community. He enjoys participation and helping out in any way he can, but enjoys learning most of all.

    Jerad has been on the teams at Sony BMG (now Sony Music Entertainment) and LifeTime Digital where he had the opportunities to work with some of the best minds in the Drupal community. Being a part of these awesome teams has helped lead him to where he is today. An avid reader, biker, hiker, and drummer, Jerad brings an energetic drive to the team and a wealth of knowledge that is helping lead them to more productive, satisfying lives.

// add comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <br> <hr>
  • Lines and paragraphs break automatically.

More information about formatting options