|
[Ruby]
Release files on RubyForge and SourceForge with the XForge library
[
Aslak Hellesoy
]
If you have ever hosted a project on RubyForge, SourceForge or some other clone such as GForge, you have probably experienced the pain of making a release on these systems. This is because these systems only offer an ugly form based interface for releases. No web services, no scp. Just these bloody forms. -And most people interact with them manually, uploading files, pasting in release notes and so forth. There are probably some odd, unknown, project-specific scripts lying around in random places that can automate this, but I haven't seen anything reusable. In fact, I hadn't seen anything at all, so 4 months ago I wrote my own script to do this. Except I couldn't get the HTTP multipart posts (attachments) to work properly. So I left it fermenting for a while... But two days ago I felt the pain again, and I came across DHH's Rake script which does something very similar. -And it had the multipart code I couldn't grok myself. So I decided to take the best parts of my old attempt and DHH's code from Rails' Rake script and make a proper library, so that others can use it. -Not only on RubyForge, but hopefully also on SourceForge and other sites running SourceForge clones. So if you're as lazy as me, check out XForge. XForge is released using XForge (of course!), so it works fine on RubyForge. Please let me know if you get it to work anywhere else, or if you have bugs or improvements. Not in my wildest imagination had I thought that anyone else (than me) would pick such a lame name for a project. Well, the Internet told me I was wrong. So I need a new name. Maybe OForge? Doh! Or shall I just sit back and wait to have my kneecaps broken by other XForgers? HELP! --Aslak Hellesoy, July 18, 2005 07:29 PM
Actually, gforge just added a Command Line Interface to the bug tracker, task manager and File Release System: http://gforge.org/projects/cli/ --Tim, July 18, 2005 09:10 PM
Tim, Sounds good. Is there any documentation anywhere on how to use this? What's the command line tool? All I found was a bunch of php. -And if I understand this correctly, RubyForge.org and SourceForge.net users won't benefit from it, will they? --Aslak Hellesoy, July 18, 2005 09:20 PM
Yay, I found the doco at http://gforge.org/docman/index.php?group_id=132&selected_doc_group_id=39&language_id=1 --Aslak Hellesoy, July 18, 2005 09:24 PM
It's always suprised me that something as simple as releasing software would be hard with these systems! I'm hoping that once I integrate Cruise with Trac I might have the beginnings of a solution for releases there too. --Sam Newman, July 19, 2005 07:41 PM
Post a comment
|