Comments on: Is This Thing On? http://tleaves.com/2008/11/17/is-this-thing-on/ Creativity x Technology Sat, 17 Mar 2012 05:09:58 +0000 hourly 1 http://wordpress.org/?v=3.3.1 By: Maverick http://tleaves.com/2008/11/17/is-this-thing-on/comment-page-1/#comment-5192 Maverick Wed, 19 Nov 2008 15:26:31 +0000 http://tleaves.com/?p=1172#comment-5192 The wordpress upgrade process is indefensibly poor. I do wish to share my current practice. See if it helps one more person. (1) use "svn co" to install from their svn, make sure everything works as much as possible without making any file changes (2) use "hg init" to snapshot the directory structure (or use any other distributed scm, I happen to like hg) (3) make your file changes (4) "hg ci" for another snapshot At this point, the changes in (3) will be seen as modified files in svn. But you have an hg snapsot in (4). I note that the use of hg is simply to help you track what changes you've made. (You could have just left the changes as a bunch of modified files when doing "svn st".) When I have to upgrade wordpress, say because of a security problem (that feels like every other day), I do an "svn up" while praying that there will be no conflicts. 90% of the days it seems to be so and I am happy. Then I "hg ci" to snapshot. You have to choose if you track the .svn directories in hg or not. The advantage is if you roll back using hg, your .svn will be accurate. The disadvantage is diskspace, which is cheap anyway for this amount of code. The most important benefit is, however, when you get hacked, you know exactly what the hacked changes are. Indeed, I have a job that do an "hg st" on a regular basis and notify me if there are file changes. Here hg comes to rescue to get rid of the hacked changes quickly. I have collected a whole bunch of "tools" and "images" since deploying this. The wordpress upgrade process is indefensibly poor. I do wish to share my current practice. See if it helps one more person.

(1) use “svn co” to install from their svn, make sure everything works as much as possible without making any file changes
(2) use “hg init” to snapshot the directory structure (or use any other distributed scm, I happen to like hg)
(3) make your file changes
(4) “hg ci” for another snapshot

At this point, the changes in (3) will be seen as modified files in svn. But you have an hg snapsot in (4). I note that the use of hg is simply to help you track what changes you’ve made. (You could have just left the changes as a bunch of modified files when doing “svn st”.)

When I have to upgrade wordpress, say because of a security problem (that feels like every other day), I do an “svn up” while praying that there will be no conflicts. 90% of the days it seems to be so and I am happy. Then I “hg ci” to snapshot.

You have to choose if you track the .svn directories in hg or not. The advantage is if you roll back using hg, your .svn will be accurate. The disadvantage is diskspace, which is cheap anyway for this amount of code.

The most important benefit is, however, when you get hacked, you know exactly what the hacked changes are. Indeed, I have a job that do an “hg st” on a regular basis and notify me if there are file changes. Here hg comes to rescue to get rid of the hacked changes quickly. I have collected a whole bunch of “tools” and “images” since deploying this.

]]>
By: psu http://tleaves.com/2008/11/17/is-this-thing-on/comment-page-1/#comment-5189 psu Tue, 18 Nov 2008 16:59:10 +0000 http://tleaves.com/?p=1172#comment-5189 At the time the hangup was wanting to use our existing domain name. I think now there are solutions to such problems, but moving the data to a hosted solution at this point would make my eyes explode. At the time the hangup was wanting to use our existing domain name. I think now there are solutions to such problems, but moving the data to a hosted solution at this point would make my eyes explode.

]]>
By: Alex http://tleaves.com/2008/11/17/is-this-thing-on/comment-page-1/#comment-5188 Alex Tue, 18 Nov 2008 16:25:18 +0000 http://tleaves.com/?p=1172#comment-5188 Let me just go ahead and ask a dumb question... Why the need for weblog software in the first place? For a relatively simple (that's a compliment) weblog isn't Blogger or some other hosted service just as good? Wait, I just thought of an answer. Must have something to do with the ability to place revenue-generating ads on the site? There's no hosted solution to that either? Thanks Let me just go ahead and ask a dumb question… Why the need for weblog software in the first place? For a relatively simple (that’s a compliment) weblog isn’t Blogger or some other hosted service just as good? Wait, I just thought of an answer. Must have something to do with the ability to place revenue-generating ads on the site? There’s no hosted solution to that either?

Thanks

]]>
By: Thomas http://tleaves.com/2008/11/17/is-this-thing-on/comment-page-1/#comment-5191 Thomas Tue, 18 Nov 2008 04:54:40 +0000 http://tleaves.com/?p=1172#comment-5191 All of the above is why I concatenate my blog together from tiny text files written in Nano/Pico. Sounds cumbersome, but seems to work pretty well, all things considered. All of the above is why I concatenate my blog together from tiny text files written in Nano/Pico. Sounds cumbersome, but seems to work pretty well, all things considered.

]]>
By: Julie http://tleaves.com/2008/11/17/is-this-thing-on/comment-page-1/#comment-5190 Julie Tue, 18 Nov 2008 01:12:29 +0000 http://tleaves.com/?p=1172#comment-5190 Welcome back! Welcome back!

]]>