Hi Tim,


have you read: [1]https://wiki.debian.org/Teams/Ruby/Packaging
?



It's a good start.



Cheers,

Ondrej



On Fri, Jul 25, 2014, at 05:53, Potter, Tim (Cloud Services)
wrote:

Hi everyone.  I'm interested in helping out with Ruby packaging
for Debian.  In particular I'm keen on a rather ambitious
project -  to package elasticsearch and logstash.  There's some
work in progress already on the debian-java list for the Java
dependencies, and I thought I would also start looking at the
Ruby gems required for logstash plugins.



My initial list of gems required for the logstash plugins is
pretty long about thirty gems.  Too boring to list here?



Just to get my feet wet I've had an initial go at
ruby-awesome-print using the instructions on the
Teams/Ruby/Packaging wiki page.



[2]http://anonscm.debian.org/cgit/users/tpot-guest/ruby-awesome
-print/



There appears to be some different in the way dh_ruby runs
rspec tests vs the command line so a patch is required:



--- ruby-awesome-print-1.2.0.orig/spec/spec_helper.rb
+++ ruby-awesome-print-1.2.0/spec/spec_helper.rb
@@ -16,7 +16,6 @@
 #
 $LOAD_PATH.unshift(File.dirname(__FILE__))
 $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..',
'lib'))
+require 'rspec'
 require 'awesome_print'

 def stub_dotfile!


I'm not sure whether making a patch using dpkg-source --commit
is the correct approach though.  Does anyone care to chime in?


Regards,

Tim Potter
Cloud Systems Engineer
HP Cloud Services

[email protected]
M +61 419 749 832
Hewlett-Packard Australia Pty Ltd

This e-mail may contain confidential and privileged material
for the sole use of the intended recipient. Any review, use,
distribution or disclosure by others is strictly prohibited. If
you are not the intended recipient (or authorised to receive
for the recipient), please contact the sender by reply e-mail
and delete all copies of this message.

  Email had 1 attachment:
  * smime.p7s
  *   7k (application/pkcs7-signature)



--
Ondřej Surý <[email protected]>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS
server

References

1. https://wiki.debian.org/Teams/Ruby/Packaging
2. http://anonscm.debian.org/cgit/users/tpot-guest/ruby-awesome-print

Reply via email to