The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Release files on RubyForge and SourceForge with the XForge library

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Aslak Hellesøy

Posts: 29
Nickname: aslak
Registered: Mar, 2005

Aslak Hellesoy is a senior developer for ThoughtWorks, Inc.
Release files on RubyForge and SourceForge with the XForge library Posted: Jul 18, 2005 10:54 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Aslak Hellesøy.
Original Post: Release files on RubyForge and SourceForge with the XForge library
Feed Title: Aslak Hellesøy's uncommon sense
Feed URL: http://aslakhellesoy.com/rss
Feed Description: Ruby-related blog posts from Aslak Hellesøy
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Aslak Hellesøy
Latest Posts From Aslak Hellesøy's uncommon sense

Advertisement

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 is probably some unknown scripts around that automate this, but I haven't seen anything reusable.

I'm a very lazy person and I like to automate as much as my development process as possible - so I can spend more time on more important things. That's why I wrote the XForge library, a little Ruby library that does all of this release form grunt work for you.

Essencially it's a kind of page bot that logs in, keeps a cookie, and then posts some forms with file attachments. -Except that there is no browser or mouse clicks involved.

I had actually had some of this half-baked code lying around since 4 months back, but it wasn't until I came across DHH's Rake script that I found the missing link: Multipart POSTS that actually work!

So I took the best of the 2 and whipped up a little standalone library. It seems to work fine on RubyForge (XForge eats its own dogfood of course). I haven't tried it on SourceForge or anywhere else yet. If you try it, please let me know how it goes.

Read: Release files on RubyForge and SourceForge with the XForge library

Topic: Productize your application from a common base Previous Topic   Next Topic Topic: I bought a bike

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use