{"id":1749,"date":"2009-11-16T12:57:20","date_gmt":"2009-11-16T02:57:20","guid":{"rendered":"http:\/\/www.flamingspork.com\/blog\/?p=1749"},"modified":"2009-11-16T12:57:20","modified_gmt":"2009-11-16T02:57:20","slug":"bazaar-importmbox-plugin","status":"publish","type":"post","link":"https:\/\/www.flamingspork.com\/blog\/2009\/11\/16\/bazaar-importmbox-plugin\/","title":{"rendered":"Bazaar importmbox plugin"},"content":{"rendered":"<p>Releasing and announcing software is win! I&#8217;ve had this bumming around for a bit, and for me (and I think others hacking on MySQL) it&#8217;s been rather useful. Simple plugin that takes each email in an mbox, applies the patch and commits it with the correct author to a bzr repo. Very useful if you use quilt and bzr together (&#8220;quilt mail &#8211;mbox&#8221; and then &#8220;bzr importmbox&#8221;).<\/p>\n<p>I finally published it up at:<\/p>\n<p><a href=\"http:\/\/launchpad.net\/bzr-importmbox\">http:\/\/launchpad.net\/bzr-importmbox<\/a><\/p>\n<p>enjoy.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Releasing and announcing software is win! I&#8217;ve had this bumming around for a bit, and for me (and I think others hacking on MySQL) it&#8217;s been rather useful. Simple plugin that takes each email in an mbox, applies the patch &hellip; <a href=\"https:\/\/www.flamingspork.com\/blog\/2009\/11\/16\/bazaar-importmbox-plugin\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[75,14],"tags":[100,195,194,628,196,128],"class_list":["post-1749","post","type-post","status-publish","format-standard","hentry","category-drizzle-work-et-al","category-mysql","tag-bzr","tag-importmbox","tag-mbox","tag-mysql","tag-plugin","tag-quilt"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5a6n8-sd","jetpack-related-posts":[{"id":1016,"url":"https:\/\/www.flamingspork.com\/blog\/2008\/02\/22\/bzr-loom-a-bzr-plugin-with-quilt-like-functionality\/","url_meta":{"origin":1749,"position":0},"title":"bzr-loom &#8211; a bzr plugin with quilt like functionality","author":"Stewart Smith","date":"2008-02-22","format":false,"excerpt":"A bzr plugin to assist in developing focused patches. in Launchpad I use quilt a lot for development. Currently, If I had to choose between BK and quilt - I'd choose quilt. I use bzr in other development projects like MemberDB. I use git as a frontend for SVN (it\u2026","rel":"","context":"In &quot;MemberDB&quot;","block_context":{"text":"MemberDB","link":"https:\/\/www.flamingspork.com\/blog\/category\/memberdb\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3043,"url":"https:\/\/www.flamingspork.com\/blog\/2012\/06\/28\/hacking-the-jenkins-bzr-plugin\/","url_meta":{"origin":1749,"position":1},"title":"Hacking the Jenkins BZR plugin","author":"Stewart Smith","date":"2012-06-28","format":false,"excerpt":"For Drizzle and for all of the projects we work on at Percona we use the Bazaar revision control system (largely because it's what we were using at MySQL and it's what MySQL still uses). We also use Jenkins. We have a lot of jobs in our Jenkins. A lot.\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1919,"url":"https:\/\/www.flamingspork.com\/blog\/2010\/05\/20\/exporting-a-set-of-bzr-revisions-as-a-quilt-series\/","url_meta":{"origin":1749,"position":2},"title":"Exporting a set of bzr revisions as a quilt series","author":"Stewart Smith","date":"2010-05-20","format":false,"excerpt":"There has to be a better way than this... but it does work (at least for revisions 11 through 141): for rev in `seq 11 141`; do if [ -z \"`bzr diff -r\\`expr $rev - 1\\`..$rev|diffstat -p0 -l|grep ^tests`\" ]; then (bzr log -r$rev --forward --log-format=long | sed -e 's\/^\u2026","rel":"","context":"In &quot;General&quot;","block_context":{"text":"General","link":"https:\/\/www.flamingspork.com\/blog\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3413,"url":"https:\/\/www.flamingspork.com\/blog\/2013\/09\/24\/disk-usage-bzr-vs-git\/","url_meta":{"origin":1749,"position":3},"title":"Disk usage: bzr vs git","author":"Stewart Smith","date":"2013-09-24","format":false,"excerpt":"For MySQL 5.1, 5.5 and 5.6 in the same repository, after repacking: bzr: 269MB (217MB pack, 52MB indicies) git: 177MB repo (152MB pack) One thing I'll say is that BZR is always more chatty over the network and is substantially slower than GIT in pulling a fresh copy.","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3655,"url":"https:\/\/www.flamingspork.com\/blog\/2014\/01\/14\/converting-mysql-trees-to-git\/","url_meta":{"origin":1749,"position":4},"title":"Converting MySQL trees to git","author":"Stewart Smith","date":"2014-01-14","format":false,"excerpt":"I have put up a set of scripts on github: https:\/\/github.com\/stewartsmith\/bzr-to-git-conversion-scripts. Why do I need these? Well... if only bzr fast-export|git fast-import worked flawlessly for large, complex and old trees. It doesn't. Basically, when you clone this repo you can run \".\/sync-BLAH.sh\" and it'll pull BZR trees for the project,\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3149,"url":"https:\/\/www.flamingspork.com\/blog\/2012\/08\/27\/new-jenkins-bazaar-plugin-release\/","url_meta":{"origin":1749,"position":5},"title":"New Jenkins Bazaar plugin release","author":"Stewart Smith","date":"2012-08-27","format":false,"excerpt":"I've just uploaded version 1.20 of the Bazaar plugin for Jenkins. This release is based on feedback from users and our experiences at Percona. Do a lightweight checkout instead of a heavyweight checkout (if \"Checkout\" is enabled) Fix bug: lightweight checkout \"update\" would always fail as bzr update didn't accept\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/1749","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/comments?post=1749"}],"version-history":[{"count":2,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/1749\/revisions"}],"predecessor-version":[{"id":1751,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/1749\/revisions\/1751"}],"wp:attachment":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/media?parent=1749"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/categories?post=1749"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/tags?post=1749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}