Ayende @ Rahien

Refunds available at head office

Running on the Trunk

I am one of those fellows that tend to run on the trunk.

What does it mean?  It means that I am using the latest version of the source for my projects. So, I am on the trunk for Boo, NHibernate and Castle (which can be tricky, since Castle isn't on NHibernate trunk).

This has significant advantages for an active OSS project, NHibernate's trunk has the multi criteria support, MonoRail's trunk has the testing support, and since stuff is moving in response to the needs of the users, it is evolving fast. Sean Chambers was impressed by how fast this can happen in many cases. (In others, it is a slower process, but still mostly visible.)

There are some disadvantages, people (recently it was mostly me, sadly) can break the trunk, or commit functionality that breaks your code. In general, I have not found this to be the case for the projects that I am working on. A lot of the committers are running on the trunk as well, and there is a big pressure to make sure that the trunk is stable (ready to ship) because I, at least, do ship from it.

The major disadvantage here, from my point of view, is using a piece of code that is still under development or review. The recent case was Criteria cloning in NHibernate, which has gone through some modifications to get to its current form. Personally, I don't find it onerous to do so, and those are usually rare.

The big advantage is that you get continiously improvements. I does reviews of the changes every now again (now limited to scanning the logs and looking at what has changed) and it keep amaze me how much good stuff is going in there.

Comments

Adam Tybor
05/31/2007 06:47 AM by
Adam Tybor

Running the trunks here too :)

I wish there was an easier way to manage dependencies between projects. Its a pain to maintain my own minor Castle changes because it is stuck using NH 1.2GA.

Ayende Rahien
05/31/2007 07:00 AM by
Ayende Rahien

svn external is one way of doing it, but I am making significant changes rarely enough that it is not much of a pain.

Dan Goldstein
05/31/2007 11:32 AM by
Dan Goldstein

I'm curious why don't these projects release more often if the trunk is stable enough for use? Castle took 10 months between RC1 and RC2, which is a long time to wait for an update for someone who doesn't run on the trunk.

Steve
05/31/2007 12:05 PM by
Steve

From someone who uses the software, honestly it's makes it very difficult to keep up to date all the time.

So, you'll write about something that isn't available, etc...

I agree totally with Dan and wish there were more recent releases.

Why have a 'RC' when you have trunk that everyone uses instead...(which means I have to pull down source code, build, etc... when all I want to do is use the product, not modify it)

It's good you are on the cutting edge, your a developer on the team :) I'm just saying the people using the parts of it don't always do this - ie. I'm in the middle of developing a solution for a customer and don't want to be in constant flux on some parts I consider to be rock solid

Sean Chambers
05/31/2007 12:19 PM by
Sean Chambers

Thanks for the link Ayende!

For a long time I tried staying away from the trunk for the reasons you posted above. After awhile though, I broke down and started running off the trunk as there was significant improvements to the codebase that I wanted to leverage, testing support being the crown jewel.

In addition to getting the added support of running from the trunk, you also get any patches that were applied since the last RC, which from my point of view is worth it.

I have yet to run off NHibernate's trunk, as 99% of the features in the GA suffice in what I need.

Tim Scott
06/01/2007 05:54 AM by
Tim Scott

Running on the NHibernate trunk has seemed unavoidable for some time -- what with the ICriteria functionality trickling out. That's no a slam on the NHib folks. God bless 'em for getting what they could out as soon as they could! No sooner do I need some feature (like outer joining), and wham is shows up in the trunk.

Ayende Rahien
06/02/2007 01:35 PM by
Ayende Rahien

Dan,

The reason we don't release more often is that there is usually no pressure for this.

You see CTP and stuff like that from closed source projects, because they need this kind of visibility, there is more of a need to do official stuff.

Beyond that, releasing a project is non-trivial in the amount of time that it takes. Documentation, setup, etc are all things that takes time, and that time has to come from somewhere.

Comments have been closed on this topic.