<< DeveloperWorks on DWR and Portlets | Home | Reducing the Edit-Compile-Test Cycle >>

Google Code Hosting - First Thoughts

I've been unhappy with java.net for a while (they currently host some of DWR), so when I read about Google Code Hosting, I thought I'd take a look. Thoughts so far:

Project Naming

When I tried to create a project called DWR at Google Code, they checked for a project named DWR at Sourceforge (it exists - I've used it to host some child modules) and refused to create one without my permission (me here being the owner of the SF project). So once Google had asked me if it was OK if I created a project with the same name as one I created earlier, I was good to go.

Subject: Request for project "dwr" on code.google.com
From: codesite-noreply at google dot com
To: joe_fish at users dot sourceforge dot net

Hello,

You are getting this email because you are the owner of
the dwr open source project.

The following user has attempted to create a new project
with the same name to be hosted on code.google.com:
joseph.walker at gmail dot com

[SNIP ...]

And then ...

The bug tracker might actually be useful

One of my issues with java.net is their terrible issues system. I've generally given up with it, and replaced it with a text file. You always know if your code isn't working well when your users prefer Notepad.

KISS

As usual, they've got the 'keep it simple, stupid" thing nailed. Look at the Google DWR page, and compare it with DWR at Sourceforge, or even DWR at Java.net. You could argue that the simplicity is because Google Code does not have important features (see below), but still a lot of the stuff that comes with java.net and sf.net is stuff you just want to get rid of. Why for example would anyone looking at the DWR page on java.net be interested in the release notes for CollabNet 3.5.1?

Project Checking

There appears to be no human checking on the projects at all. Both java.net and sf.net require a human to authorize projects before they start. I have to wonder, looking at the junk there is on both, why they bother though.

URLs

Both Dion and Bill recently blogged about clean URLs, but what is that /p/ doing in http://code.google.com/p/dwr/. Both Sourceforge (dwr.sf.net) and Java.net (dwr.dev.java.net) have better solutions to the URL issue.

Licences

The options are:

So there are a lot of licences that you can't use, and you can't do any dual licencing either. And why is the Artistic licence only available with GPLv2?

Downloads

None. Eh? - Note to Google: Please when you add a downloads section, make it easier to use that the java.net or sourceforge ones. The upload system could be really simple - "SCP to this folder, and it will appear here on the website". This would be a neat way to handle documentation too - I wonder if this system is open to any abuse that Google care about?

Motivation

I think that Sun are in Java.net to build community, which in turn helps Java, which helps Sun make money, albeit very indirectly. Collab.net are Java.net it to make money directly. They charge Sun and anyone else they think they can get money from - including open source projects. DWR would like to use SVN, but I can't afford the Collab.net upgrade fee.

VA are in Sourceforge for the page-views which generate ad revenue

But what about Google? Is Google Code Hosting purely altruistic?

I think it's part of the whole 'evil' thing. Google are building the worlds biggest database of personal information. They already know: who I know (Orkut, GMail) and where I am (Calendar), who my best friends are and what I talk to them about (GTalk) and all the websites I visit (Analytics, AdWords). They know what I'm writing about (Writely, Spreadsheet, Blogger), and whenever my tin foil hat slips I become sure they are working on something to compete with Riya which they'll plug into all the security cameras around the world so they can track me in real time (Maps, Earth (or is that Moon)).

I think they need to convince people that they are not evil to save people worrying about the privacy implications of what they are doing. And Google Code is part of that.

Moving

So am I going to move? I'd like to use Subversion because it understands file moving, which helps with refactoring. Patrick Lightbody has done some work Mavenizing DWR but it involves moving lots of files around. (I'm not sure why, but that's another story).

I'd like a better bug system. Correction: Just a usable one would do.

Maybe I'll end up with a real hotch-potch. google code for svn and bugs, java.net for downloads, sourceforge for sub-projects and Getahead for web hosting (Not even java.net lets me host servlets!).

I'll be updating this blog entry as I learn more



Re: Google Code Hosting - First Thoughts

Hey Joe, if you want I can setup a DWR project on our Jira instance here http://uwyn.com/issues You might however maybe see if the Codehaus is not for you. They've gotten a lot better over the years and the available tools are generally top-notch.

Re: Google Code Hosting - First Thoughts

For the time being I'd like to keep the website hosted at Getahead, and I recon that's not fair on smaller services like Codehaus or Open Symphony.

Thanks for the offer of a Jira project. Like using Code Haus or OS though it still might be a bit unfair on you. I'll have a play with the Google one and see what I think.

Re: Google Code Hosting - First Thoughts

Hi Joe. We'd be happy to have you over at JavaForge. We can handle downloads (uploaded via the web or as build artifacts from an ant build), and have issue tracking, forums, commit notification, etc. One thing we don't have is very clean urls, but I will suggest that to the guys at Intland. The server is also Subversion (no CVS)

Re: Google Code Hosting - First Thoughts

Joe,

Thanks for the excellent writeup. Allow me to throw out a couple comments for your (and your reader's) consideration:
  • The /p/ is in there because code.google.com has other things going on beyond just the project hosting. For example, visit code.google.com/enterprise/. Thus, we couldn't allow for things like code.google.com/dwr/ for fear of interfering with current or future needs of code.google.com. Something like dwr.code.google.com/ may have been possible, but had its own issues.
  • Downloads is our next Big Feature once we clean up all the little annoyances that people are reporting. It is hugely important, but we felt people could start getting set up and "kick the tires" while we finish that. You don't need the whole six-pack to enjoy a few beers. And yes, it will be very easy.
  • We're doing project hosting because we want to help the community. We have unique infrastructure and technology that we think can bring a fresh look at the hosting problem. I also believe that our focus solely on the OSS community is a big advantage (i.e. we don't have to do things [for money] that are counter to the needs of the community).
  • Please feel free to "hodge podge" using our services. From the start, our feeling has been that if you want to use a subset of our services/tools, then go ahead! We are never going to have the depth and feature-richness of sites like SF or tigris.org/java.net. We expect that if people find they need that, then they should be able to mix/match. We are attempting to provide an excellent service for the 90% case. The team has prior experience with building this type of site, and we know that trying to build for that last 10% can ruin the experience of the 90% case. We are striving very hard to avoid that.
I'm happy to answer more questions and concerns. I'll find them more easily on the google-code-hosting list/group at groups.google.com.

Cheers,
-g

Re: Google Code Hosting - First Thoughts

I like your comparison of SourceForge and Google Code...just curious, have you ever tried CodePlex? (www.codeplex.com)?

Re: Google Code Hosting - First Thoughts

if your looking to help streamline your project, you should check out a pms system called streber, doesn't have svn thou but has bug reporting and lots of other usefull stuff  

Re: Google Code Hosting - First Thoughts

Hi, There are more alternatives for SVN hosting. This blogs mentions some of them, http://www.zycomm.net/blog/?postid=2 Regards, Sipoy

Add a comment Send a TrackBack