Import Github projects to Ohloh
I wrote a program to import my Github repos into Ohloh. It works, mostly. It can read the projects from Github, add them to Ohloh, but it's broken in ways I don't understand when it comes to claiming them in Ohloh. Sometimes it works, but mostly it doesn't. The Ohloh API is read only, so I have to screen scrape to go through their awful web forms. To claim the rest of the stuff, I search for my name under "people" and claim what's left. Even then it doesn't always work and it seems to want to rename me based on other committer names (say, 'brian' versus 'briandfoy' versus 'brian d foy'). I'm still a bit boggled that it can't just figure this out by knowing my github account.
I got sucked in by two things. I heard a rumor that Ohloh would take over the space that Google Code Search once had. I haven't found that yet, but I wanted to have all of my projects in there in case it happens.
The other thing was playing with Mojo:UserAgent. I like it for web services because I can use the built-in DOM stuff. However, I still want Mojo::Mechanize. I didn't have anything complex here, so I pulled in HTML::Form and did some things myself. That might be why part of my program is broken. But, I'm moving on. My program is now a gist so you can play with it.