now git replaces svn completely and Nifty 1.3.1 is scheduled

// September 15th, 2011 // design

The idea to keep svn around for a bugfix release 1.3.1 while keeping the main development for Nifty 1.4 in git sounded reasonable at first. But since we’ve got so quickly used to git going back to svn each time really felt odd :) And although its possible to use git and svn together it kinda made no sense to keep svn around at all. So now everything is git which makes things more clear. Good bye svn!

So there is now a 1.3.1 branch in git. But wait! Doesn’t Nifty consist of lots of individual jars (nifty, controls, style, renderers, sound-system implementations and so on)? So we need a branch for each individual jar, don’t we?

Yes, but fortunately we can combine all of the individual maven projects into a multi-module maven project. This way we can now build the nifty-core project together with all of the dependent jars. This gives us the additional benefit to use the parent pom to define versions for plugins we use as well as common dependencies in one place instead of all the individual poms.

To combine the different repositories into one we’ve used yet another feature of git. It’s possible to treat another git repository as a remote repo when both exist on the same filesystem. And this his how it works:

git remote add <name-we-want-to-give-this> /path/to/other/repo/.git
git fetch <name-we-want-to-give-this>

And that’s all! We can now merge with this remote one exactly the same as with any regular branch! :)

So with all of the projects merged into one repository and with all of the maven multi-module setup in place everything looks pretty again. Instead of the individual projects/repos we only need to branch a single git repository/maven project. Here is the Nifty 1.3.1 Branch in the Git Repository.

The current development is concentrating on Nifty 1.3.1. This version will contain bugfixes and improvements based on the Nifty 1.3 release. 1.3.1 will be compatible with 1.3 and will especially improve Niftys performance. For instance with some of the latest commits Nifty will now generate much less new objects each frame which will reduces the amout of GC runs necessary by quite a bit already :)

There are some other performance improvements scheduled as well especially to improve the rendering speed of text elements.


5 Responses to “now git replaces svn completely and Nifty 1.3.1 is scheduled”

  1. Goffredo says:

    Hi, I can’t seem to access the GIT repository the way sourceforge suggests. It only happens with nifty gui though, other projects are fine. Could you try and verify if it’s only a problem on my side? I am trying to clone from git://

    Thanks for nifty, I love it!

  2. goffredo says:

    Hi, I actually can’t access the git repository. I try to clone from the link sourceforge gives, but I get an error saying that the repository was not found. Is it a problem on my side?

    Btw, thanks for nifty, I love it!

    • void says:

      Unfortunatly one can’t change the text displayed under code / git and that URL is slightly wrong :/

      The correct URL is: git://

      • goffredo says:

        Thanks! Sorry for the double post! Would you maybe at least make a post so this error gets more visibility (so that others can download from git too!)

Leave a Reply