You are currently browsing the monthly archive for November 2007.

After a good 5 hours online with Rob Helmer I finally figured it out. I got Tinderbox working locally on my Ubuntu computer. The main pitfalls were finding which packages were needed to get the install actually working correctly. Afterwards, there were a few files that I needed to manually copy over by hand (thanks to broken makefiles) and it was golden.

I’ll post up a complete guide when I get the time to do so, otherwise anyone is welcome to come to me with questions. Note that I only got Bonsai (which is another required program) working just enough to get by.. So I won’t be of much help in that area.

Advertisements

Well, my tinderbox presentation on Friday went nice and smoothly. The class seemed to understand the project well and didn’t have too many questions. Despite my lack of contribution ideas I was presented with some good ones by Chris Tyler.

The main stumbling point for my project right now is getting a running instance of tinderbox on my home machine. This will allow me to test my new code that I’m trying to contribute to tinderbox that will make my front page possible. So far it’s been quite a challenge. The contribution idea was if anyone wanted to try their hand at setting up a Bonsai server or Tinderbox server then that would be greatly appreciated.

Well, unlike my previous release there are no flashy screen shots this time I’m afraid. The release for me this time was hacking away at the tinderbox Perl code *shudder*.

<tangent>I grew up on PHP and Perl is radically different to me. Never really taking the proper time to learn Perl seems to be a mistake at this point. Although, this past release I’ve revisited Perl with a trusty reference book by my side and realized its power yet again… Which would be files</tangent>

The idea with this release was to get a simple JSON listing for all tinderbox trees. In layman’s terms: Figure out how to get Perl to output something called JSON (A markup style for JavaScript) for all the build projects that Mozilla has. Well, lucky for me a JSON output method existed already. But it was full of overly detailed information that was not needed, and this was where I came in.

During my last release (which was turned down) there was concern expressed in the amount of server requests and processing time required to generate the relatively complex index page. Therefore, by trimming the “fat” out I’m hoping to speed things up.

Note that installing and running your own tinderbox is a monumental challenge (As is stated in the INSTALL file) and I never actually got it working.. at least yet.. (Needs bonsai as well, which is another challenge in itself) Therefore testing was not preformed.

The hardest part was probably just learning what all the code really did as I knew what I needed was there, somewhere. This also saved me from re-inventing the wheel and getting slapped on the wrist in a code review…

I’m interested to see how this one turns out. Let the fun begin 🙂

Patch can be seen here

Well, as the 0.2 deadline rolls around I’ll start by laying out the groundwork for what needs to be done to Tinderbox. The main thing now is instead of making it look nice I’ll have to make it more efficient.  The last release I made looked great,  however, had too many server calls to really be acceptable.. one call per tree which would put it at around 25 maybe.

 The thing is, the current tinderbox code doesn’t have any way for me to extrat the critical information that I need to make it less server intensives.  Therefore I will be adding JSON output per tree to make my 0.1 release functional.

Looks like things were not so easy after all for me.. Thats ok, I like a good challenge! Erm, anyone know JSON? (a joke, I swear 🙂

Last weeks class on tweaking Thunderbird was interesting.  Since we haven’t worked on Thunderbird before it gave the whole class a chance to see how that program worked in comparison to the all mighty Firefox.

Well, as it seems, working on Thunderbird feels exactly the same as Firefox!  This might have a lot to do with the fact that they are both based on the same framework.  But that’s the beauty of it!  It’s just another example of how easy it is to work with Mozilla products yet again.

Over the past few weeks since I built FF3 on Ubuntu and blogged about it I’ve received a few comments on it. Surprisingly, people have actually used my how-to! I can only imagine how many others have used it and just not left any comments.

When I first created the post I thought to myself “How could this possibly be useful? Mozilla already has some documentation on the process.” But the documents are quite generic and made for all operating systems.  And it seems that some Ubuntu  users were more than happy to see a direct how-to on this process.

I guess my point is, even if you think that something might not be useful to you it may just be the saving piece of info for someone else lost out there in cyberspace..