<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>:: TechBlog :: &#187; upgrade</title>
	<atom:link href="http://techblog.touchbasic.com/html/tag/upgrade/feed/" rel="self" type="application/rss+xml" />
	<link>http://techblog.touchbasic.com/html</link>
	<description>Techblog is collection of articles covering a wide variety of tech related topics including: Linux, Microsoft, Google, web development, web design, open source, wordpress, security, and more.</description>
	<lastBuildDate>Fri, 06 May 2011 00:58:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Using Subversion with WordPress &#8211; Part 2: Maintaining Vendor Branches and Upgrading WP Core Files</title>
		<link>http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-2-maintaining-vendor-branches-and-upgrading-wp-core-files/</link>
		<comments>http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-2-maintaining-vendor-branches-and-upgrading-wp-core-files/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 23:01:11 +0000</pubDate>
		<dc:creator>elran</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Everything]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[merging]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[vendor branches]]></category>
		<category><![CDATA[vendor drop]]></category>

		<guid isPermaLink="false">http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-2-maintaining-vendor-branches-and-upgrading-wp-core-files/</guid>
		<description><![CDATA[This article assumes you have already read, &#8220;Using Subversion with WordPress &#8211; Part 1: Creating Vendor Branches and Integrating your Existing Code&#8220;. In short, you want to use Subversion to track/maintain local versions of both WordPress code and your own internal project code, side-by-side, all in the same svn repository. In the previously mentioned article [...]]]></description>
			<content:encoded><![CDATA[<p><em>This article assumes you have already read, &#8220;<a href="http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-1-creating-vendor-branches-and-integrating-your-existing-code/">Using Subversion with WordPress &#8211; Part 1: Creating Vendor Branches and Integrating your Existing Code</a>&#8220;. In short, you want to use Subversion to track/maintain local versions of both WordPress code and your own internal project code, side-by-side, all in the same svn repository.</em></p>
<p>In the previously mentioned article we used WordPress version 2.3.1 as our initial vendor drop. The following procedure illustrates how to use <em>svn merge</em> to quickly upgrade WordPress core files from version 2.3.1 to version 2.3.2 &#8211; without losing your local changes &#8211; but could be used as a general outline for upgrading any version of WordPress provided you followed the steps discussed in Part 1. Note: Backup your files and database before attempting any of this. Also, although not strictly required, the following steps assume you have some kind of shell access (like ssh) and a command line subversion client (like svn).</p>
<p><strong><em>Maintaining Vendor Branches -</em></strong><br />
To perform this upgrade, we check out a copy of our current vendor branch (which contains our WP 2.3.1 source code), and replace that code with the new WP 2.3.2 source code. So, we simply copy the new files on top of existing files and directories. The goal here is to make our current directory contain only the new WP 2.3.2 code, and to ensure that all that code is under version control. I use the <em>svn export</em> command to grab the WP 2.3.2 source code &#8211; but downloading and extracting the WP files manually works just as well.</p>
<p><span id="more-193"></span></p>
<p>1. Prepare Current and New Code<br />
<code><br />
$ mkdir upgrade<br />
$ cd upgrade<br />
$ svn co http://svn.yourdomain.com/vendor/wordpress/current/<br />
$ svn export http://svn.automattic.com/wordpress/tags/2.3.2/<br />
â€¦<br />
</code></p>
<p>2. Copy, Resolve Conflicts, and Commit Changes<br />
<code><br />
$ cd current [optionally, delete all files but NOT folders / dont delete .svn folders]<br />
$ cp -a ../2.3.2/* .<br />
$ svn status<br />
$ svn ci -m "commiting WP 2.3.2 vendor drop to current branch"<br />
$ cd ../../<br />
$ rm -rf upgrade<br />
â€¦<br />
</code></p>
<p>3. Tag the New Version<br />
Our current branch now contains the new vendor drop. We tag the new version (in the same way we previously tagged the version 2.3.1 vendor drop &#8211; in <a href="http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-1-creating-vendor-branches-and-integrating-your-existing-code/">Part 1</a>)<br />
<code><br />
$ svn copy http://svn.yourdomain.com/vendor/wordpress/current  \<br />
           http://svn.yourdomain.com/vendor/wordpress/2.3.2      \<br />
           -m "tagging WordPress 2.3.2"<br />
â€¦<br />
</code></p>
<p>4. Merge the Differences and Commit Changes<br />
Checkout a copy of your current project (from <a href="http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-1-creating-vendor-branches-and-integrating-your-existing-code/">Part 1</a> &#8211; we used the folder: &#8220;newproject&#8221;). Merge the differences between the tag of the previous version (WP 2.3.1) and the new current version into our main development branch. Type <em>svn status</em> to see what files were modified and resolve any conflicts. Run <em>svn add</em> and <em>svn delete</em> commands where appropriate. Commit the changes and our local version of WP will now been completely upgraded without over-writing or deleting any existing modifications we may have previously made.<br />
<code><br />
$ mkdir newproject<br />
$ cd newproject<br />
$ svn co http://svn.yourdomain.com/branches/newproject .<br />
$ svn merge http://svn.yourdomain.com/vendor/wordpress/2.3.1      \<br />
            http://svn.yourdomain.com/vendor/wordpress/current  .<br />
$ svn status<br />
$ svn ci -m 'merging WordPress 2.3.2 into the main branch'<br />
â€¦<br />
</code></p>
<p>That&#8217;s all there is to it! </p>
<p>And, best of all, every change made to your internal project code  &#8211; including those made to WP core files &#8211; is now documented and tracked from within your own local version control system.</p>
<p>Note: Don&#8217;t forget to visit http://www.yourdomain.com/wp-admin/upgrade.php in your web browser once you&#8217;ve completed all of these steps to make sure any database upgrades get applied as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-2-maintaining-vendor-branches-and-upgrading-wp-core-files/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Using Subversion with WordPress &#8211; Part 1: Creating Vendor Branches and Integrating your Existing Code</title>
		<link>http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-1-creating-vendor-branches-and-integrating-your-existing-code/</link>
		<comments>http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-1-creating-vendor-branches-and-integrating-your-existing-code/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 01:03:57 +0000</pubDate>
		<dc:creator>elran</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Everything]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[merging]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[vendor branches]]></category>
		<category><![CDATA[vendor drop]]></category>

		<guid isPermaLink="false">http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-1-creating-vendor-branches-and-integrating-your-existing-code/</guid>
		<description><![CDATA[This article assumes that you&#8217;ve read the basic svn howto and the more specific one provided on the WP Codex but would like to try or need a setup similar to that described here on a page called: Vendor branches. In short, you want to use Subversion to track/maintain local versions of both WordPress code [...]]]></description>
			<content:encoded><![CDATA[<p>This article assumes that you&#8217;ve read the <a href="http://codex.wordpress.org/Using_Subversion">basic svn howto</a> and the <a href="http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion">more specific one</a> provided on the WP Codex but would like to try or need a setup similar to that described <a href="http://svnbook.red-bean.com/en/1.4/svn.advanced.vendorbr.html">here</a> on a page called: Vendor branches. In short, you want to use Subversion to track/maintain local versions of both WordPress code and your own internal project code, side-by-side, all in the same svn repository.</p>
<p><strong>Scenario:</strong><br />
Let&#8217;s say you have an in-house web developement project that is built upon or otherwise dependent on the WordPress core files. This can be for something as simple as creating/customizing your own WP themes and plugins, or as complex as maintaining your own modified versions of WP core files, with additional components/modules, etc. The important thing is that you imagine a scenario where you are already using Subversion to commit changes/updates to this internal project of yours. However, a problem occurs whenever a new version of WordPress is released. You need to upgrade the WP core files whithout losing any of the custom modifications you&#8217;ve been making up until now. Ideally, you would like to apply (to your internal project) only the changes made to the upgraded WP core files without over-writing any of your own work.</p>
<p><strong>Solution:</strong></p>
<blockquote><p>&#8220;The solution to this problem is to use vendor branches. A vendor branch is a directory tree in your own version control system that contains information provided by a third-party entity, or vendor. Each version of the vendor&#8217;s data that you decide to absorb into your project is called a vendor drop.&#8221; (<a href="http://svnbook.red-bean.com/en/1.4/svn.advanced.vendorbr.html">quote</a>)</p></blockquote>
<p>So, in this case, the third-party entity or vendor, is WordPress. What we want to do is: absorb the WP code into our own project. The rest of this article is going to illustrate the concept of &#8220;vendor drops&#8221; as they would apply to this particular scenario and using WordPress as the third-party vendor. Some of the benefits of this method are described in the article that the previously mentioned quote came from. In addition, this article goes on to describe the exact same process (but in more general terms) in a section entitled: General Vendor Branch Management Procedure. Well, here is my &#8220;Specific Vendor Branch Management Procedure&#8221; for WordPress.</p>
<p><strong><em>Vendor Branch Management &#8211; Description</em></strong></p>
<blockquote><p>&#8220;Managing vendor branches generally works like this. You create a top-level directory (such as /vendor) to hold the vendor branches. Then you import the third party code into a subdirectory of that top-level directory. You then copy that subdirectory into your main development branch (for example, /trunk) at the appropriate location. You always make your local changes in the main development branch. With each new release of the code you are tracking you bring it into the vendor branch and merge the changes into /trunk, resolving whatever conflicts occur between your local changes and the upstream changes.&#8221; (<a href="http://svnbook.red-bean.com/en/1.4/svn.advanced.vendorbr.html">quote</a>)</p></blockquote>
<p><strong><em>Our Setup -</em></strong><br />
Let&#8217;s use WordPress 2.3.1 as an example. A newer version of WP (2.3.2) was just released and we&#8217;ll be using that version in a follow-up article to show how you can maintain this setup across multiple WP version upgrades without losing your local changes. However, for right now, we&#8217;ll assume that this is your first vendor drop and that your current project is already using Subversion and is also built against WP 2.3.1. In theory, you could use this same procedure with any version of WP &#8211; just make sure to start with an initial vendor drop that is the exact same version of WP as the one your project is currently using. Remember, we are not upgrading WP yet. We are just importing the WP code into our existing subversion-based system, side-by-side with our internal project. Note: Backup your files and database before attempting any of this. Also, although not strictly required, the following steps assume you have some kind of shell access (like ssh) and a command line subversion client (like svn).</p>
<p><span id="more-192"></span></p>
<p><strong><em>Creating Vendor Branches -</em></strong></p>
<p>1. Download Vendor Source Code<br />
<code><br />
$ mkdir workspace<br />
$ cd workspace<br />
$ svn export http://svn.automattic.com/wordpress/tags/2.3.1/<br />
â€¦<br />
</code></p>
<p>2. Importing Initial Vendor Drop<br />
<code><br />
$ cd 2.3.1<br />
$ svn import . http://svn.yourdomain.com/vendor/wordpress/current        \<br />
             -m "importing initial WordPress vendor drop"<br />
$ cd ../<br />
$ rm -rf 2.3.1<br />
â€¦<br />
</code></p>
<p>3. Tagging Initial Vendor Drop<br />
<code><br />
$ svn copy http://svn.yourdomain.com/vendor/wordpress/current        \<br />
           http://svn.yourdomain.com/vendor/wordpress/2.3.1        \<br />
           -m "tagging WordPress 2.3.1"<br />
â€¦<br />
</code></p>
<p>4. Copying Vendor Drop into a New Branch<br />
<code><br />
$ svn copy http://svn.yourdomain.com/vendor/wordpress/2.3.1        \<br />
           http://svn.yourdomain.com/branches/newproject        \<br />
           -m "bringing WordPress 2.3.1 into the new branch"<br />
â€¦<br />
</code></p>
<p>5. Check Out and Add Customizations<br />
We check out our project&#8217;s new branch &#8211; which now includes a copy of our first WP vendor drop &#8211; and we begin customizing or re-applying any changes to the code. Unless you&#8217;re starting from scratch, this probably just involves copying over any files and folders that were previously a part of your internal project code. Since we made sure to import the exact same version of WP that was used in our in-house development (this is not an upgrade) &#8211; there should be no conflicts and fewer surprises.<br />
<code><br />
$ mkdir newproject<br />
$ cd newproject<br />
$ svn co http://svn.yourdomain.com/branches/newproject .<br />
$ cp -a /path/to/your/oldproject/* .<br />
â€¦<br />
</code></p>
<p>6. Resolve conflicts and Commit Changes<br />
Type <em>svn status</em> to see what files were modified and resolve any conflicts. Run <em>svn add</em> and <em>svn delete</em> commands where appropriate. Commit the changes and our modified version of WP is now completely integrated into our in-house project.<br />
<code><br />
$ svn ci -m "commiting changes into the new branch"<br />
$ cd ../<br />
$ rm -rf newproject<br />
â€¦<br />
</code></p>
<p>That&#8217;s It! You&#8217;re Done.</p>
<p>At this point you might be thinking to yourself: &#8220;Well, that&#8217;s not exactly a time saver.. now is it?&#8221; And, you&#8217;d be right! But we won&#8217;t stop there! With WordPress integrated into our in-house versioning system &#8211; we can now use <em>svn merge</em> to quickly perform WP upgrades on our internal project code without risk of ever deleting or over-writing our own work.</p>
<p>And, best of all, every change made to your internal project code &#8211; including those made to WP core files &#8211; will now be documented and tracked from within your own local version control system.</p>
<p><strong><em>[ Be sure to check back for the follow-up article entitled: "<a href="http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-2-maintaining-vendor-branches-and-upgrading-wp-core-files/">Using Subversion with WordPress - Part 2: Maintaining Vendor Branches and Upgrading WP Core Files</a>" ]</em></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.touchbasic.com/html/using-subversion-with-wordpress-part-1-creating-vendor-branches-and-integrating-your-existing-code/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Site Upgraded &#8211; A little facelift is all</title>
		<link>http://techblog.touchbasic.com/html/site-upgraded-a-little-facelift-is-all/</link>
		<comments>http://techblog.touchbasic.com/html/site-upgraded-a-little-facelift-is-all/#comments</comments>
		<pubDate>Sat, 29 Dec 2007 07:52:25 +0000</pubDate>
		<dc:creator>elran</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[Site News]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[customization]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[tagging]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wordpress template]]></category>

		<guid isPermaLink="false">http://techblog.touchbasic.com/html/site-upgraded-a-little-facelift-is-all/</guid>
		<description><![CDATA[- Finally got around to upgrading from WP 2.0.11 to WP 2.3.1 - This site was in maintenance mode for a good part of the evening due to an incompatibility with WP 2.3.1 and the previous theme used here on Techblog. I spent some time trying to work out the problems but the breakage was [...]]]></description>
			<content:encoded><![CDATA[<p><strong>- Finally got around to upgrading from WP 2.0.11 to WP 2.3.1 -</strong></p>
<p>This site was in maintenance mode for a good part of the evening due to an incompatibility with WP 2.3.1 and the previous theme used here on Techblog. I spent some time trying to work out the problems but the breakage was pretty severe so i figured it was time to either design something new from scratch, or just grab one of the many readily available WP themes and use that for a while. I decided to go for the latter choice.. i might still spend some time adding more customizations, but for now i needed something that worked well and looked clean.</p>
<p>Anyway, after trying out a bunch of themes from the WP <a href="http://wordpress.org/extend/themes/">Theme Viewer</a> and playing around with the WP <a href="http://www.yvoschaap.com/wpthemegen/">Theme Generator</a>, i was able to narrow my choices down to about 5 themes and finally went with the <a href="http://www.plaintxt.org/themes/blogtxt/" title="blog.txt theme for WordPress">blog.txt</a> theme by <a href="http://scottwallick.com/" title="scottwallick.com">Scott</a>.</p>
<p>I&#8217;ve already made some SEO related modifications to the header.php template file. Also, i had to upgrade my tags structure &#8211; twice! Once from some really old wordpress tagging plugin that kept your tags in a key called: ttaglist, in the postmeta table. I had to use the UTW plugin to import these old tags. Then came the second upgrade. I used the new built-in tag import feature in WP 2.3.1 to convert my newly created UTW tags into the native WP tagging structure. Everything seemed to go smoothly, and i was able to get rid of all my old tagging plugins and install <a href="http://wordpress.org/extend/plugins/simple-tags/">Simple Tags</a> for advance tag management. I had to get rid of a few other really old plugins, but the site runs much faster now, and i&#8217;m sure it won&#8217;t take me too long to find a ton of new plugins to clutter up my site in no time!</p>
<p>So far, i have to say, i&#8217;m pretty happy with the upgrades. I haven&#8217;t tested everything too thoroughly yet, so more changes might still be on the horizon.. including another complete theme change. Just giving you all heads up!</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.touchbasic.com/html/site-upgraded-a-little-facelift-is-all/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Microsoft: master of confusion and uncertainty</title>
		<link>http://techblog.touchbasic.com/html/microsoft-master-of-confusion-and-uncertainty/</link>
		<comments>http://techblog.touchbasic.com/html/microsoft-master-of-confusion-and-uncertainty/#comments</comments>
		<pubDate>Sat, 06 Aug 2005 19:07:23 +0000</pubDate>
		<dc:creator>elran</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[vulnerability]]></category>
		<category><![CDATA[windows 2000]]></category>

		<guid isPermaLink="false">http://techblog.touchbasic.com/html/?p=121</guid>
		<description><![CDATA[If my computer could speak, i wonder how it would respond to being told by Microsoft that it had been deemed obsolete. Even as i type these words on a computer running Windows 2000 Pro, i know deep down, that the end is near. I&#8217;m sure that many other users are also faced with the [...]]]></description>
			<content:encoded><![CDATA[<p>If my computer could speak, i wonder how it would respond to being told by Microsoft that it had been deemed obsolete. Even as i type these words on a computer running Windows 2000 Pro, i know deep down, that the end is near. I&#8217;m sure that many other users are also faced with the same upgrade dilemma ever since <a href="http://www.eweek.com/article2/0,1895,1788804,00.asp">mainstream support for Windows 2000 client and server ended on June 30th</a> of this year. I think Microsoft may have underestimated how profound the effects of this transition would be. The reality is that many business users still have to make a decision to upgrade from Windows 2000, and XP may not be exactly what they&#8217;re looking for.</p>
<p>According to Microsoft, Windows 2000 SP4 has moved from &#8220;mainstream to extended support&#8221;. More info on the difference between these two can be found at the <a href="http://support.microsoft.com/common/international.aspx?rdpath=fh;en-us;lifecycle">Microsoft Lifecycle</a> site. What this basically means for Windows 2000 users is: no more new features, and mostly eveything other than security updates, will now cost money. While this might be alright for some people, when i think of what a mess Microsoft has made of maintaining previous versions of their OS, like Windows 98, and now the problems they&#8217;re having with the recent <a href="http://www.microsoft-watch.com/article2/0,2180,1844631,00.asp">Windows 2000 Rollup</a>.. let&#8217;s just say it doesn&#8217;t exactly inspire confidence. It does, however, make me want to install a new operating system. I&#8217;m just not sure I want another version of Windows.</p>
<p><span id="more-121"></span></p>
<p>For many users, myself included, Windows XP was never a viable alternative. It seemed too flashy and new at the time. The benefits of installing it in a production environment did not outweigh the inherent risks. I don&#8217;t think business users care if you call it &#8220;home version&#8221; or &#8220;professional&#8221;, it&#8217;s still XP, and not 2K. Don&#8217;t get me wrong; XP is still an excellent upgrade from the now defunct Windows ME operating system. It&#8217;s just that i think many business users were waiting for a Windows 2003 professional. But that day never came. Windows 2003 server was released, that solved the problem for all those running Windows 2000 server, but everyone on the Windows 2000 Pro train was forced to merge with the XP crowd. </p>
<p>I&#8217;m not quite sure what Microsoft was thinking when it decided to lump all users into one basket of eggs. Maybe they thought that by focusing on XP, for both business and home users, they could ensure a more stable and secure operating system for all. Were they simply listening to what the majority of their user base was asking for? Did they seriously think that business users and home users were looking for the same things? Only time would tell.</p>
<p>Today,  from my perspective, XP appears to be a veritable hacker magnet. The never-ending onslaught of security updates and patches, service packs, and still more patches has reduced this operating system into what i like to call: an accident waiting to happen. In fact, XP turned out to be no more secure or stable than windows 2000. I have yet to see a vulnerability that affects 2K and not XP. What i have seen, on the other hand, is the exact opposite&#8230; problems that affect XP and not 2K. I can&#8217;t help but wonder if LongVistahorn will offer any real improvements.</p>
<p>Or will it be: One step forwards, two steps back..</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.touchbasic.com/html/microsoft-master-of-confusion-and-uncertainty/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

