<?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>beer planet &#187; mass</title> <atom:link href="http://beerpla.net/tag/mass/feed/" rel="self" type="application/rss+xml" /><link>http://beerpla.net</link> <description>where things have nothing to do with beer - tutorials, tips, how-tos, thoughts, hacks, and other techy nonsense</description> <lastBuildDate>Thu, 17 May 2012 22:50:53 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <atom:link rel='hub' href='http://beerpla.net/?pushpress=hub'/> <item><title>How To SVN Update All Your WordPress Plugins In One Go</title><link>http://beerpla.net/2008/06/16/how-to-svn-update-all-your-wordpress-plugins-in-one-go/</link> <comments>http://beerpla.net/2008/06/16/how-to-svn-update-all-your-wordpress-plugins-in-one-go/#comments</comments> <pubDate>Mon, 16 Jun 2008 08:34:37 +0000</pubDate> <dc:creator>Artem Russakovskii</dc:creator> <category><![CDATA[Beer Planet]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[all]]></category> <category><![CDATA[mass]]></category> <category><![CDATA[plugin]]></category> <category><![CDATA[SVN]]></category> <category><![CDATA[update]]></category> <guid
isPermaLink="false">http://beerpla.net/2008/06/16/how-to-svn-update-all-your-wordpress-plugins-in-one-go/</guid> <description><![CDATA[<p>If you&#039;re like me, most of your WordPress plugins are checked out into your plugins directory from <a
href="http://svn.wp-plugins.org">the official WordPress SVN repository</a> or some other one. I haven&#039;t updated any of mine for about a month and wanted to sync up everything quickly (including SVN externals). Here&#039;s a short command I ran to achieve that:</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
</pre></td><td
class="code"><pre>cd YOUR_BLOG_ROOT/wp-content/plugins;
find . -maxdepth 1 -type d -exec svn up {} \;</pre></td></tr></table></div><p>What this command does is finds the top level directories in your WordPress plugins directory, then applies the &#34;svn update&#34; command to each, one by one.</p><p>The result is something like</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
</pre></td></tr></table>...<div
class=clear></div> <a
href="http://beerpla.net/2008/06/16/how-to-svn-update-all-your-wordpress-plugins-in-one-go/" class="read_more"><div
class=excerpt-end>Read the rest of this article &#187;</div></a></div>]]></description> <content:encoded><![CDATA[<p>If you&#039;re like me, most of your WordPress plugins are checked out into your plugins directory from <a
href="http://svn.wp-plugins.org">the official WordPress SVN repository</a> or some other one. I haven&#039;t updated any of mine for about a month and wanted to sync up everything quickly (including SVN externals). Here&#039;s a short command I ran to achieve that:</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
</pre></td><td
class="code"><pre>cd YOUR_BLOG_ROOT/wp-content/plugins;
find . -maxdepth 1 -type d -exec svn up {} \;</pre></td></tr></table></div><p>What this command does is finds the top level directories in your WordPress plugins directory, then applies the &quot;svn update&quot; command to each, one by one.</p><p>The result is something like</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
</pre></td><td
class="code"><pre>Fetching external item into 'akismet'
A    akismet/readme.txt
Updated external to revision 50666.
&nbsp;
Updated to revision 8094.
At revision 8094.
U    share-this/sharethis.php
Updated to revision 50666.
D    wp-postratings/postratings-admin-js.php
D    wp-postratings/postratings-usage.php
D    wp-postratings/postratings-js.php
A    wp-postratings/postratings-js-packed.js
U    wp-postratings/wp-postratings.php
A    wp-postratings/postratings-admin-js.js
U    wp-postratings/postratings-css.css
U    wp-postratings/postratings-options.php
A    wp-postratings/postratings-templates.php
U    wp-postratings/postratings-stats.php
U    wp-postratings/readme.html
A    wp-postratings/postratings-js.js
U    wp-postratings/wp-postratings.pot
U    wp-postratings/wp-postratings-widget.php
U    wp-postratings/postratings-uninstall.php
U    wp-postratings/postratings-admin-ajax.php
U    wp-postratings/wp-postratings.mo
U    wp-postratings/readme.txt
U    wp-postratings/postratings-manager.php
A    wp-postratings/postratings-admin-js-packed.js
Updated to revision 50666.
At revision 8094.
...</pre></td></tr></table></div><p>With such mass updating, of course, an incompatibility in one of the updates can break the whole blog. In my case, it happened to be the latest version of wp-sticky. I identified it by disabling wp-super-cache first, then disabling each updated plugin one by one. Once identified, I did the following:</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
2
</pre></td><td
class="code"><pre>cd wp-sticky
svn log | head</pre></td></tr></table></div><p>That showed me the latest commits by the author as well as the SVN revision numbers. I then used this information to revert one revision back by doing:</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
</pre></td><td
class="code"><pre>svn up -r 50489</pre></td></tr></table></div><p>The following command showed a diff of what exactly changed in that revision and broke everything:</p><div
class="wp_syntax"><table><tr><td
class="line_numbers"><pre>1
</pre></td><td
class="code"><pre>svn diff -r50489:50490</pre></td></tr></table></div><p>Once everything was stable, I emailed the plugin author to tell him about the bug (heya, Lester). Be careful not to run &#039;svn up&#039; on this directory again until the bug is fixed as it&#039;ll persistently update to the latest version.</p><div
class="shr-bookmarks shr-bookmarks-expand"><ul
class="socials"><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+SVN+Update+All+Your+Wordpress+Plugins+In+One+Go&amp;link=http://beerpla.net/2008/06/16/how-to-svn-update-all-your-wordpress-plugins-in-one-go/&amp;notes=If%20you%27re%20like%20me%2C%20most%20of%20your%20Wordpress%20plugins%20are%20checked%20out%20into%20your%20plugins%20directory%20from%20the%20official%20Wordpress%20SVN%20repository%20or%20some%20other%20one.%20I%20haven%27t%20updated%20any%20of%20mine%20for%20about%20a%20month%20and%20wanted%20to%20sync%20up%20everything%20quickly%20%28including%20SVN%20externals%29.%20Here%27s%20a%20short%20command%20I%20ran&amp;short_link=http://bit.ly/bj9fqO&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%24%7Btitle%7D+-+%24%7Bshort_link%7D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+SVN+Update+All+Your+Wordpress+Plugins+In+One+Go&amp;link=http://beerpla.net/2008/06/16/how-to-svn-update-all-your-wordpress-plugins-in-one-go/&amp;notes=If%20you%27re%20like%20me%2C%20most%20of%20your%20Wordpress%20plugins%20are%20checked%20out%20into%20your%20plugins%20directory%20from%20the%20official%20Wordpress%20SVN%20repository%20or%20some%20other%20one.%20I%20haven%27t%20updated%20any%20of%20mine%20for%20about%20a%20month%20and%20wanted%20to%20sync%20up%20everything%20quickly%20%28including%20SVN%20externals%29.%20Here%27s%20a%20short%20command%20I%20ran&amp;short_link=http://bit.ly/bj9fqO&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-googlebuzz"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+SVN+Update+All+Your+Wordpress+Plugins+In+One+Go&amp;link=http://beerpla.net/2008/06/16/how-to-svn-update-all-your-wordpress-plugins-in-one-go/&amp;notes=If%20you%27re%20like%20me%2C%20most%20of%20your%20Wordpress%20plugins%20are%20checked%20out%20into%20your%20plugins%20directory%20from%20the%20official%20Wordpress%20SVN%20repository%20or%20some%20other%20one.%20I%20haven%27t%20updated%20any%20of%20mine%20for%20about%20a%20month%20and%20wanted%20to%20sync%20up%20everything%20quickly%20%28including%20SVN%20externals%29.%20Here%27s%20a%20short%20command%20I%20ran&amp;short_link=http://bit.ly/bj9fqO&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a></li><li
class="shr-reddit"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+SVN+Update+All+Your+Wordpress+Plugins+In+One+Go&amp;link=http://beerpla.net/2008/06/16/how-to-svn-update-all-your-wordpress-plugins-in-one-go/&amp;notes=If%20you%27re%20like%20me%2C%20most%20of%20your%20Wordpress%20plugins%20are%20checked%20out%20into%20your%20plugins%20directory%20from%20the%20official%20Wordpress%20SVN%20repository%20or%20some%20other%20one.%20I%20haven%27t%20updated%20any%20of%20mine%20for%20about%20a%20month%20and%20wanted%20to%20sync%20up%20everything%20quickly%20%28including%20SVN%20externals%29.%20Here%27s%20a%20short%20command%20I%20ran&amp;short_link=http://bit.ly/bj9fqO&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a></li><li
class="shr-hackernews"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+SVN+Update+All+Your+Wordpress+Plugins+In+One+Go&amp;link=http://beerpla.net/2008/06/16/how-to-svn-update-all-your-wordpress-plugins-in-one-go/&amp;notes=If%20you%27re%20like%20me%2C%20most%20of%20your%20Wordpress%20plugins%20are%20checked%20out%20into%20your%20plugins%20directory%20from%20the%20official%20Wordpress%20SVN%20repository%20or%20some%20other%20one.%20I%20haven%27t%20updated%20any%20of%20mine%20for%20about%20a%20month%20and%20wanted%20to%20sync%20up%20everything%20quickly%20%28including%20SVN%20externals%29.%20Here%27s%20a%20short%20command%20I%20ran&amp;short_link=http://bit.ly/bj9fqO&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=202&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a></li><li
class="shr-delicious"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+SVN+Update+All+Your+Wordpress+Plugins+In+One+Go&amp;link=http://beerpla.net/2008/06/16/how-to-svn-update-all-your-wordpress-plugins-in-one-go/&amp;notes=If%20you%27re%20like%20me%2C%20most%20of%20your%20Wordpress%20plugins%20are%20checked%20out%20into%20your%20plugins%20directory%20from%20the%20official%20Wordpress%20SVN%20repository%20or%20some%20other%20one.%20I%20haven%27t%20updated%20any%20of%20mine%20for%20about%20a%20month%20and%20wanted%20to%20sync%20up%20everything%20quickly%20%28including%20SVN%20externals%29.%20Here%27s%20a%20short%20command%20I%20ran&amp;short_link=http://bit.ly/bj9fqO&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a></li><li
class="shr-stumbleupon"> <a
href="http://www.shareaholic.com/api/share/?title=How+To+SVN+Update+All+Your+Wordpress+Plugins+In+One+Go&amp;link=http://beerpla.net/2008/06/16/how-to-svn-update-all-your-wordpress-plugins-in-one-go/&amp;notes=If%20you%27re%20like%20me%2C%20most%20of%20your%20Wordpress%20plugins%20are%20checked%20out%20into%20your%20plugins%20directory%20from%20the%20official%20Wordpress%20SVN%20repository%20or%20some%20other%20one.%20I%20haven%27t%20updated%20any%20of%20mine%20for%20about%20a%20month%20and%20wanted%20to%20sync%20up%20everything%20quickly%20%28including%20SVN%20externals%29.%20Here%27s%20a%20short%20command%20I%20ran&amp;short_link=http://bit.ly/bj9fqO&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=How%20To%20SVN%20Update%20All%20Your%20Wordpress%20Plugins%20In%20One%20Go&amp;link=http://beerpla.net/2008/06/16/how-to-svn-update-all-your-wordpress-plugins-in-one-go/&amp;notes=If%20you%27re%20like%20me%2C%20most%20of%20your%20Wordpress%20plugins%20are%20checked%20out%20into%20your%20plugins%20directory%20from%20the%20official%20Wordpress%20SVN%20repository%20or%20some%20other%20one.%20I%20haven%27t%20updated%20any%20of%20mine%20for%20about%20a%20month%20and%20wanted%20to%20sync%20up%20everything%20quickly%20%28including%20SVN%20externals%29.%20Here%27s%20a%20short%20command%20I%20ran&amp;short_link=http://bit.ly/bj9fqO&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li></ul><div
style="clear: both;"></div></div> Similar Posts:<ul><li><a
href="http://beerpla.net/2009/06/20/how-to-properly-set-svn-svnexternals-property-in-svn-command-line/" rel="bookmark" title="June 20, 2009">How To Properly Set SVN svn:externals Property In SVN Command Line</a></li><li><a
href="http://beerpla.net/2010/02/20/how-to-view-a-specific-svn-revision-in-your-browser/" rel="bookmark" title="February 20, 2010">How To View A Specific SVN Revision In Your Browser</a></li><li><a
href="http://beerpla.net/2008/07/23/how-to-check-if-the-local-svn-revision-is-up-to-date/" rel="bookmark" title="July 23, 2008">How To Check If The Local SVN Revision Is Up-To-Date</a></li><li><a
href="http://beerpla.net/2011/11/16/how-to-disableblock-external-http-requests-in-wordpress/" rel="bookmark" title="November 16, 2011">How To: Disable/Block External HTTP Requests In WordPress</a></li><li><a
href="http://beerpla.net/2010/03/06/how-to-show-hiddeninvisible-files-in-total-commander-both-locally-and-on-an-ftp-server/" rel="bookmark" title="March 6, 2010">How To Show Hidden/Invisible Files In Total Commander, Both Locally And On An FTP Server</a></li></ul><p><a
class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fbeerpla.net%2F2008%2F06%2F16%2Fhow-to-svn-update-all-your-wordpress-plugins-in-one-go%2F&amp;title=How%20To%20SVN%20Update%20All%20Your%20WordPress%20Plugins%20In%20One%20Go" id="wpa2a_2"><img
src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded> <wfw:commentRss>http://beerpla.net/2008/06/16/how-to-svn-update-all-your-wordpress-plugins-in-one-go/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> </channel> </rss>
