Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Thursday, April 3, 2008

Redmine with Mercurial

Redmine just released a 0.7RC1 version. For those who does not know, Redmine is project management tools like Trac. It is developed using Ruby on Rails.

At the moment redmine has much more features that have been in Trac's request list for a while.

Some of the important features:
  • Multi projects support
  • Built-in support for numerable version controls. Pretty much most of the known open source tools out there, like: cvs, subversion, git, mercurial, bazaar, darcs.
This makes redmine one of my favorites tools at the moment.

Anyway, current integration between Redmine and mercurial has a slight incomplete feature where it does not able to show the different activities on the files between versions/revisions. So I had created a patch to mercurial_adapter.rb file to support that feature. The patch can be found here.

At the moment I am using hg status to pull the information, but it is not very efficient as it requires multiple calls to hg status for each revisions it processes. Originally I try to keep the original code calls to utilize the hg log which require 1 call and just parse the data. Unfortunately the regular hg log does not provide the file action information and I am unable to get the file_adds and files_dels to show anything on hg log --template.

I am currently running on Ubuntu 7.10 with standard ubuntu package of mercurial version 0.9.4. If anyone know how to get the file_adds and file_dels to work, please drop me a note.

Monday, March 5, 2007

Trying Ubuntu 6.10 on VMWare

I haven't been using linux for a while; last time I used it for daily stuff is probably 4-5 years ago at work. My first experience with linux was with Redhat 5.X which I bought from Tattered Cover; and the last time I used linux extensively was with Mandrake 8. Basically my previous experience were on RedHat-derived system using rpm for the package management, which is quite different from Ubuntu. Since then I mostly setup linux for development servers, for running tomcat/jboss, cvs/subversion, etc. So my linux knowledge is really obsolete and not very well verse on the desktop end.

I recently gave Ubuntu a try because I want to explore more on using linux as my daily working environment. I know..I know a lot of people has been using it daily,..I just been away too long, okay? The reason I chose Ubuntu because I just need something simple and I don't want to spend to much time tweaking and configuring the system. I just need something that will let me do what I want to do, which is mostly coding and browsing. I did not do a fresh installation of Ubuntu yet, instead I am giving it a try running on VMWare. I grabbed Ubuntu version 6.10 vmware from here.

I am quite happy with the default vmware image I had downloaded; it have most of the stuff I need. I do not need any specific stuff, since I am using it mostly for development ruby stuff. The only packages that I installed outside the default are: ruby, irb, rdoc, mysql, and full vim support.

Running Ubuntu under VMWare is pretty smooth, the only extra configuration that I have to do are the XOrg configuration for the video card and mouse driver. The video card configuration to allow higher resolution and the mouse driver change is for fixing the slow and jerky mouse response when running under vmware. I wanted to post the links to the information on how to do the video and mouse configuration, but I had lost the links and too lazy to find them again. I can tell you that I found the information from vmware's forum and ubuntu's forum.