<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-19348266</id><updated>2012-02-17T00:57:34.883+01:00</updated><category term='bugTriage'/><category term='fedora'/><category term='faith'/><category term='lazyweb'/><category term='homosexuality'/><category term='atompub'/><category term='desertstream'/><category term='jetpack'/><category term='sociology'/><category term='culture'/><category term='computer'/><title type='text'>About Boston Miracle, computers and life</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mcepl.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mcepl.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Matěj Cepl</name><uri>http://www.blogger.com/profile/13388318701398808404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-19348266.post-7691307401174962874</id><published>2011-03-30T02:12:00.001+02:00</published><updated>2011-03-30T02:13:03.155+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='bugTriage'/><category scheme='http://www.blogger.com/atom/ns#' term='jetpack'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>So, where's bugzilla-triage-scripts FF extension for FF4, you ask?</title><content type='html'>The great &lt;a href="http://www.firefox.com/"&gt;Firfeox 4&lt;/a&gt; is &lt;a href="http://glow.mozilla.org/"&gt;out&lt;/a&gt;, and the official version of &lt;a href="https://fedorahosted.org/bugzilla-triage-scripts/"&gt;bugzilla-triage-scripts&lt;/a&gt; is broken for you? I am sorry. I have a workaround for you, and working on the final solution of the problem.&lt;br /&gt;
&lt;br /&gt;
Let me explain what’s going on in the back office:&lt;br /&gt;
&lt;pre&gt;bradford:bugzilla-triage (next) $ git diff --shortstat maint
&amp;nbsp;58 files changed, 8284 insertions(+), 3375 deletions(-)
bradford:bugzilla-triage (next) $ &lt;/pre&gt;I have rewritten most of the code (almost no line went unseen). The main change is that we are now using the official (not available when i wrote the first version of the script) &lt;a href="https://jetpack.mozillalabs.com/sdk/1.0b4/docs/packages/addon-kit/docs/page-mod.html"&gt;page-mod&lt;/a&gt; module. This required a lot of work,&amp;nbsp; because page-mod provides isolated content-scripts which cannot get directly to the main script (which has chrome-level privileges), but they can only communicate in a very restricted manner with the main script via messages. On the other hand set of content -scripts share the same namespace, so inside of the scripts the situation is much more simple.&lt;br /&gt;
Aside from using the official environment instead of my own hack (which I used before), the main advantage is that the chrome-privileged part of the script is isolated from code of web pages (and in the future it will be working even with Electrolysis), that it should be possible to create unit tests for testing the script (which would be awesome, my constant manual going to one particular and hoping that's good enough testing is ridiculous; I have tried it and it worked with much more simple &lt;a href="https://gitorious.org/addon-sdk/mass-close-duplicates"&gt;script for mass-closing of multiple duplicates at once&lt;/a&gt;). While going through whole code, of course massive amount of small bugs and typos was unearthed and fixed.&lt;br /&gt;
I was working so that I should be ready to release FF4 compatible version of my script in the same moment FF4 would be released. However, then something happened … Ehsan Akhgari &lt;a href="http://ehsanakhgari.org/blog/2011-02-22/bugzilla-tweaks-getting-some-attention-again"&gt;continued to work&lt;/a&gt; on his (mostly b.m.o targetting) scripts, and this time I have managed to get into contact with him, and started to work on including his modules into mine.&lt;br /&gt;
So, in the end I cannot release 1.0 version of my scripts yet (which I hoped to do), because they don't have enough testing and they don’t most of the stuff i would like this release to have. However, given that my original scripts (of FF3.* era) are now completely broken on FF4, I have decided what I have (without the Ehsan’s code), and so I have no three official versions of my script:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;a href="https://fedorahosted.org/released/bugzilla-triage-scripts/bugzilla-triage-latest-FF3.xpi"&gt;The version of the script&lt;/a&gt; (numbered 0.27) working with Firefox 3.6.*. It is strictly maintenance only, bug reports are welcomed and they will be hopefully fixed fast, but no improvements or RFEs will be accepted.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://fedorahosted.org/released/bugzilla-triage-scripts/bugzilla-triage-latest.xpi"&gt;The version of the script&lt;/a&gt; (numbered 0.92) which I originally thought to be 1.0. This is the script I used for couple of weeks with just small bug fixes, so I hope that it should be useful for general public. Of course, &lt;a href="https://fedorahosted.org/bugzilla-triage-scripts/newtplticket"&gt;bug reports&lt;/a&gt; are very very welcome (Fedora login &amp;amp; password are required).&lt;/li&gt;
&lt;li&gt;&lt;a href="https://fedorahosted.org/released/bugzilla-triage-scripts/bugzilla-triage.xpi"&gt;The last version of the script&lt;/a&gt; (currently 0.93, but expect updates). This version contains Ehsan’s scripts but with small fixes to make it work on Red Hat’s bugzilla.&lt;/li&gt;
&lt;/ol&gt;So, what can you expect to coming? For example this (it should be in future configurable, so only those who are interested, will use it)&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-06E4Umh1DJI/TZJzojD-dSI/AAAAAAAAAwA/vLHZuZiwgbk/s1600/flag-hisotry.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="388" src="http://3.bp.blogspot.com/-06E4Umh1DJI/TZJzojD-dSI/AAAAAAAAAwA/vLHZuZiwgbk/s640/flag-hisotry.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;In the end I would need to introduce all functionality contained in &lt;a href="http://ehsanakhgari.org/blog/2010-01-07/bugzilla-tweaks-enhanced"&gt;Ehsan’s original scripts&lt;/a&gt; (also described &lt;a href="http://ehsanakhgari.org/blog/2011-02-22/bugzilla-tweaks-getting-some-attention-again"&gt;here&lt;/a&gt;).&lt;br /&gt;
Updates are not working currently (if anybody is able to troubleshoot, any ideas are welcome), but go and install and use the script.&lt;br /&gt;
&lt;ol&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19348266-7691307401174962874?l=mcepl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mcepl.blogspot.com/feeds/7691307401174962874/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mcepl.blogspot.com/2011/03/so-wheres-bugzilla-triage-scripts-ff.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/7691307401174962874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/7691307401174962874'/><link rel='alternate' type='text/html' href='http://mcepl.blogspot.com/2011/03/so-wheres-bugzilla-triage-scripts-ff.html' title='So, where&apos;s bugzilla-triage-scripts FF extension for FF4, you ask?'/><author><name>Matěj Cepl</name><uri>http://www.blogger.com/profile/13388318701398808404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-06E4Umh1DJI/TZJzojD-dSI/AAAAAAAAAwA/vLHZuZiwgbk/s72-c/flag-hisotry.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19348266.post-207544197339394955</id><published>2011-03-29T07:54:00.000+02:00</published><updated>2011-03-29T07:54:20.273+02:00</updated><title type='text'>Oh, really?</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-FicWNUhziTc/TZFzFKHBfqI/AAAAAAAAAv4/zB2N6X-B2sc/s1600/spreadfirefox.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://1.bp.blogspot.com/-FicWNUhziTc/TZFzFKHBfqI/AAAAAAAAAv4/zB2N6X-B2sc/s640/spreadfirefox.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;So, &lt;a href="http://www.spreadfirefox.com/"&gt;spreadfirefox.com&lt;/a&gt; which is known to be a PR tool of the Firefox community proudly offers old version of Firefox? (fortunately, these buttons lie, it really leads to firefox.com which offers the real thing). Interesting.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19348266-207544197339394955?l=mcepl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mcepl.blogspot.com/feeds/207544197339394955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mcepl.blogspot.com/2011/03/oh-really.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/207544197339394955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/207544197339394955'/><link rel='alternate' type='text/html' href='http://mcepl.blogspot.com/2011/03/oh-really.html' title='Oh, really?'/><author><name>Matěj Cepl</name><uri>http://www.blogger.com/profile/13388318701398808404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-FicWNUhziTc/TZFzFKHBfqI/AAAAAAAAAv4/zB2N6X-B2sc/s72-c/spreadfirefox.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19348266.post-2918663338870932363</id><published>2011-03-14T10:00:00.000+01:00</published><updated>2011-03-14T12:57:21.202+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Few thoughts on Gnome 3</title><content type='html'>&lt;p&gt;While reading articles like &lt;a href="http://www.jonmasters.org/blog/2011/03/13/on-switching-to-kde-xfce/"&gt;Jon’s&lt;/a&gt; or &lt;a href="http://nicubunu.blogspot.com/2011/03/breaking-news-fedora-15-beta-leaked-now.html"&gt;the Nicu’s one&lt;/a&gt; (actually, &lt;a href="http://nicubunu.blogspot.com/2011/03/f16-name-proposal-lock-up-your-daughter.html"&gt;this one&lt;/a&gt; is really funny, although IMHO wrong) I have couple of thoughts I would like to write down:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Yes, the user interface will be VERY different. Deal with it! Take &lt;a href="http://www.amazon.com/Tyranny-Status-Quo-Milton-Friedman/dp/0380698781/"&gt;this book&lt;/a&gt; (find it in the library or in a second hand bookstore) as your good night companion. If you need a professional help, Fedora won’t cover it though.&lt;/li&gt;
&lt;li&gt;Yes, given that all Gnome developers will most likely just struggle with crashes and similar lovely stuff until GA, I don’t expect much change in UI, and yes it will be probably kind of “1.0” (hopefully, we’ll do better than KDE 4.0, but who knows?). Deal with it! Yes, I have some pet peeves as well, but I won’t mention them here on purpose.&lt;/li&gt;
&lt;li&gt;Yes, there will probably some people who will leave for XFCE/LXDE/twm/Fluxbox or other distros which are not changing in their user interface this release cycle (Debian, Arch, Gentoo?).&lt;/li&gt;
&lt;li&gt;No, I am afraid, in the end, it is not possible to do fundamental changes in an user interface in more gentle way.&lt;/li&gt;
&lt;li&gt;No, I don’t think the current Gnome2 user interface is the Holy Grail of user interfaces, and I would expect that other DE now holding against the change, will either change in next few years as well (with similar bumpy road on start), or they will become irrelevant (which is not the worst thing to happen … I don’t see Google and Microsoft exactly to fight over Fluxbox, but I know about many happy Fluxbox users).&lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19348266-2918663338870932363?l=mcepl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mcepl.blogspot.com/feeds/2918663338870932363/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mcepl.blogspot.com/2011/03/few-thoughts-on-gnome-3.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/2918663338870932363'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/2918663338870932363'/><link rel='alternate' type='text/html' href='http://mcepl.blogspot.com/2011/03/few-thoughts-on-gnome-3.html' title='Few thoughts on Gnome 3'/><author><name>Matěj Cepl</name><uri>http://www.blogger.com/profile/13388318701398808404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19348266.post-7583796239445178671</id><published>2011-03-09T11:42:00.001+01:00</published><updated>2011-03-14T12:57:21.202+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Aren't Czechs awesome? :)</title><content type='html'>Just this made my day:&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.startssl.org/"&gt;&lt;img border="0" height="243" src="http://3.bp.blogspot.com/-UpryTh2BV-4/TXdZcG8tPvI/AAAAAAAAAvw/71sIL7r7JJ8/s400/startSSL-WOT-countries.png" width="173" /&gt;&lt;/a&gt;&lt;/div&gt;Yes, numbers are too small, etc. etc.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19348266-7583796239445178671?l=mcepl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mcepl.blogspot.com/feeds/7583796239445178671/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mcepl.blogspot.com/2011/03/arent-czechs-awesome.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/7583796239445178671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/7583796239445178671'/><link rel='alternate' type='text/html' href='http://mcepl.blogspot.com/2011/03/arent-czechs-awesome.html' title='Aren&apos;t Czechs awesome? :)'/><author><name>Matěj Cepl</name><uri>http://www.blogger.com/profile/13388318701398808404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-UpryTh2BV-4/TXdZcG8tPvI/AAAAAAAAAvw/71sIL7r7JJ8/s72-c/startSSL-WOT-countries.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19348266.post-2450772882585232562</id><published>2011-02-22T15:06:00.001+01:00</published><updated>2011-02-22T15:23:34.403+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='bugTriage'/><category scheme='http://www.blogger.com/atom/ns#' term='jetpack'/><title type='text'>Video of my GUADEC presentation is now available!</title><content type='html'>So, finally being made active by &lt;a href="http://ehsanakhgari.org/blog/2011-02-22/bugzilla-tweaks-getting-some-attention-again"&gt;Ehsan&lt;/a&gt;, I have cut a relevant portion of GUADEC 2010 video streams and posted it on &lt;a href="http://blip.tv/file/4798396"&gt;blip.tv&lt;/a&gt;. Slides (not very helpful, I am afraid, the real meat was in demos) are also &lt;a href="http://matej.ceplovi.cz/clanky/GUADEC2010/bugzilla-scripts-Guadec-presentation.html"&gt;available&lt;/a&gt;. I had constant struggles with microphone falling behind my T-shirt, so sound is sometimes awful.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19348266-2450772882585232562?l=mcepl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mcepl.blogspot.com/feeds/2450772882585232562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mcepl.blogspot.com/2011/02/video-of-my-guadec-presentation-is-now.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/2450772882585232562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/2450772882585232562'/><link rel='alternate' type='text/html' href='http://mcepl.blogspot.com/2011/02/video-of-my-guadec-presentation-is-now.html' title='Video of my GUADEC presentation is now available!'/><author><name>Matěj Cepl</name><uri>http://www.blogger.com/profile/13388318701398808404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19348266.post-1229309340337330862</id><published>2011-02-12T16:01:00.002+01:00</published><updated>2011-02-12T16:09:52.454+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lazyweb'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Mirror Mercurial repository to git?</title><content type='html'>I am a big fan of &lt;a href="http://gajim.org/"&gt;Gajim, XMPP client&lt;/a&gt; and for years I have followed its latest development versions with &lt;a href="http://mcepl.fedorapeople.org/rpms/"&gt;my packages&lt;/a&gt;. Unfortunately, gajim’s development is tracked in a Mercurial repository. Please, understand correctly, I have nothing against Mercurial (and I am apparently &lt;a href="http://www.youtube.com/watch?v=4XpnKHJAok8"&gt;not alone&lt;/a&gt;), the first version of &lt;a href="https://fedorahosted.org/bugzilla-triage-scripts/"&gt;bugzilla triage scripts&lt;/a&gt; were hosted in the Mercurial repository. However, this experience taught me two things. First of all, my head is probably irreparably damaged by git, so I couldn’t get my head around randomly occurring multiple heads constantly erupting in my repository. I was constantly battling with it and generating &lt;a href="https://fedorahosted.org/bugzilla-triage-scripts/changeset/861297063d99fd1121bbacb8823e0b5ec7e12ca1"&gt;nonsensical commits&lt;/a&gt; just to get rid of them. I never felt like pushing mercurial to the background just to work for me, in the same manner git already worked for me. However, the final nail to the coffin of my efforts to domesticate Mercurial was when I found out that the Jetpack repository itself will be most likely hosted predominantly &lt;a href="https://github.com/mozilla/addon-sdk"&gt;on github&lt;/a&gt;.&lt;br /&gt;
So, I have mirrored for years gajim repository &lt;a href="http://gitorious.org/gajim/gajim"&gt;on gitorious&lt;/a&gt;, and I was not that much surprised when I read today’s &lt;a href="http://www.bluishcoder.co.nz/2011/02/10/git-conversion-of-mozilla-central.html"&gt;blogpost about mirroring mozilla-central&lt;/a&gt; in a git. However, I was reminded about &lt;a href="http://hg-git.github.com/"&gt;Hg-Git&lt;/a&gt; plugin. Chris reminded me again about the problem that I need to run &lt;code&gt;git checkout -f&lt;/code&gt; from time to time to clean the repository. I was also tickled by the idea of stable commit IDs. The idea that two git repositories converted from the same hg one would be compatible was interesting. However, I haven’t found hg-git that awesome:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Speed ... I like Python, but using &lt;a href="http://gitorious.org/dulwich"&gt;dulwich&lt;/a&gt; seems questionable at the best. Git users are quite proud about the speed of git, but speed of both &lt;code&gt;hg gexport&lt;/code&gt; (the conversion itself) and &lt;code&gt;hg push&lt;/code&gt; to git repository is just depressive. Couldn’t somebody make version of hg-git using native &lt;code&gt;C&lt;/code&gt; git commands?&lt;/li&gt;
&lt;li&gt;Branches ... another thing git users tend to love IMHO are branches. So the fact that hg-git hides all hg heads from me per default and forces me to get back into fiddling with hg bookmarks and heads and all that, doesn’t make me smile. hg-fast-export by default just making all heads into branches makes me much much more happy.&lt;/li&gt;
&lt;li&gt;This not complaint just reminder about suggested change of defaults (no I don’t complain, I promised never to fight over defaults ever). Run, don’t just go to your ~/.hgrc and add there&lt;br /&gt;
&lt;pre&gt;[git]
intree = True&lt;/pre&gt;The original default just, in my opinion, doesn’t make sense.&lt;br /&gt;
&lt;/li&gt;
&lt;/ol&gt;So, the only objection I have against hg-fast-export is the necessity to do git checkout -f from time to time (and my uncertainty, what would happen if I do hg-fast-export outside of master branch). This script (called git-hgimport) makes me completely happy and secures hg-fast-export future as the converter of my gajim git repo:&lt;br /&gt;
&lt;pre&gt;#!/bin/sh
set -e

git checkout master
hg pull --update
hg-fast-export --quiet
git checkout -f
&lt;/pre&gt;And of course, if this script is in &lt;code&gt;$PATH&lt;/code&gt;, then git suddenly knows about &lt;code&gt;git hgimport&lt;/code&gt; command.&lt;br /&gt;
Does anybody out there knows about some better comparisons between hg-fast-export and hg-git?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19348266-1229309340337330862?l=mcepl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mcepl.blogspot.com/feeds/1229309340337330862/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mcepl.blogspot.com/2011/02/mirror-mercurial-repository-to-git.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/1229309340337330862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/1229309340337330862'/><link rel='alternate' type='text/html' href='http://mcepl.blogspot.com/2011/02/mirror-mercurial-repository-to-git.html' title='Mirror Mercurial repository to git?'/><author><name>Matěj Cepl</name><uri>http://www.blogger.com/profile/13388318701398808404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19348266.post-5863371080932127981</id><published>2011-01-11T00:22:00.004+01:00</published><updated>2011-02-12T16:02:41.483+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='homosexuality'/><category scheme='http://www.blogger.com/atom/ns#' term='culture'/><category scheme='http://www.blogger.com/atom/ns#' term='faith'/><category scheme='http://www.blogger.com/atom/ns#' term='desertstream'/><category scheme='http://www.blogger.com/atom/ns#' term='sociology'/><title type='text'>Culture wars? Why?</title><content type='html'>We were living as strangers (both me and my wife were born and now live again in Prague, Czechia) in the United States for couple of years, so I’ve managed to do couple of faux-pas during my time in Boston. One day, in very friendly party, among our very nice and lovely neighbors, I’ve heard one of my neighbors (very nice guy, a budding artist hoping to finally make it in the arts world) to say: “I just cannot stand all those fundamentalists around, I think we should be straight and call them who they are—anti–choice, dictating women what they should do with their body!” He said it with such passion and hatred in his voice, that I cannot hold myself (no, I haven’t had in that moment enough courage to admit that I consider abortion a murder of unborn baby) and replied to something in the sense, that the name calling is not nice, and how he would like to be called “anti-life”. I have never in my life heard such deep silence. All those nice, tolerant, diversity loving Bostonians were looking at me like at a calf with two heads.&lt;br /&gt;
I had no time to say, that I think my point of view was more nuanced … I don't think I would support reintroduction of the legal ban of abortion (although I believe that purely from the jurisprudential and legal technology point of view &lt;cite&gt;Roe v. Wade&lt;/cite&gt; and related decisions are examples of very bad ones), I think there are many better ways how to decrease number of abortions than by banning them, etc. I have not got though an opportunity to say it, because once I was labeled as one of &lt;b&gt;them&lt;/b&gt; nobody was interested in hearing my opinions. And it seemed to me nobody was really interested in the discussion about (dis-)advantages of the anti-abortion law.&lt;br /&gt;
I was just starting my PhD program in Law &amp;amp; Society at the Northeastern University and part of the program were courses in the political science. I have found that there is a big volume of study about cultural wars, the biggest one about the history of the alcohol prohibition movement (if anybody is interested the classical book on the subject, read &lt;cite&gt;Joseph R. Gusfield. Symbolic Crusade: Status Politics and The American Temperance Movement. ISBN 0-252-01312-3&lt;/cite&gt;). The main conclusion of these studies (and this one particularly) is that the focus of the struggle in the prohibition politics wasn’t that much the question of alcohol itself, but struggle for preservation of status of the established Anglo-Saxon society threatened by the ongoing immigration wave of Irish, Italians, and Germans. And best dividing factor between &lt;b&gt;us&lt;/b&gt; and &lt;b&gt;them&lt;/b&gt; was then the attitude towards alcohol, because there are apparently much more casual non-addicted drinkers of alcohol among these new nations (where for example a glass of wine or beer is standard part of dinner) then in the Anglo-Saxon culture, where much bigger share of population tend to be on extremes in relation to alcohol.&lt;br /&gt;
Generalization from the prohibition movement to current cultural wars was then obvious: these are much more status struggles than struggles for the issue itself. Should the America be governed and run by pro-life, marriage defending, gun holding (to mention just few most obvious examples) Bible belt Christians, or by pro-choice, gay marrying, anti-gun “Godless” population of coasts?&lt;br /&gt;
Of course, the question is how does this rather obvious conclusion (when you think about it) relates to the topic of this blog. What is the proper Stage four relation to the cultural wars? It seems to me that if we accept these four stages as describing something about the groups in the society (and I have hard time to do it, but for lack of other models, I do accept it), then the fourth stage believers are back in their uncomfortably lonely position: on one side there are stage two conservatives fighting for the “Ol’ time religion” against the slaughter of stage three liberals from the coasts. And our 4th stage believer is somewhere between them trying to question firm conclusions and strongholds of both sides.&lt;br /&gt;
One more piece of history: I was in Boston when the Massachusetts Supreme Court allowed gay marriages in the Commonwealth of Massachusetts, and the parliament was discussing possibility of adopting some kind of “defense of marriage” amendment which would overrule the court’s decision. Suddenly whole pro-/anti-gay cultural war was very strictly localized, and the Boston Commons around Beacon Hill (seat of the government in Massachusetts) changed into one big battleground of this cultural war. Majority of participants were local supporters of gay marriage, but there were substantial groups of opponents mostly coming from the outside of Massachusetts. I remember watching the posters of both sides (something about extending human rights from African-Americans to gays, and on the other side I remember slogan “God hates fags” with some Biblical quotations by Westboro Baptist Church of Topeka, owners of the website &lt;a href="http://www.godhatesfags.com/"&gt;God Hates Fags&lt;/a&gt;). I was thoroughly confused by both sides, which seemed to present these two positions as the only ones possible, and yet I knew very strongly that I would like to be as far as possible from both of them. A friend, apparently battling the same thoughts, said suddenly “This is as close to the Hell as I’ve ever got.”&lt;br /&gt;
To be specific and considering the gay marriage issue as an example, let me show what I would think could be a reasonable thinking of a stage four Christian (and of course, I don’t think it is the only one, I guess many of you won’t agree with many of my premises and conclusions; it’s more about a way of thinking than about particular issues). So, first of all I have to declare that I believe homosexuality is a sin (in the sense “missing the best God prepared for us”, not that I would believe homosexuals are bad people). Although I have never struggled with homosexuality myself, I have been actively participating in the Desert Stream Ministries (the inner healing ministry founded and mostly still led by former homosexuals) and I count some former homosexuals as my friends. However, I am also persuaded that beating sinners with a big poster “You are a sinner” usually doesn’t bring healing, and my role is not to persuade gays to give up on their lifestyle, but to be present and willing to help them in the moment they decide they would like to find a way back to the fullness of life God has prepared for them (be it a single life or eventually even marriage).&lt;br /&gt;
Given these two premises, I am in the wide arena of possible conclusions with not very certain opinion on possible legislative dealing (or non-dealing) with the matter. If I accept as given, that there are many people who are still living in the homosexual relationship (or in other words, who haven't accepted God’s plan for their life yet), then it would be probably humane to make for them living conditions acceptable. That includes certainly some kind of official acknowledgment of their relationship allowing them wide variety of legal advantages otherwise provided by law for husband and wife (e.g., right to visit each other in hospital, getting sick-leave when caring for a sick partner, inheritance, let’s abstain for sake of brevity from discussion on the issue of adoption by gay partners). I wouldn’t call this legal arrangement “marriage”, because that really signifies approval of what I believe is not a healthy lifestyle, but otherwise I would go long way towards making supportive environment for the life of gay couples.&lt;br /&gt;
One observation from this side of the Pond. It is interesting that the “Godless Europe” has in this issue much less problems than people in America. Given the long history of ateism (and tendency towards socialism) most European countries have an institute of some kind of non-marriage official relationship (originally for heterosexuals who didn't want to have anything to do with Church in times when marriages were still closely linked to religious ceremony). They are usually not very popular (I believe every European country has now as an option secular marriages in the town hall), I think many Europeans don't even know such institute exists, but their mere existence made it very easy for most European countries to adopt some kind of registered partnership for homosexuals as an option and (with some exceptions) I don't know about much struggle to open classical marriages to gay couples.&lt;br /&gt;
Again, I don’t think this is the only possible solution and I am not willing to defend it with putting on the line my honor, my property, and my life, but I would love to participate in the discussion about these questions with other people interested more in discussion than in cultural wars.&lt;br /&gt;
However, even more importantly, I would hope that Christians would be able to distinguish when they are fighting for The Right Thing™ and when for promotion of their status in the society. And I am afraid, many times with many Christian organizations and politicians, I am not persuaded they see it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19348266-5863371080932127981?l=mcepl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mcepl.blogspot.com/feeds/5863371080932127981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mcepl.blogspot.com/2011/01/culture-wars-why.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/5863371080932127981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/5863371080932127981'/><link rel='alternate' type='text/html' href='http://mcepl.blogspot.com/2011/01/culture-wars-why.html' title='Culture wars? Why?'/><author><name>Matěj Cepl</name><uri>http://www.blogger.com/profile/13388318701398808404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19348266.post-4794127662587186752</id><published>2010-12-16T13:07:00.000+01:00</published><updated>2010-12-16T13:07:54.381+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>I will say just one very crazy thing ...</title><content type='html'>&lt;p&gt;Looking at &lt;a href="http://www.time.com/time/specials/packages/0,28757,2036683,00.html"&gt;Time's Person of the Year 2010&lt;/a&gt; polls, I think I can see it as clearly as the sun: &lt;em&gt;In two years Facebook will be as dead as AOL is now&lt;/em&gt;. Just sayin', and so that this is recorded for posterity.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19348266-4794127662587186752?l=mcepl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mcepl.blogspot.com/feeds/4794127662587186752/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mcepl.blogspot.com/2010/12/i-will-say-just-one-very-crazy-thing.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/4794127662587186752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/4794127662587186752'/><link rel='alternate' type='text/html' href='http://mcepl.blogspot.com/2010/12/i-will-say-just-one-very-crazy-thing.html' title='I will say just one very crazy thing ...'/><author><name>Matěj Cepl</name><uri>http://www.blogger.com/profile/13388318701398808404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19348266.post-6641159740547295038</id><published>2010-11-08T09:32:00.000+01:00</published><updated>2010-11-08T09:32:44.865+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='bugTriage'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Living in the avalanche … or unexpected results of one bit</title><content type='html'>&lt;p&gt;While fighting with my bugs couple of months ago (around a F14 Beta, IIRC), I got annoyed by number of bugs waiting on being eliminated in EOS with unreplied needinfos. When going through them I discovered to my unhappy surprise that many of these &lt;a href="https://fedoraproject.org/wiki/BugZappers/HouseKeeping"&gt;automatically created bugs&lt;/a&gt; don’t have needinfo flag set, which made my life even worse. My defined queries filter out bugs with needinfo flag set, because they are not my concern.&lt;/p&gt;&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="float: right; margin-left: 1em; text-align: right;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://www.flickr.com/photos/dcsl/3122395670/" style="clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto;" title="Ascension Avalanche - la dura realidad by DCSL, on Flickr"&gt;&lt;img alt="Ascension Avalanche - la dura realidad" height="192" src="http://farm4.static.flickr.com/3088/3122395670_55e3166258_m.jpg" width="240" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href="http://www.flickr.com/photos/dcsl/3122395670/"&gt;Courtesy of DCSL on Flickr&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;p&gt;So, I’ve hoped to &lt;a href="irc://freenode/fedora-bugzappers"&gt;#fedora-bugzappers&lt;/a&gt; to find out what was it that those EOS warnings were not setting needinfo flag. I’ve found that basically just nobody thought about that or something and I was promised that this will be fixed for F12 EOS messages. I returned to my bugs and completely forgot about whole thing.&lt;/p&gt;&lt;p&gt;With the release of F14, &lt;a href="https://bugzilla.redhat.com/show_bug.cgi?id=542398#c16"&gt;the standard EOS message&lt;/a&gt; was sent to thousands of bugs at once. Then a strange thing happened: instead of few dozen replies I was used to getting, an avalanche of messages started to flow in. I had to see over hundred messages yesterday and people were confirming bugs being fixed, or not, adding more interesting data and I was completely swallowed by the avalanche of this small tidbits. I was able to unearth some completely forgotten bugs, close tons of duplicates, and revive some bugs which were looking like heading towards sad fate of being EOSed.&lt;/p&gt;&lt;p&gt;Interesting how much one bit matters.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19348266-6641159740547295038?l=mcepl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mcepl.blogspot.com/feeds/6641159740547295038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mcepl.blogspot.com/2010/11/living-in-avalanche-or-unexpected.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/6641159740547295038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/6641159740547295038'/><link rel='alternate' type='text/html' href='http://mcepl.blogspot.com/2010/11/living-in-avalanche-or-unexpected.html' title='Living in the avalanche … or unexpected results of one bit'/><author><name>Matěj Cepl</name><uri>http://www.blogger.com/profile/13388318701398808404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm4.static.flickr.com/3088/3122395670_55e3166258_t.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19348266.post-5597706124748921245</id><published>2010-09-14T17:44:00.000+02:00</published><updated>2010-09-14T17:44:03.933+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='lazyweb'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><category scheme='http://www.blogger.com/atom/ns#' term='atompub'/><title type='text'>Atompub depression</title><content type='html'>&lt;p&gt;So, looking at interesting presentation on &lt;a href="http://www.slideshare.net/josephscott/wordpress-apis"&gt;Wordpress APIs&lt;/a&gt;, I have hit on this slide:&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_de4d8QAtRzI/TI-Tb7Kx6TI/AAAAAAAAAtM/-NdAIWRCcAA/s1600/atompub-depression.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="250" src="http://2.bp.blogspot.com/_de4d8QAtRzI/TI-Tb7Kx6TI/AAAAAAAAAtM/-NdAIWRCcAA/s400/atompub-depression.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;Am I allowed as a friend of Atompub to feel depressed? What happened to &lt;a href="http://www.tbray.org/ongoing/When/200x/2008/03/06/APP-World"&gt;the promised world domination&lt;/a&gt;?&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;On the related atompub and depression combination? I have a file with my complete blog in Atom format. Now I would like to create a simple script posting all entries there to Atompub store (let's say blogger, when I use it already)? Of course the condition is that if I add new entries to the Atom file and repost it again only new and updated entries will get published. So, of course I would need the way how uniquely identify each entry be it in the file or in the Atompub store (did I mention that I would like to be able for whatever reason be able to publish the same Atom file in different stores?). Of course, you cry, &lt;a href="http://www.xml.com/pub/a/2004/08/18/pilgrim.html"&gt;that’s what &amp;lt;entry:id&amp;gt; was created for&lt;/a&gt;! Every entry has its &lt;b&gt;globally unique&lt;/b&gt; ID, right?&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;Except no Atompub store known to me allows you to publish entry with your own ID. Actually you have to remove &amp;lt;id&amp;gt; element before publishing to Livejournal, Wordpress, and Blogger otherwise they will reject this perfectly valid Atom entry, and you have to publish something which is not valid Atom (&amp;lt;id&amp;gt; element is MUST for Atom entry).&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;So, lazyweb, do you know about any means how to publish my Atom file to blogger without having a separate database of local:published ID relations? If it would be possible to switch to another blogging platform, I’ll switch immediately just because of this.&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;While collecting links for this post, I have found &lt;a href="http://www.xml.com/lpt/a/1450"&gt;this&lt;/a&gt;. Maybe just depression is what remains for us.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19348266-5597706124748921245?l=mcepl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mcepl.blogspot.com/feeds/5597706124748921245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mcepl.blogspot.com/2010/09/atompub-depression.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/5597706124748921245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/5597706124748921245'/><link rel='alternate' type='text/html' href='http://mcepl.blogspot.com/2010/09/atompub-depression.html' title='Atompub depression'/><author><name>Matěj Cepl</name><uri>http://www.blogger.com/profile/13388318701398808404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_de4d8QAtRzI/TI-Tb7Kx6TI/AAAAAAAAAtM/-NdAIWRCcAA/s72-c/atompub-depression.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19348266.post-9154119665800780872</id><published>2010-09-08T18:33:00.001+02:00</published><updated>2010-09-08T18:34:49.051+02:00</updated><title type='text'></title><content type='html'>&lt;p&gt;&lt;a href="http://www.happyassassin.net/2010/09/08/my-desktop/"&gt;Adam is right&lt;/a&gt;: I am not getting it either.&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_de4d8QAtRzI/TIe6Cw70gDI/AAAAAAAAAtE/H8huboVbSng/s1600/Sn%C3%ADmek+obrazovky-1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="250" src="http://1.bp.blogspot.com/_de4d8QAtRzI/TIe6Cw70gDI/AAAAAAAAAtE/H8huboVbSng/s400/Sn%C3%ADmek+obrazovky-1.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;except of background, I don't change my desktop either,&lt;/li&gt;
&lt;li&gt;I don't see much of my desktop under all those icons anyway (I have $HOME as my desktop),&lt;/li&gt;
&lt;li&gt;usually most of my time I have desktop hopelessly hidden behind fully maximized Firefox anyway.&lt;/li&gt;
&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19348266-9154119665800780872?l=mcepl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mcepl.blogspot.com/feeds/9154119665800780872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mcepl.blogspot.com/2010/09/adam-is-right-i-am-not-getting-it.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/9154119665800780872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/9154119665800780872'/><link rel='alternate' type='text/html' href='http://mcepl.blogspot.com/2010/09/adam-is-right-i-am-not-getting-it.html' title=''/><author><name>Matěj Cepl</name><uri>http://www.blogger.com/profile/13388318701398808404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_de4d8QAtRzI/TIe6Cw70gDI/AAAAAAAAAtE/H8huboVbSng/s72-c/Sn%C3%ADmek+obrazovky-1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19348266.post-6625971963004433896</id><published>2010-08-09T05:38:00.002+02:00</published><updated>2010-08-09T05:41:34.358+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>bugzilla.gnome.org supported</title><content type='html'>So, &lt;a href="https://fedorahosted.org/bugzilla-triage-scripts/ticket/38"&gt;ticket 38&lt;/a&gt; has been closed, so we have another officially supported bugzilla: bugzilla.gnome.org. When you start bleeding-edge (“nightly” :)) &lt;a href="https://fedorahosted.org/released/bugzilla-triage-scripts/bugzilla-triage.xpi"&gt;.xpi from my site&lt;/a&gt; (Firefox will complain, that the extension is downloaded from untrusted source), then you should have scripts working on bugzilla.gnome.org by eliminating all additional buttons and not adding anything new (scripts default into support for bugzilla.redhat.com). On the bottom of the page you should be able to find a link ”&lt;a href="https://bugzilla.gnome.org/show_bug.cgi?id=443884" id="configurationButton"&gt;Triage configuration&lt;/a&gt;”.&lt;br /&gt;
Click on it and to the input enter URL for the Gnome configuration JSON, which is currently &lt;a href="http://mcepl.fedorapeople.org/scripts/Config_gnome.json"&gt;http://mcepl.fedorapeople.org/scripts/Config_gnome.json&lt;/a&gt;. Restart Firefox, and go back to the bugzilla.gnome.org bug page.&lt;br /&gt;
For the script to load, you have to be logged in to the bugzilla (otherwise it won't activate).&lt;br /&gt;
I am also not sure, whether the texts of comments, and resolutions being set are correct for bugzilla.gnome.org. &lt;a href="https://fedorahosted.org/bugzilla-triage-scripts/newtplticket"&gt;File a ticket&lt;/a&gt; with fixed JSON file, please.&lt;br /&gt;
And of course, I believe that if the scripts happens eventually to be officially supported  for b.g.o, Gnome bug triagers will host their own. Or maybe I should  rather accept &lt;a href="https://fedorahosted.org/bugzilla-triage-scripts/ticket/39"&gt;ticket 39&lt;/a&gt; and make only one default JSON? Let me know.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_de4d8QAtRzI/TF94MNDpc6I/AAAAAAAAAsk/6hyhbc634Ds/s1600/bgo-buttons.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="236" src="http://3.bp.blogspot.com/_de4d8QAtRzI/TF94MNDpc6I/AAAAAAAAAsk/6hyhbc634Ds/s400/bgo-buttons.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19348266-6625971963004433896?l=mcepl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mcepl.blogspot.com/feeds/6625971963004433896/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mcepl.blogspot.com/2010/08/bugzillagnomeorg-supported.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/6625971963004433896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/6625971963004433896'/><link rel='alternate' type='text/html' href='http://mcepl.blogspot.com/2010/08/bugzillagnomeorg-supported.html' title='bugzilla.gnome.org supported'/><author><name>Matěj Cepl</name><uri>http://www.blogger.com/profile/13388318701398808404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_de4d8QAtRzI/TF94MNDpc6I/AAAAAAAAAsk/6hyhbc634Ds/s72-c/bgo-buttons.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19348266.post-626548246712980273</id><published>2010-08-06T07:19:00.000+02:00</published><updated>2010-08-06T07:19:22.740+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='jetpack'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>First steps towards support for bugzilla.gnome.org</title><content type='html'>After return from &lt;a href="http://guadec.org/index.php/guadec/2010/"&gt;Guadec&lt;/a&gt; I was greatly encouraged by the interest I've met there. I thought on the spot about making a specific child object for Gnome bugzilla (similar to MozillaBugzilla), which would liquidate unnecessary buttons from bugzilla. However, another request I've got was from &lt;a href="http://tieguy.org/blog/"&gt;Luis&lt;/a&gt; and he asked me to get an ability to eliminate unnecessary buttons so he can use bugzilla for his MoFo legal work (which is an interesting idea in itself ;)).&lt;br /&gt;
&lt;br /&gt;
In the end I have decided that it would be actually easy to keep all business logic still in JSON file (and not having some &lt;code&gt;if (this.hostname === "bugzilla.gnome.org")&lt;/code&gt; hardwired in the code). So with the current (&lt;a href="git://git.fedorahosted.org/bugzilla-triage-scripts.git"&gt;git&lt;/a&gt;, unreleased) version you can add this bit of code into configData of your JSON file&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;"killNodes": {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "bugzilla.gnome.org": [
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "stocklinks", true 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;]
},

&lt;/pre&gt;and the script will kill element with id &lt;code&gt;'stocklinks'&lt;/code&gt; upon the startup. For Luis, instead of one string, it could be an array with more IDs. So this is the current look of bugzilla.gnome.org in my Firefox&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_de4d8QAtRzI/TFuaXoLYPLI/AAAAAAAAAsc/h7xi7usNXXk/s1600/bts-gnome-first.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="236" src="http://4.bp.blogspot.com/_de4d8QAtRzI/TFuaXoLYPLI/AAAAAAAAAsc/h7xi7usNXXk/s400/bts-gnome-first.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;However, while testing the script I found that bgo is still very heavily modified (although apparently not &lt;a href="https://lpsolit.wordpress.com/2010/07/15/please-upgrade/"&gt;an obsolete one anymore&lt;/a&gt;) and my script breaks somewhere. I have fixed one inconsistency (apparently, &lt;code&gt;'mailto:'&lt;/code&gt; is not good enough for their email addresses ;)), but there is still something which breaks generation of new buttons. I'll work on it when I can.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19348266-626548246712980273?l=mcepl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mcepl.blogspot.com/feeds/626548246712980273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mcepl.blogspot.com/2010/08/first-steps-towards-support-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/626548246712980273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/626548246712980273'/><link rel='alternate' type='text/html' href='http://mcepl.blogspot.com/2010/08/first-steps-towards-support-for.html' title='First steps towards support for bugzilla.gnome.org'/><author><name>Matěj Cepl</name><uri>http://www.blogger.com/profile/13388318701398808404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_de4d8QAtRzI/TFuaXoLYPLI/AAAAAAAAAsc/h7xi7usNXXk/s72-c/bts-gnome-first.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19348266.post-3606632044251235404</id><published>2010-07-30T02:37:00.000+02:00</published><updated>2010-07-30T02:37:17.051+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='bugTriage'/><category scheme='http://www.blogger.com/atom/ns#' term='jetpack'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>No Github for you anymore!</title><content type='html'>Github seems to be somehow broken, and I don't get any reactions about it anyway. So I have killed it. For all bugzilla-scripts project needs use https://fedorahosted.org/bugzilla-triage-scripts/&lt;br /&gt;
&lt;br /&gt;
Thank you&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19348266-3606632044251235404?l=mcepl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mcepl.blogspot.com/feeds/3606632044251235404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mcepl.blogspot.com/2010/07/no-github-for-you-anymore.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/3606632044251235404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/3606632044251235404'/><link rel='alternate' type='text/html' href='http://mcepl.blogspot.com/2010/07/no-github-for-you-anymore.html' title='No Github for you anymore!'/><author><name>Matěj Cepl</name><uri>http://www.blogger.com/profile/13388318701398808404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19348266.post-2378119560181029319</id><published>2010-07-21T14:12:00.004+02:00</published><updated>2010-07-21T15:07:10.063+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='jetpack'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Fixed bugzilla.mozilla.org compatibility problems</title><content type='html'>My &lt;a href="http://guadec.org/index.php/guadec/2010/paper/view/38"&gt;GUADEC presentation&lt;/a&gt; is getting nearer and nearer which makes me push commits in the even higher frequency. Yesterday I have finally fixed compatibility issues with bugzilla.mozilla.org and created &lt;a href="https://fedorahosted.org/released/bugzilla-triage-scripts/Config_mozilla.json"&gt;default JSON for Mozilla bug triagers&lt;/a&gt;, which is just a port of the original &lt;a href="http://mozilla.kewis.ch/jetpack/bugzilla-comments-json.js"&gt;Philip’s one&lt;/a&gt;.&lt;/p&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_de4d8QAtRzI/TEbiR8yS1uI/AAAAAAAAAsU/-lvMKzR1bL0/s1600/BTS-mozilla-example.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="338" src="http://2.bp.blogspot.com/_de4d8QAtRzI/TEbiR8yS1uI/AAAAAAAAAsU/-lvMKzR1bL0/s400/BTS-mozilla-example.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;In other news, I have created mirror of my official&lt;/p&gt;&lt;p align="center"&gt;&lt;a href="git://git.fedorahosted.org/bugzilla-triage-scripts.git"&gt;git://git.fedorahosted.org/bugzilla-triage-scripts.git&lt;/a&gt;&lt;/p&gt;&lt;p&gt;repo on &lt;a href="http://github.com/mcepl/bugzilla-triage-scripts-mirror"&gt;GitHub&lt;/a&gt;. Pull requests and any other means of providing patches are of course very welcome! (Sorry, I don't have a dovecote, so I am not &lt;a href="http://tools.ietf.org/html/rfc1149"&gt;RFC 1149&lt;/a&gt; compatible).&lt;/p&gt;&lt;p&gt;In yet another news, does anybody have any idea, how to make &lt;a href="https://addons.mozilla.org/cs/firefox/addon/192496/"&gt;an addon on AMO&lt;/a&gt; reviewed? Oh well :(.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19348266-2378119560181029319?l=mcepl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mcepl.blogspot.com/feeds/2378119560181029319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mcepl.blogspot.com/2010/07/fixed-bugzillamozillaorg-compatibility.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/2378119560181029319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/2378119560181029319'/><link rel='alternate' type='text/html' href='http://mcepl.blogspot.com/2010/07/fixed-bugzillamozillaorg-compatibility.html' title='Fixed bugzilla.mozilla.org compatibility problems'/><author><name>Matěj Cepl</name><uri>http://www.blogger.com/profile/13388318701398808404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_de4d8QAtRzI/TEbiR8yS1uI/AAAAAAAAAsU/-lvMKzR1bL0/s72-c/BTS-mozilla-example.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19348266.post-6452017285253994355</id><published>2010-07-16T11:22:00.000+02:00</published><updated>2010-07-21T15:07:10.064+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='jetpack'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>World Domination is one step closer!</title><content type='html'>&lt;p&gt;My &lt;a href="https://fedorahosted.org/bugzilla-triage-scripts/"&gt;bugzilla triage addon&lt;/a&gt; is now on &lt;a href="https://addons.mozilla.org/cs/firefox/addon/192496/"&gt;addons.mozilla.org&lt;/a&gt;!&lt;/p&gt;&lt;p&gt;And I have already upgraded the version there to 0.13, which stores passwords in the Firefox encrypted password storage and is much more closer to be compatible with other bugzillas.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19348266-6452017285253994355?l=mcepl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mcepl.blogspot.com/feeds/6452017285253994355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mcepl.blogspot.com/2010/07/world-domination-is-one-step-closer.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/6452017285253994355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/6452017285253994355'/><link rel='alternate' type='text/html' href='http://mcepl.blogspot.com/2010/07/world-domination-is-one-step-closer.html' title='World Domination is one step closer!'/><author><name>Matěj Cepl</name><uri>http://www.blogger.com/profile/13388318701398808404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19348266.post-6333176314204725885</id><published>2010-07-03T01:05:00.001+02:00</published><updated>2010-07-21T15:07:10.064+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='jetpack'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Two types of objects</title><content type='html'>&lt;p&gt;I was reminded by &lt;a href="http://ehsanakhgari.org/blog/2010-06-29/bugzilla-tweaks-now-available-extension"&gt;the Ehsan’s blogpost&lt;/a&gt; of one still not fully resolved problem with my &lt;a href="https://fedorahosted.org/bugzilla-triage-scripts/"&gt;bugzilla-triage&lt;/a&gt; script. The principal reason why I started working on my third rewrite of scripts (still in jetpack-prototype) was to make the script &lt;em&gt;really&lt;/em&gt; useful over the different bugzilla instances (specifically &lt;a href="http://bugzilla.mozilla.org"&gt;MoFo bugzilla&lt;/a&gt;). I have found lovely variant of &lt;a href="http://mozilla.kewis.ch/jetpack/bugzilla-comments.html"&gt;a similar script by Philipp Kewisch&lt;/a&gt; which I wanted to merge in mine.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Philipp uses quite a different style of UI than I do. I am persuaded that things like &lt;a href="http://oreilly.com/news/zenclavier_1299.html"&gt;muscle memory and mouse clicks minimalization&lt;/a&gt; are important considerations so I generally prefer a lot of buttons spread all over the page (or in the places which I think are most appropriate), Phillip prefers to have a minimal disruptions to the page with just one scroll-up &lt;code&gt;SELECT&lt;/code&gt; element. The second problem is of course what Ehsan mentioned: there are just things too different between different instances which cannot be coded over in one script. Ehsan mentions interleaving text between commemtns, I could see on the Red Hat bugzilla methods of XML-RPC (e.g., &lt;a href="https://bugzilla.redhat.com/docs/en/html/api/extensions/compat_xmlrpc/code/webservice.html#updateAttachMimeType%28$data_ref,_$username,_$password%29"&gt;&lt;code&gt;bugzilla.updateAttachMimeType&lt;/code&gt;&lt;/a&gt;) which are very important to me, but most likely not supported in the upstream code.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;In the end I have decided to go after making the script palatable to everybody by two ways. First of all I have modified my configuration JSON file to allow adding items to the &lt;code&gt;SELECT&lt;/code&gt; in the style Philipp prefers, so that I believe his style of bugzilla page modifications can be done only by the changes in the configuration file.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;The second line of attack was to create inheritance of objects. There is a base object &lt;code&gt;BZPage&lt;/code&gt;, which contains methods and properties useful on all bugzilla instances. And there are two (so far) child objects of it: &lt;code&gt;RHBugzillaPage&lt;/code&gt; and &lt;code&gt;MozillaBugzilla&lt;/code&gt; (the latter is just stub). RHBugzillaPage then contains a lot of code which is specific for &lt;a href="https://bugzilla.redhat.com"&gt;RH Bugzilla&lt;/a&gt; but not for anybody else.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;This is the idea, but the problem is that I work almost exclusively on bugzilla.redhat.com (and bit of b.m.o but I cannot do much there) so I am afraid those two concepts got incredibly mixed together. I would really need somebody else to start using my code on b.m.o (or elsewhere) and hitting all those RH-centric warts.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;The good news in all of this is that I have finally some real users in the BugZappers land (Fedora bug triagers) and after some little warts, it seems to work! Yay! So, now addons.mozilla.org and then. &lt;strong&gt;WORLD DOMINATION!&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;In other news, I have repented and switched the repository back to Git. So the repository is now available at &lt;code&gt;git://git.fedorahosted.org/bugzilla-triage-scripts.git&lt;/code&gt; (and we have &lt;a href="http://git.fedorahosted.org/git/?p=bugzilla-triage-scripts.git"&gt;gitweb&lt;/a&gt; as well).&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19348266-6333176314204725885?l=mcepl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mcepl.blogspot.com/feeds/6333176314204725885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mcepl.blogspot.com/2010/07/two-types-of-objects.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/6333176314204725885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/6333176314204725885'/><link rel='alternate' type='text/html' href='http://mcepl.blogspot.com/2010/07/two-types-of-objects.html' title='Two types of objects'/><author><name>Matěj Cepl</name><uri>http://www.blogger.com/profile/13388318701398808404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19348266.post-5455800729951909582</id><published>2010-06-29T21:42:00.000+02:00</published><updated>2010-06-29T21:42:41.568+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jetpack'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Current status (a week ago) of my bugzilla Jetpack scripts.</title><content type='html'>The code is available at &lt;a href="https://fedorahosted.org/bugzilla-triage-scripts/"&gt;fedorahosted&lt;/a&gt; (&lt;a href="http://hg.fedorahosted.org/hg/bugzilla-triage-scripts/%20"&gt;Mercurial repository&lt;/a&gt; is also available). There are two branches in this repository:&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Branch “prototype” contains production code based Jetpack-prototype (currently version 0.8). From my point of view it is in the maintenance mode, but it is possible that integration with other bugzillas could be done on it, as it is currently the only code which actually works for non-developing public.&lt;/li&gt;
&lt;li&gt;Branch “default” contains currently alpha code for new Jetpack-SDK.&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
The Jetpack-SDK framework is currently not complete, but it is good enough for me to use it for my everyday work (which I am afraid suffers a bit because of work on this script which is supposed to help me ;)). And yes, I had to write some parts of the framework which I hope will be provided by the framework (e.g., I have my primitive version of &lt;a href="https://wiki.mozilla.org/Labs/Jetpack/JEP/17"&gt;pageMods&lt;/a&gt; in main.js, and there is no good equivalent of GUI as in &lt;a href="https://wiki.mozilla.org/Labs/Jetpack/JEP/24"&gt;jetpack.storage.settings&lt;/a&gt;; BTW, I have to thank to &lt;a href="http://ehsanakhgari.org/blog/2010-05-31/my-experience-jetpack-sdk"&gt;Ehsan&lt;/a&gt; for the inspiration and encouragement).&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_de4d8QAtRzI/TCpLpyx70kI/AAAAAAAAAsM/arTJoUyuIrI/s1600/status-progress-screenshot.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="235" src="http://3.bp.blogspot.com/_de4d8QAtRzI/TCpLpyx70kI/AAAAAAAAAsM/arTJoUyuIrI/s400/status-progress-screenshot.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19348266-5455800729951909582?l=mcepl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mcepl.blogspot.com/feeds/5455800729951909582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mcepl.blogspot.com/2010/06/current-status-week-ago-of-my-bugzilla.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/5455800729951909582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/5455800729951909582'/><link rel='alternate' type='text/html' href='http://mcepl.blogspot.com/2010/06/current-status-week-ago-of-my-bugzilla.html' title='Current status (a week ago) of my bugzilla Jetpack scripts.'/><author><name>Matěj Cepl</name><uri>http://www.blogger.com/profile/13388318701398808404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_de4d8QAtRzI/TCpLpyx70kI/AAAAAAAAAsM/arTJoUyuIrI/s72-c/status-progress-screenshot.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19348266.post-4735104248872796393</id><published>2010-01-13T07:24:00.005+01:00</published><updated>2010-01-13T17:07:56.576+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='bugTriage'/><category scheme='http://www.blogger.com/atom/ns#' term='jetpack'/><category scheme='http://www.blogger.com/atom/ns#' term='computer'/><title type='text'>Jetpack which turned into a medium range missile</title><content type='html'>While reading &lt;a href="http://ehsanakhgari.org/blog/2010-01-12/bugzilla-made-even-more-awesome"&gt;the story&lt;/a&gt; about b.m.o jetpack, I decided that the time has come to reveal to the wider world existence of &lt;a href="http://mcepl.fedorapeople.org/scripts/install-bugzillaBugTriage.html"&gt;the jetpack&lt;/a&gt; (originally a &lt;a href="http://mcepl.fedorapeople.org/scripts/bugzillaBugTriage.user.js"&gt;Greasemonkey script&lt;/a&gt;), which is being used by the &lt;a href="https://fedoraproject.org/wiki/BugZappers/Tools"&gt;Fedora BugZappers&lt;/a&gt; (aka voluntary bug triagers). &lt;br /&gt;
Let me show you first how Red Hat Bugzilla looks without any additional tweaking (this is the look a Bug Zapper see, both normal user and a Red Hat employee have page quite different; click the thumbnail for the full-size screenshot). This is the top of the page (forgive momentarily indisposition of some parts of the layout, we are in the process of upgrading to bugzilla 3.4 and there are apparently some small issues with layout): &lt;br /&gt;
&lt;a href="http://3.bp.blogspot.com/_de4d8QAtRzI/S02Crp-5eJI/AAAAAAAAArA/XnOFugLY36c/s1600-h/plain-top.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5426136812566968466" src="http://3.bp.blogspot.com/_de4d8QAtRzI/S02Crp-5eJI/AAAAAAAAArA/XnOFugLY36c/s400/plain-top.png" style="cursor: pointer; display: block; height: 243px; margin: 0px auto 10px; text-align: center; width: 400px;" /&gt;&lt;/a&gt;and this is the middle part of the page: &lt;br /&gt;
&lt;a href="http://4.bp.blogspot.com/_de4d8QAtRzI/S02DH7hx2GI/AAAAAAAAArI/Yx1MhuJ2qxI/s1600-h/plain-middle.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5426137298313009250" src="http://4.bp.blogspot.com/_de4d8QAtRzI/S02DH7hx2GI/AAAAAAAAArI/Yx1MhuJ2qxI/s400/plain-middle.png" style="cursor: pointer; display: block; height: 243px; margin: 0px auto 10px; text-align: center; width: 400px;" /&gt;&lt;/a&gt; &lt;br /&gt;
When writing these scripts (first Greasemonkey and now Jetpack) I was not that much concerned about displaying the data about the bug (although there are some visual effects available as well, about which later), but making it more simple to change it as fast as possible. Therefore, the main bulk of my work was adding a lot of buttons everywhere which would add prefiled comments and change the state of the bug accordingly. Let me show you how the top of the page looks like: &lt;br /&gt;
&lt;a href="http://3.bp.blogspot.com/_de4d8QAtRzI/S02iMr01OBI/AAAAAAAAArQ/Z872aTFGqlg/s1600-h/jetpacked-top.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5426171464857761810" src="http://3.bp.blogspot.com/_de4d8QAtRzI/S02iMr01OBI/AAAAAAAAArQ/Z872aTFGqlg/s400/jetpacked-top.png" style="cursor: pointer; display: block; height: 243px; margin: 0px auto 10px; text-align: center; width: 400px;" /&gt;&lt;/a&gt; &lt;br /&gt;
There are not that many changes in the top of the page. The most visible one is changed background of whole page. One problem I had when dealing with tens (or sometimes hundreds) of bugs a day was a need to be conscious of what kind of reporter I am speaking to. Of course, one should use different tone and expect different level of knowledge from reporter of bug for Fedora Rawhide (a development version of Fedora, very bleeding-edge, sometimes with a stress on the word “bleeding” ;)) and from another reporter who has an issue with Red Hat Enterprise Linux communicating with us through our main support system. Different colors for different products (this green is for Rawhide) give me right subconscious feeling of what I should expect and what I could require from the reporter. &lt;br /&gt;
Another interesting change is a button “Def. Assignee” next to the “Assigned To” text box. When the jetpack is loaded on the startup of the browser, it also loads a JSON file with a lot of configuration both local to the Red Hat bugzilla instance and specific to the particular bug triager (it is possible to change via tiny link “BugZap config” URL from which the JSON file is downloaded, so everybody can make her own settings and even buttons specific to the particular component she deals with; &lt;a href="http://mcepl.fedorapeople.org/scripts/BugZappers_data.json"&gt;one JSON file&lt;/a&gt; is used as default). One of the things which are in the JSON is an object like this (in reality it is much larger):&lt;br /&gt;
&lt;pre&gt;"defaultAssignee": [
  {
      "regexp": "xorg-x11-(server.*|drv-vesa|drv-mga)",
      "addr": "ajax@example.com"
  },
  {
      "regexp": "xorg-x11-drv-(nv|nouveau)",
      "addr": "bskeggs@example.com"
  }
],
&lt;/pre&gt;and then I have in the script this function: &lt;br /&gt;
&lt;pre&gt;filterByRegexp = function(list, chosingMark) {
var chosenPair = [];
if (list.length &amp;gt; 0) {
  chosenPair = list.filter (
          function (pair) {
              return new RegExp(pair.regexp, "i").test(chosingMark);
          });
}
if (chosenPair.length &amp;gt; 0) {
  return chosenPair[0].addr.trim();
} else {
  return "";
}
};
&lt;/pre&gt;With this function I am then able to simply set default assignee of the bug with: &lt;br /&gt;
&lt;pre&gt;this.changeOwner(filterByRegexp(defAssigneeList, this.component).
          toLowerCase());
&lt;/pre&gt;I had created &lt;code&gt;filterByRegexp&lt;/code&gt; construct just as a quick hack for picking the default assignee, but I disovered later that this is actually dictionary indexed by regular expression and that it is quite useful function to have.&lt;br /&gt;
Let’s go to the middle of the page where I can explain the idea of generality of the script:&lt;br /&gt;
&lt;a href="http://1.bp.blogspot.com/_de4d8QAtRzI/S02qu8tq9dI/AAAAAAAAArY/KReUQp2Pw0g/s1600-h/jetpacked-middle.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5426180849599706578" src="http://1.bp.blogspot.com/_de4d8QAtRzI/S02qu8tq9dI/AAAAAAAAArY/KReUQp2Pw0g/s400/jetpacked-middle.png" style="cursor: pointer; display: block; height: 243px; margin: 0px auto 10px; text-align: center; width: 400px;" /&gt;&lt;/a&gt;&lt;br /&gt;
The most visible change here are many additional buttons we have here. Interesting thing about them is that two lines of buttons, one above and one below the comment box (from “X logs” to “flashCrash” and from “NEEDINFO” to “Retest”) are actually generated based on the JSON file, so every user can have her set of buttons (surprisingly, not everybody needs &lt;code&gt;/var/log/Xorg.0.log&lt;/code&gt;).&lt;br /&gt;
The idea behind most of the business logic (so to say) pushed to configuration file was not only to make script configurable for individual users, but I hoped that I could make the script also independent of the quirks of the Red Hat bugzilla instance so that the same code could be used by other bugzillas. I am afraid I have failed in this respect, and there are many instances of redhatisms in my code. However, the basic infrastructure is there, so it should be possible to debug the script to be truly independent.&lt;br /&gt;
The two buttons just below the “Additional comments” label are hard-wired to the script (although they can be switched on and off in the JSON file and they’re off per default). “Query for string” takes content of the clipboard and opens in the next tab a query for this text in the comments, summary, or content of attachments. I found this button to be a perfect tool for discovering duplicates. The second button “Send upstream” collects data from the bug (summary and text of all comments) and opens in the next tab entry page of the upstream bugzilla (currently tested only with MoFo bugzilla) and populates its fields with data collected from the Fedora bug. Of course, new upstream bug needs a lot of editing to be nice new bug, but it saves a lot of work, and it shows how Jetpack scripts are capable of a lot of very useful activity.&lt;br /&gt;
The last thing shown on our image is that the comment 10 has a light yellow background. I found it quite useful to be able to easily recognize which comments on the bug are from the original reporter, and which are from developers or from random people commenting on the bug. For example, it happened to me couple of times, that somebody random commented that the bug has been fixed, and when I happily closed the bug as resolved, the real reporter came with venegance on me. By having yellow background (or rather by not-having it), I can clearly see how significant is any particular comment for the fate of the bug.&lt;br /&gt;
As I said, I hope to make this script general enough to be used by other bug triagers in the similar situations. Yes, some features I have created in my script could be usefully pushed to the bugzilla itself, but I am quite certain that majority of the script is specific enough for the bug triagers work, that it doesn't make much sense to burden bugzilla itself with it. If you find that you are able to make my script work for you on another bugzilla, please, send me patches and I will try to accommodate my script to work for you.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19348266-4735104248872796393?l=mcepl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mcepl.blogspot.com/feeds/4735104248872796393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mcepl.blogspot.com/2010/01/jetpack-which-turned-into-mid-range.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/4735104248872796393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19348266/posts/default/4735104248872796393'/><link rel='alternate' type='text/html' href='http://mcepl.blogspot.com/2010/01/jetpack-which-turned-into-mid-range.html' title='Jetpack which turned into a medium range missile'/><author><name>Matěj Cepl</name><uri>http://www.blogger.com/profile/13388318701398808404</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_de4d8QAtRzI/S02Crp-5eJI/AAAAAAAAArA/XnOFugLY36c/s72-c/plain-top.png' height='72' width='72'/><thr:total>2</thr:total></entry></feed>
