Now I know one reason why some companies are so keen to get on the Bugzilla Installation List :-)
According to the PageRank checker, the PageRank of http://www.bugzilla.org/installation-list/ is:
Now I know one reason why some companies are so keen to get on the Bugzilla Installation List :-)
According to the PageRank checker, the PageRank of http://www.bugzilla.org/installation-list/ is:
“Q” is the only letter for which we do not have a company using Bugzilla among the 478 listed. Any companies out there beginning with the letter Q who are using Bugzilla want to be added? :-)
The list of companies, organisations and projects using Bugzilla has recently passed 400. (The numbers are always a little vague, as public Bugzillas come and go.) The list includes such major projects as Mozilla , the Linux kernel, GNOME, KDE, and Apache.
Credit goes, of course, to the great team which keeps the whole show on the road. And as that page goes to show, people don’t choose a bug tracking system based on the attractiveness of the developers. ;-)
Ever had nothing useful to say in a checkin comment? Try this. For bonus points, do it in the right order…
At last, after around two and a half years of development, we’ve finally released Bugzilla 2.18. My two major contributions to this release were Generic Reporting (a much more powerful way of getting reports of the current state of Bugzilla) and Generic Charting (a way of getting Bugzilla to store data for and later plot an arbitrary query over time). The latter is somewhat less polished than the former; I suspect some more work is going to have to go into that over the next few weeks :-|
My initial implementation was in some ways overcomplicated – it suffered from premature optimisation – and in some ways not complicated enough, for example it didn’t have any access control. Lessons learnt :-)
Note: bugzilla.mozilla.org is currently running version 2.19.1+ of Bugzilla – i.e. the trunk from a few weeks ago. It therefore has a few features which the 2.18 release does not. 2.20, the stable release corresponding to the 2.19 development series, will freeze in mid-March for a release sometime in June. In the future, the Bugzilla team hopes to release a new stable version every six months or so.
As most Mozilla people will have noticed, we’ve upgraded bugzilla.mozilla.org to the Bugzilla tip (which will soon become 2.20). There’s a list of important changes. Add a comment if you have any thoughts about the new system – features, performance, etc.
In other news, we hope to release 2.18 Real Soon Now… it would be somewhat embarrassing if it was overtaken by 2.20 ;-)
It might be somewhat surprising that I’m discussing this limitation, because the latest releases of Bugzilla (including 2.18) don’t have it. So why am I talking about it? Well, I think that implementing the feature in question was a mistake :-)
For a long time, we’ve had requests to allow people to “reply” to Bugzilla comments – i.e. to provide an automatic paste of a particular comment, with “>” marks, into the Additional Comments box. Kiko finally implemented this feature about this time last year in bug 207754. (I should hasten to add that there’s nothing wrong with the implementation technically.)
As you may notice, I wasn’t too keen on the idea, but there you go. In a project with more than one developer, you aren’t going to win them all :-) But why don’t I like it? Well, Joel, as often seems to happen, wrote an article which mentioned in passing why he thinks quoting is a bad idea.
Since then, I’ve become even more devoted to the idea of the value of good social interface design: we bring in experts like Clay Shirky (a pioneer in the field), we do bold experiments on the poor citizens of the Joel on Software discussion group (many of which are so subtle as to be virtually unnoticeable, for example, the fact that we don’t show you the post you’re replying to while you type your reply in hopes of cutting down quoting, which makes it easier to read a thread), and we’re investing heavily in advanced algorithms to reduce discussion group spam.
His point applies even more to Bugzilla than to the discussion forum software he’s talking about. In a medium like Bugzilla which is non-threaded (another feature-not-limitation, which I might talk about another time), and is both email and web-based, discussions are easier to follow with less quoting. This means that, for maximum usability we shouldn’t add features to Bugzilla which encourage it.
This post isn’t a bitter moan in disguise – I’m very happy with the Bugzilla project’s method of making decisions, and I’m not pushing to have the feature backed out. But I felt it was a worthy addition to this series, for the light that the discussion sheds on how one can (potentially at least) decrease usability by adding features which at first glance appear to improve it.
Normally, we test a Bugzilla release by upgrading bugzilla.mozilla.org to the release candidate. However, there is concern that we don’t want to have extended Bugzilla downtime (which is always a risk when doing an upgrade) while trying to release Firefox and Thunderbird 1.0.
On the other hand, we’ve been trying to release Bugzilla 2.18 for the past six months, and we don’t want another two months of delay (a month to Firefox 1.0 and then a month recovering and dealing with other related crises) now that we are so close.
So do we:
Answers on a postcard…
OK, I figured out how to do this automatically.
So, since the beginning of time, there have been 9567 bugs in the Browser, MailNews, Firefox and Thunderbird products which started as UNCONFIRMED, got confirmed before they got resolved[0], and ended up FIXED. This is a table of how long each of them took to get confirmed:
| Elapsed Time | # Confirmed | % Confirmed | # open UNCO older than this |
|---|---|---|---|
| 1 hour | 1378 | 13.9 | 12022 |
| 1 day | 5299 | 55.4 | 11961 |
| 1 week | 7171 | 75.0 | 11462 |
| 1 month | 8488 | 88.7 | 10450 |
| 2 months | 9053 | 94.6 | 9400 |
| 3 months | 9253 | 96.7 | 8201 |
| 6 months | 9436 | 98.6 | 6170 |
| 1 year | 9522 | 99.5 | 3585 |
| 2 years | 9561 | 99.9 | 409 |
So the larger data set bears out the results from the smaller one. After 3 months, we’ve squeezed 96.7% of the juice out of the UNCO pile. (And, these figures don’t take into account the case when someone finds a long-dead bug which doesn’t occur any more and marks it FIXED instead of WORKSFORME.) Yet, we have 8200 UNCO bugs open which are older than that.
[0] This is a technical limitation. There were 11912 overall; i.e. 2345 went straight from UNCO to FIXED. I don’t think leaving them out of the table skews the data, but I’ll listen to arguments that say it does.
Another class of requests we often get is “how do I delete this user?” or “how do I delete this bug?”. Jeff has left the company to go and rediscover himself in the high Himalaya, and that humorous “My shirts smell” bug you filed as #1 doesn’t seem quite so funny now the system is used by 3000 people.
Nevertheless, bug or user deletion is a bad thing to do, for much the same reasons as deleting comments – it alters history. Jeff did have an account and said a load of stuff, and no-one is served by having that fact obscured. Particularly not the people who responded to it.
So have a “useless/test bugs” dumping ground. Rename departed users to “Joe Public (gone)”. Change their email addresses to joe.public@hotmail.com.invalid if you like. But don’t try and erase all evidence of their existence. Apart from anything else, it’s not nice.
Bugzilla actually does have user-deletion and bug-deletion code, but it’s unmaintained, turned off by default, and there are big warnings next to it saying “Warning!”, (a good start), “This code may corrupt your database, Paypal your bank balance to the RIAA and cause you to run out of toilet paper just before guests arrive.” Or something like that. We even get people who turn it on and then say “Hey! Now sanitycheck.cgi is complaining!” Well, yeah :-)
Of course, it could be argued that we are just being lazy. All of this philosophical talk about “altering history” is just an excuse not to get off our backsides and do the work. Well, it’s true that this is not a major architectural assumption like sequential bug numbers. Proper bug deletion code, which maintained data integrity, could be written. But we haven’t – because (and this is what this series is all about) we don’t write good code to encourage bad practice. If people want to do dumb stuff, they can write the code for it on their own time ;-)
Another “limitation” of Bugzilla is that you can’t edit comments after you’ve submitted them. Someone who wants this ability usually puts forward one or more of the following arguments:
Editing comments is a bad idea because it is altering history. You said that stuff and, even if you wish you hadn’t, it had an effect on things other people had said. If you revise what you said, and they don’t, then there’s potential for confusion and inconsistency.
I sometimes use another bug tracking system whose comments are basically big textboxes. If you have something to say, you just add it at the bottom and hit Save – but you can also edit, remove or rearrange anything anyone else has said before. (Admittedly, this is an extreme case of comment editing.)
This system has several undesirable effects. The rationale for decisions often gets lost by people “tidying up”. You can’t be certain that you are reading what someone else read before they said what they said.
But what about those initial reasons for permitting it?
Comment editing, along with any form of history alteration, isn’t necessary and actually decreases the reliability and usability of your bug tracking system. Don’t go there.
One “limitation” of Bugzilla is that bug numbers are unique in a particular installation. To most people, this may more like common sense than a restriction – but we regularly get questions in the newsgroup like this one:
If I have two products… and I add a new bug to Product1, the bug number is 1.
If I then add a new bug to Product2, the bug number is sequential (ie. 2). In
this example there would be no bug number ‘2’ for Product1. Ideally we would
want Product1 to have bug numbering sequentially specific to the product, so if there are 100 bugs for Product1 then the bugs are numbered from 1 to 100.
Usually, the questioner doesn’t explain why it is that they want to do this (although often it’s not them, but their management driving the request). If pressed, they sometimes say something about “easier to manage or understand” and “having no holes in the bug numbering space”. However, the root reason is almost always a serious misunderstanding about how software development in general, and bug tracking in particular, works.
If someone cares what absolute value a bug number has, or how many bugs there are in the system (either in total or for a particular product), then they must be attributing some meaning to those numbers. 95% of the time, their view is that the smaller the number of bugs, or the smaller the change in that number in a week, the less buggy the product. They often don’t realise that this is what they think, but they do.
Of course, a moment’s thought will reveal that this view is nonsense. The mozilla.org Bugzilla has over 250,000 bugs (it passed that milestone recently), including 47,000 open ones. The bug counts have increased steadily since the very beginning of the project. Does this fact by itself mean that Mozilla has been getting buggier and buggier since 1998? No, of course not.
It would therefore be tempting to dismiss such thinking as harmless foolishness. However, this attitude, and the culture that stems from it, can be far more damaging to good software development than one might think. If having fewer bugs is encouraged, then:
Over and above all that, the person doesn’t normally explain what’s supposed to happen the first time a bug gets moved from one product to another, perhaps because it was originally misfiled. Do you change the number? Or have two the same number in a particular product?
The highest bug number in a bug system are a measure of only one thing – the number of times someone has pressed “Submit” on the entry form since you set the system up. Nothing else.
[Further reading (and my inspiration): Jouni Heikniemi]
I’m planning to write an occasional series of postings on “limitations” of Bugzilla which are actually features. As Joel has suggested (more than once; see three paragraphs from the bottom), sometimes you purposefully avoid adding a feature to a product in order to make it more usable.
This has been generally inspired by frequently asked questions in netscape.public.mozilla.webtools, and specifically by Jouni Heikniemi’s recent post. He talked about bug numbers being unique across an installation, which will be the topic I’ll address first, but I have at least four more ideas in the pipeline.
Look out for the first in the series tomorrow.
We’re currently in the last throes of releasing Bugzilla 2.18 Release Candidate 1. After 2 years, we are finally nearly there. :-)
I wonder if releasing software is anything like giving birth? Well… it’s definitely agonising (albeit only mentally), and protracted, and tiring, and just when you think it’s all over, there’s more to do. And once it’s done, nothing is ever the same again.
Hmm. No, that doesn’t work, really.
Further proof, if any was needed, of the scalability of Bugzilla, mozilla.org’s most popular web application. About an hour ago, the 250,000th bug was filed in bugzilla.mozilla.org (“b.m.o.”), the oldest and largest known Bugzilla instance in the world.
The machine which runs b.m.o. is called “mecha”, and it runs all of the following services for mozilla.org single-handedly:
Despite that, mecha’s specs are only that of a high-end Intel server:
The Bugzilla installation itself has the following statistics:
The Bugzilla application directory is 4 GB. 3.7 GB of that is duplicates data dating back to April 2001. (We don’t store the data which backs duplicates.cgi in the database; that was a mistake I made when I was young and foolish.)
We aren’t actually completely problem-free – we have run into a couple of scalability problems with bugmail. Bugs tend to go a bit funny when more than about 600 people or so need to be emailed when a change happens (and there’s currently 5 or 6 bugs on bugzilla.mozilla.org of which that is true). This should be fixed in the next release :-)