Tuesday, April 26, 2005

bye bye LXR

I was on the #gentoo forum today, and I found another tool I can use to look at code. One of the people there told me about global, another code marking tool. I guess I could have used ctags as well.

Another Reason I Enjoy Computing, Gentoo in particular.

A really good article on Linux Journal's web site highlights some of the reasons Gentoo is a really good distribution. With source-based distros the reported advantage is maximum optimization of the resources of the machine, but the author highlights some other goodies I've tried on my Gentoo boxes at work and at home.

Since I installed Google Desktop on my WIndows box at home I've looked for something analagous to Google Desktop on Linux. My search led me to some pretty good alternatives, most notably Aduna AutoFocus and Beagle, both based on a project called Lucene, hosted by Apache. Beagle has a really nice interface, but the daemon stops communicating with the clients after a while. I was able to script around that such that every 15 minutes the daemon restarts. Also I couldn't get the web service for Beagle to work for some reason. AutoFocus has a nice interface, and a nice graphical display of your results, but I'd like something that interfaces with my web browser, like Google Desktop. It seems like AutoFocus has a companion called Metadata Server, but I haven't played with it enough to see if that meets my needs, and also, it requires Tomcat, so I don't know about the overhead.

Anyway I had a chance to work on modifying ebuilds in Gentoo, and also to create my own ebuilds. I made one for OpenSHORE, a tool that can be used to analyze Java code, among other things. It works fine, but I need to tweak it such that it points to the right Expat library. And the Binary is in German, so I'll have to tweak the ebuild to potentially compile the application in English.

One of the neat things about the ebuilds is you can do your own "version bumps," which is upgrading the version of the software without having to wait on Gentoo Foundation to put the ebuild in the official Portage tree (coolness.) It seems painless, but when I tried to do it for LXR, another code analysis tool, it didn't work out too well, because the way the program got installed changed. Not a problem. I now have an opportunity to use Subversion to make changes and keep track of them. I also need to get Bugzilla working, so I can pitch that as a help ticket system for my job.

Ideally I'd like to roll up my sleeves and work on some code for software I like and want to fix, and hopefully setting up some of this software will help me do it. Just a matter of choice and time.