Category Archives: dev

Branching an SVN repository

Branches are required in the following scenarios: When you want to work parallelly on two separate versions of the code, both of which might undergo separate development. Or, when you are not sure about the current experimental changes that you’re … Continue reading

Posted in dev | Tagged , , | 1 Comment

Quick-start guide: Using SVN

If there is an SVN repo to which you have access (or have created using svnadmin), here’s how to start coding using this repo: apt-get install subversion mkdir svn cd svn svn checkout https://svn.somesite.com/repo_name/path cd path # make changes to code svn commit A … Continue reading

Posted in dev | Tagged | Leave a comment

Avoid results from .svn folders while grepping

A common problem while running grep in a path that is an SVN working copy is that the search results include those from the hidden .svn folder. The results also include binary files that have similar strings embedded within. Here’s … Continue reading

Posted in dev, linux | Tagged | Leave a comment

Cross-referencing a second version of Xen using the same LXR setup

After using Xen-3.4.1.1 for some time, I decided to move to Xen-4.0.1. However, I need to refer to my old codebase once in a while. So I decided not to throw away the LXR setup for the first version and … Continue reading

Posted in dev, linux | Tagged | Leave a comment

Cross-referencing Xen using LXR

1. Install lxr and dependencies using Synaptic. 2. Download glimpse from glimpse.cs.arizona.edu. Unpack the glimpse tarball and execute the following commands in the glimpse directory: ./configure –prefix=/usr/share/lxr/glimpse –exec-prefix=/usr/share/lxr/glimpse make make install (as root) This will install glimpse to /usr/share/lxr/glimpse. 3. … Continue reading

Posted in dev, linux | Tagged | 1 Comment

Patching and compiling xen-3.4.1 on Debian Lenny 5.0.5 (32-bit)

Lenny (Debian 5.0.5) comes with a 2.6.26 version of the Linux kernel. I need to apply a few patches to xen-3.4.1, compile it and boot using the patched Xen. The whole experiment is performed on a Dell Vostro 1015 laptop. … Continue reading

Posted in dev, linux | Tagged , , | Leave a comment