Gitorious 3.0 lands in the next branch

After a few months of hard work, we just merged the Rails 3 feature branch into the next branch in the Gitorious mainline repository.

The major new feature in this branch is that Gitorious now uses Rails 3. This required quite a few changes to Gitorious, which was bound to introduce some non-backwards-compatible changes. We took the opportunity to deal with a few other long pending issues, and we’re really happy with the way this turned out.

The major changes you will have to deal with while upgrading are as follows:

  • Upgrade your gitorious.yml. Quite a few of the settings in this file have been renamed for consistency, and gitorious.yml now also supports “global” settings shared between the various Rails environments.
  • Stomp is no longer supported for messaging. A lot of users have been having trouble getting a Stomp server running reliably, and the scripts we used for consuming messages off the message queue would leak memory, causing all kinds of problems. gitorious.org has been running with the new setup (Resque/Redis) without any issues for a month now, and this is the only supported asynchronous message queue in Gitorious 3.0. To start using Resque simply install Redis, which is available in the repositories for all major distributions.
  • Replace the database driver defined in config/database.yml on your server with “mysql2″.
  • You should consider upgrading your Ruby version to 1.9.3, although Gitorious 3 will still work with Ruby 1.8.7. Upgrading to 1.9.3 will give significant speed improvements, and 1.8.7 will only be supported for a limited period of time. If your distributions has 1.9.3 in the repositories you should be able to install it from there.

There’s a recipe for upgrading to Gitorious 3 in the doc/ directory in the mainline repository, and a script in bin/upgrade-gitorious3-config to migrate your gitorious.yml file to the new format.

What happens next?

We just completed the first step in the migration, which is merging it into the next branch in the mainline repository. New features will be created on this branch, and only critical patches will be backported to the 2.x-stable branch.

We plan to start migrating gitorious.org to 3.0 next week and will release 3.0.0 within a week or two. Although we’re not aware of any open issues in the current next branch, we will respond quickly to any issues reported from users running this branch on their servers. We have been running this branch on our internal (aka. dogfood) server for a long time without any major issues.

By running from the next branch of Gitorious, upgrading to the final version will be a matter of pulling and merging the 3.0.0. tag once that’s released. You’ll be reaping the benefits of a faster, simpler Gitorious installation and quick response to any issues you’re having from the Gitorious team.

While helping us finalize Gitorious 3.0, you will probably find a place or two where the UI contains escaped HTML code; this is due to Rails 3 by default escaping HTML to prevent XSS situations. These issues are easy to fix, but can be hard to find without extensive use of the UI.

5 Comments

  1. Posted September 20, 2013 at 3:52 pm | Permalink

    Unfortunately, these anti-yeast drugs onlyy proved
    to be a temporary solution aand were not effective in providing a
    permanent remedy to my candidiasis. One oof thee recommendded books is here click on the link “How to get rid of yeast infection”.
    Each of these symptoms varies depending on whhere the infection is
    on your body.

  2. Posted October 5, 2013 at 10:02 pm | Permalink

    However, there are many people out there who are very savvy, and are simply con artist or are
    trying to cover their tracks to avoid you findcing
    out their true colors. Let’s go. Watch FREE hidden
    camera pickup videos and discover.

  3. Posted October 31, 2013 at 5:36 pm | Permalink

    The other benefit that comes with pizza coupons is that
    locating them is very easy. So in this article I will express my personal thoughtts and also you will get the
    basic sum up of the views and comments about Joann Fabrics
    Corporation. However, there are a couple programs which can be cheaper than others.

  4. Posted November 3, 2013 at 1:55 pm | Permalink

    Thanks for the post. It is really interesting.
    New technology is impressive.

  5. Posted March 19, 2014 at 7:49 am | Permalink

    A lot of benefits from Pizza Coupon


One Trackback

  1. [...] we merged the Rails 3 branch into next back in January it was our intention that this would become Gitorious 3.0, with few user-visible features. Our plan [...]

Post a Comment

Required fields are marked *

*
*

Follow

Get every new post delivered to your Inbox.

Join 714 other followers

%d bloggers like this: