Re:RubyGem is from Mars, AptGet is from Venus
by lsb on Friday December 05, 2008 @02:33AM
(#386776)
Why can't Central Command for RubyGems just upload any gem it gets as a Debian and RedHat package?
[ Parent
| on HN ]
Re:RubyGem is from Mars, AptGet is from Venus
by drnic on Friday December 05, 2008 @07:19AM
(#386920)
I'll have a crack at auto-converting all gems into debian packages if someone can point me to the "this is what debian packages need to look like" spec. Or the CPAN module->debian package converter that I recently heard about @ OSDC conference. Email drnicwilliams at gmail.com
Re:RubyGem is from Mars, AptGet is from Venus
by e1ven on Friday December 05, 2008 @10:05AM
(#387054)
Sounds like a great project. You might want to ping the debian team, and see where things currently stand;
If they don't want to accept your auto-packaged debs, you could set up your own repository, and auto-push them there.. That way people could pull in the Ruby Gems from there on a regular basis, as soon as they are auto-updated, without waiting for them to be released officially.
Debian team policy: http://pkg-ruby-extras.alioth.debian.org/rubygems.html
How to create packages:
http://www.ibm.com/developerworks/linux/library/l-debpkg.htm...
http://tldp.org/HOWTO/html_single/Debian-Binary-Package-Buil...
http://quietsche-entchen.de/cgi-bin/wiki.cgi/CreatingDebianP...
They're basically just tarballs with a pre and postscript, questions via debconf, and the dependencies mapped out in a manifest.
Re:RubyGem is from Mars, AptGet is from Venus
by drnic on Friday December 05, 2008 @10:19PM
(#387793)
Thx for the links. I've pinged the pkg-ruby-extras mailing list for help too.
Re:RubyGem is from Mars, AptGet is from Venus
by e1ven on Sunday December 07, 2008 @06:11PM
(#389228)
Just for the sake of anyone in the future who is reading this thread, two more links-