Summer of Code: Proposals Reminder

Mentoring a Summer of Code student is a great way to get new people involved in your area of the Mozilla project. So if you could use some help, and if you can think of a bite-size chunk of coding that a keen student could do over the summer, and that you’d be happy to supervise them in doing, please head over to the Brainstorming page and write it up.

In the past, we’ve had people working on a wide range of things, from core security code to unit tests, for almost every Mozilla-hosted project from Firefox to Rhino. If it means writing code or documentation, it’s suitable. If you’re not sure, contact me.

Successful Microsoft Partnerships

Nokia Plan B led me to “In memoriam: Microsoft’s previous strategic mobile partners“. This got me thinking: can anyone name a company which fits the following criteria?

  • Announced a major partnership with Microsoft
  • Took all or most of the actions or joint actions specified in the initial press release
  • Produced benefits to long-term shareholders as a result

Or to put it another way: can anyone name a Microsoft partnership which turned out to be a good thing for the company concerned? (This is not a rhetorical question; I am not implying there have never been any.)

“Partnership” means working together on products, not just reselling Windows.

JS Total Deminifier?

Patrick Walton has written a “JS Deminifier“, which undoes some of the work of minification to make your production JS easier to read.

What if, though, the minifier were to dump out its internal state, in the form of mappings from long names to short names and whatever other info was necessary, in a way a deminifier could understand? And you could then load that file into the deminifier in your browser, and it could apply it in reverse during the deminification process?

You could debug production websites, using the production minified code, but actually be able to read it in view source, and even perhaps in Firebug! :-)

Trademark “Equality”

Simon Phipps has written several pages of almost-entirely-good stuff about how you benchmark a project’s governance. I particularly like his description of the best governance structure as an “open, meritocratic oligarchy”. I proud of the fact that we pretty much have one of those at Mozilla.

The one issue I would disagree with him on is his comments on trademark policy. He writes:

There will be a community-equal trademark policy, granting every participant the same rights to use of the trademarks…

But who is a participant? Free software projects have fuzzy edges. If I contribute one patch, am I a participant? Does that then allow me to label the heavily modified builds of the code I am distributing with the standard project name? This seems like it could quickly mean that the trademark doesn’t offer any guarantees of what you are getting (which is the point of a trademark).

He also says:

A trademark that is under the exclusive control of one community member will be a problem if the community tries to take a direction that member objects to.

What sort of ‘problem’ will this cause? It will cause the fork to have to rename itself. But that’s OK – in fact, it’s a good thing, because if the source is different, the mark should be different. To put it in code terms, a trademark is not about identifying a codebase, it’s about identifying a distribution. Firefox is a distribution of the Mozilla codebase by the Mozilla Organization; Songbird is another one from Pioneers of the Inevitable; and TomTom Home is yet another, from TomTom. If someone else distributes some different software built from the Mozilla codebase (and all forks are different – that’s the point) and there is no agreement with the trademark holder, then it’s right that there should be a new mark so people know what they are getting and who they are getting it from.

Having said that, I entirely agree that there are good and bad practices surrounding trademarks. I think that there are things you should look for in a free software project’s trademark arrangements – such as whether the trademark is easily removable without affecting the function, whether there are a documented and approved set of steps for removing it and being in the clear legally, and whether the day-to-day usage policies are things you can live with. (I’ve been meaning to write a more detailed paper on this for at least 5 years, but still haven’t got around to it…)

But I can’t agree that a “fully egalitarian” trademark policy is necessary for good governance, or is even in the best interests of the project. What would happen to the meaning of the word “Firefox” if Mozilla had such a policy? One group who would definitely benefit would be these people…

Summer of Code 2011

The Google Summer of Code 2011 has been launched. The Mozilla Project has had the honour of participating in every SoC so far, and intends to submit a request to take part again. This means we need to produce a list of suitable student projects in the next four weeks.

We are collecting ideas for every part of the project – Firefox, Thunderbird, Camino, Seamonkey, Bugzilla, L10n, NSS, Drumbeat and many more. If you have a proposal, head over to the Brainstorming page. Please read the instructions at the top – following them vastly increases your chances of your idea getting added to the formal Ideas page.

Note that, in order to have much chance of going ahead, ideas need to have a suitable mentor. So if you submit an idea and you aren’t available to or suitable to mentor it, you may want to go about trying to find one by politely emailing experienced hackers in the appropriate areas of the code.

Bugzilla API 0.9 Released – INCOMPATIBLE CHANGES

Version 0.9 of the Bugzilla REST API has been released.

This version has INCOMPATIBLE CHANGES in the data format – some field and parameter names have changed (see below). Therefore, the “/latest” installation on https://api-dev.bugzilla.mozilla.org has not been updated with it yet. It will be updated on

Wednesday 2nd March

which is 1 month from today. At that point, all clients using that installation must be able to deal with both old and new formats.[0] If you want to only support one format, you can update your code and migrate to the /0.9 installation at any point before then.

Also, 0.9 fixes BzAPI to deal with some late-breaking Bugzilla 4.0 changes. If you are deploying Bugzilla 4.0, this is the version you will need.

People deploying installations of 0.9 against their own Bugzillas should take note of the “Upgrading” section below.

New In 0.9

  • Field name changes to match XML-RPC API
  • Bugzilla 4.0rc2 now fully supported

Compatibility Notes

  • Four field names on the “Bug” object have changed, to match the names chosen for the Bugzilla XML-RPC API’:
    • reporter -> creator
    • is_reporter_accessible -> is_creator_accessible
    • token -> update_token
    • is_everconfirmed -> is_confirmed

    In each case, you will need to change your code to look for the first hash value and, if it’s not found, look for the second one.

  • The emailN_reporter field is now called emailN_creator, to match the
    above change.

  • Versions 0.6.1 and 0.7 are now no longer available on the api-dev
    server.

Upgrading Your BzAPI

BzAPI now comes with a Bugzilla extension, suitable for 3.6 and above, which replaces (most of) the patches that we used to ship. Unless you are on an earlier version of Bugzilla, please remove the old patches (except the XML-RPC one) and install the extension instead. You may want to symlink it so it automatically gets updated in step when you upgrade BzAPI.

Those choosing not to do this will still need to take a new version of config.json.tmpl from the patches/ directory.

File bugs | Feedback and discussion

[0] I apologise for not having a better backwards-compatibility story, but it was very difficult to update all the tests to support the data being duplicated in two field names. I tried, and gave up as it was taking too long. And this is pre-1.0 software (just).

WOT and “Trustworthiness”

It is regularly suggested that Firefox should have something like WOT (Web of Trust) for verifying the trustworthiness of websites. People often propose this as a replacement for the SSL model of identity verification (although SSL says nothing about trustworthiness, only more or less about identity) or as a replacement for Google’s list of attack sites and web forgeries.

A friend of mine recently wrote an interesting and informative blogpost. I sent a link to another friend today, who viewed it and then replied back:

That site has a truly dreadful WOT rating – who did he upset?

And a small amount of thought about that, my friends, will tell you why WOT is unsuitable for Firefox.