[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hello friendly Ruby people



Hi Tim!

On Fri, Jul 25, 2014 at 5:53 AM, Potter, Tim (Cloud Services)
<timothy.potter@hp.com> wrote:
> Hi everyone.  I'm interested in helping out with Ruby packaging for Debian.

Great, welcome!

Have you had a look at the team wiki section

    https://wiki.debian.org/Teams/Ruby

Consider joining the Alioth project so you can access the team repository.


> 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.

Sounds great!


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

It is good to have a tentative list of prospective packages, especially to show
what others can do if they want to help out.

Both Diaspora and GitLab are discussed widely on this list from time to time,
with lists of gems and current status etc, e.g. this thread discussing GitLab

    https://lists.debian.org/debian-ruby/2014/03/msg00070.html


> 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.
>
> 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?

I understood that this was solved in another way. However, if you need to
create and handle patches quilt is the standard tool for this, hence the
source format 3.0 (quilt).

Quick one-off patches are created simply with dpkg-source --commit.


--
Per


Reply to: