troelskn / handsoap

Handsoap is a library for creating SOAP clients in Ruby
http://github.com/unwire/handsoap
151 stars 2 forks source link

Official releases on rubyforge #16

Closed gettalong closed 15 years ago

gettalong commented 15 years ago

Hi,

would it be possible that you create a project on rubyforge for releasing the official handsoap library (as .tgz and .gem)? With the help of the rubyforge gem or the hoe gem, it is rather easy to release files/news on rubyforge and rubyforge is still the main gem server. Then it would be possible to specify handsoap as dependency in other gems.

If you like, I can provide you with the basic rake tasks.

Best regards, Thomas

ps. Why .tgz? Linux distributions don't really like gems and are more comfortable with .tgz files. And creating the .tgz file along the .gem file is no additional effort.

troelskn commented 15 years ago

What's wrong with github, in this respect? You can install with:

gem install troelskn-handsoap -s http://gems.github.com

I'm pretty sure (although I don't recall the exact syntax), that you can specify source of dependencies, in the gemspec.

gettalong commented 15 years ago

Okay, I have just tested installing a local test gem with a dependency on troelskn-handsoap and this works. However, I don't know if a gem served by Rubyforge will work. Will have to test this.

However, there is no option for specifying the source of a gem dependency in the gemspec.

troelskn commented 15 years ago

However, I don't know if a gem served by Rubyforge will work.

I don't see why it shouldn't.I don't think Rubyforge has a privileged status over github, with regards to gem.

I'd rather not have to publish the gem in multiple places, just to save people from adding github as a gem source. There are lots of other gems that are distributed through github (For example Rails), so I think it's fair to assume that users add it as a source.

gettalong commented 15 years ago

Rails is hosted on github but the official gems are distributed via Rubyforge (see Rails rubyforge project).

Although I kinda like having rubyforge as central gem repo, I'm not against adding github as gem source. I have pushed a test gem to rubyforge with a dependency on troelskn-handsoap and it worked. So I will specify troelskn-handsoap in the gemspec. However, I think you would probably avoid confusion if you released your handsoap library as handsoap gem and not as troelskn-handsoap.

troelskn commented 15 years ago

Gem is now available through gemcutter. Please file a new issue on the tracker for unwire/handsoap, if you still think we should distribute through Rubyforge.

gettalong commented 15 years ago

Gemcutter is fine, thanks!

kennethkalmer commented 15 years ago

Great effort, thanks !