Debian Bug report logs - #436537
RFP: dh-make-ruby -- Create Debian packages from ruby modules.

Package: wnpp; Maintainer for wnpp is wnpp@debian.org;

Reported by: "Deepak Tripathi" <apenguinlinux@gmail.com>

Date: Wed, 8 Aug 2007 06:48:01 UTC

Severity: wishlist

Done: Christian Hofstaedtler <zeha@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, <wnpp@debian.org>:
Bug#436537; Package wnpp. Full text and rfc822 format available.

Acknowledgement sent to "Deepak Tripathi" <apenguinlinux@gmail.com>:
New Bug report received and forwarded. Copy sent to <wnpp@debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: "Deepak Tripathi" <apenguinlinux@gmail.com>
To: submit <submit@bugs.debian.org>
Subject: ITP: dh-make-ruby -- Create Debian packages from ruby modules.
Date: Wed, 8 Aug 2007 12:09:06 +0530
[Message part 1 (text/plain, inline)]
Package: wnpp

Severity: wishlist
Owner: Deepak Tripathi  <apenguinlinux@gmail.com>

* Package name    : dh-make-ruby
  Version         : 1.0
  Upstream Author : Deepak Tripathi <apenguinliunx@gmail.com>
* URL             : http://deepaktripathi.blogspot.com/
* License         : GPL
  Programming Lang: Ruby
  Description     : Create Debian packages from ruby modules .

 dh-make-ruby will create the files required to build a Debian source
package out of a ruby package.

-- 
Deepak Tripathi
E3 71V3 8Y C063 (We Live By Code)
http://deepkatripathi.blogspot.com
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, <wnpp@debian.org>:
Bug#436537; Package wnpp. Full text and rfc822 format available.

Acknowledgement sent to "Kartik Mistry" <kartik.mistry@gmail.com>:
Extra info received and forwarded to list. Copy sent to <wnpp@debian.org>. Full text and rfc822 format available.

Message #10 received at 436537@bugs.debian.org (full text, mbox):

From: "Kartik Mistry" <kartik.mistry@gmail.com>
To: "Deepak Tripathi" <apenguinlinux@gmail.com>, 436537@bugs.debian.org
Subject: Re: Bug#436537: ITP: dh-make-ruby -- Create Debian packages from ruby modules.
Date: Wed, 8 Aug 2007 12:31:45 +0530
On 8/8/07, Deepak Tripathi <apenguinlinux@gmail.com> wrote:
> * Package name    : dh-make-ruby
> * URL             : http://deepaktripathi.blogspot.com/

Hi Dipak,

I really couldn't find link to download the upstream package, Can you
please be verbose on that?

Thanks for good work!
-- 
-----------------------------------------------------------
Kartik Mistry  || GPG: 0xD1028C8D || IRC: kart_
kartikmistry.org/blog || kartikm.wordpress.com
-----------------------------------------------------------



Information forwarded to debian-bugs-dist@lists.debian.org, <wnpp@debian.org>:
Bug#436537; Package wnpp. Full text and rfc822 format available.

Acknowledgement sent to "Deepak Tripathi" <apenguinlinux@gmail.com>:
Extra info received and forwarded to list. Copy sent to <wnpp@debian.org>. Full text and rfc822 format available.

Message #15 received at 436537@bugs.debian.org (full text, mbox):

From: "Deepak Tripathi" <apenguinlinux@gmail.com>
To: kartik.mistry@gmail.com, 436537@bugs.debian.org
Subject: About home page
Date: Wed, 8 Aug 2007 12:49:05 +0530
[Message part 1 (text/plain, inline)]
Hi ,

i have just uploaded ,may be some problem with blogspo*.

if problem will persist i will move to www.sf.net and upload there.

PS:- it is in under process right now.soon you will get the full package.
-- 
Deepak Tripathi
E3 71V3 8Y C063 (We Live By Code)
http://deepkatripathi.blogspot.com
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, <wnpp@debian.org>:
Bug#436537; Package wnpp. Full text and rfc822 format available.

Acknowledgement sent to "Kartik Mistry" <kartik.mistry@gmail.com>:
Extra info received and forwarded to list. Copy sent to <wnpp@debian.org>. Full text and rfc822 format available.

Message #20 received at 436537@bugs.debian.org (full text, mbox):

From: "Kartik Mistry" <kartik.mistry@gmail.com>
To: "Deepak Tripathi" <apenguinlinux@gmail.com>, 436537@bugs.debian.org
Subject: Re: Bug#436537: About home page
Date: Wed, 8 Aug 2007 12:55:45 +0530
On 8/8/07, Deepak Tripathi <apenguinlinux@gmail.com> wrote:
> Hi ,
>
> i have just uploaded ,may be some problem with blogspo*.
>
> if problem will persist i will move to www.sf.net and upload there.

Hi,

I am wondering how you will manage 'source' on blogspot.com? sf.net is
really good option for a package, if you want tools like version
control etc.

I mean, upstream version not Debian package :)

Cheers,
-- 
-----------------------------------------------------------
Kartik Mistry  || GPG: 0xD1028C8D || IRC: kart_
kartikmistry.org/blog || kartikm.wordpress.com
-----------------------------------------------------------



Severity set to `wishlist' from `normal' Request was from Thomas Huriaux <thomas.huriaux@gmail.com> to control@bugs.debian.org. (Sat, 11 Aug 2007 10:51:07 GMT) Full text and rfc822 format available.

Owner recorded as Deepak Tripathi <apenguinlinux@gmail.com>. Request was from Thomas Huriaux <thomas.huriaux@gmail.com> to control@bugs.debian.org. (Sat, 11 Aug 2007 10:51:08 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, <wnpp@debian.org>, Deepak Tripathi <apenguinlinux@gmail.com>:
Bug#436537; Package wnpp. Full text and rfc822 format available.

Acknowledgement sent to Sam Vilain <sam.vilain@catalyst.net.nz>:
Extra info received and forwarded to list. Copy sent to <wnpp@debian.org>, Deepak Tripathi <apenguinlinux@gmail.com>. Full text and rfc822 format available.

Message #29 received at 436537@bugs.debian.org (full text, mbox):

From: Sam Vilain <sam.vilain@catalyst.net.nz>
To: 436537@bugs.debian.org
Subject: Source code is at...
Date: Fri, 25 Jul 2008 16:03:31 +1200
[Message part 1 (text/plain, inline)]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This appears to be stalled because the source couldn't be found...
strange.  A quick google finds it:

http://www.dzeta.jp/~junjis/files/dh-make-ruby/

Also, the package in its current form doesn't support rubygems, which I
think is a bit lame.  There's a patch attached for basic support for
packaging a downloaded ruby gem file; expect another version which will
download straight from rubygems.org soon...

And I really can't understand the position of
http://pkg-ruby-extras.alioth.debian.org/rubygems.html - perhaps it is a
historical oversight but as far as I can see a .gem is just a tar within
a tar (very much like .debs).
- --
Sam Vilain, Chief Yak Shaver, Catalyst IT (NZ) Ltd.
phone: +64 4 499 2267        PGP ID: 0x66B25843
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiJUJEACgkQ/AZAiGayWENwrQCglI+Agg7KdmR07lGWJUwMCBWr
vvIAnjSRmO3Ujpis5UPHQR0IS+T7M2ts
=5vmj
-----END PGP SIGNATURE-----
[dh-make-ruby.patch (text/x-patch, inline)]
--- dh-make-ruby.orig	2008-07-23 10:17:12.000000000 -0700
+++ dh-make-ruby	2008-07-23 11:54:31.000000000 -0700
@@ -274,22 +274,61 @@
 end
 
 if ARGV.length == 0 then
-  puts "Usage: #{$0} dir"
+  puts "Usage:   #{$0} <target>"
+  puts "Options:\n    --gem|-g  treat target as a rubygem"
   exit
 end
 
 maintainer = get_username
 mailaddr = get_email
 
+require 'getoptlong'
+
+opt = GetoptLong.new(
+  ['--gem', '-g', GetoptLong::NO_ARGUMENT]	
+)
+
+processing_gem = false
+opt.each { |opt,val|
+  if opt == '--gem' then
+    processing_gem = true
+  end
+}
+
 maindir = ARGV.shift
 maindir = maindir.chop if maindir[-1] == ?/
 
-pkgname, version = get_pkgname_and_version(maindir)
+directory_to_process = maindir
+
+if processing_gem then
+  directory_to_process = maindir.sub(/\.gem$/,'')
+end
+
+pkgname, version = get_pkgname_and_version(directory_to_process)
 puts "pkgname: #{pkgname}, version: #{version}"
 
-FileUtils.cp_r(maindir, "#{maindir}.orig", {:preserve => true})
+# Extract gem to a directory
+if processing_gem then
+  puts "Extracting #{maindir} to #{directory_to_process}"
+
+  # A gem file by itself is a simple tarfile
+  FileUtils.mkdir_p('tmpgem')
+  system('tar', '-xf', maindir, '-C', 'tmpgem') or throw "Could not untar gemfile"
+
+  # Extract data.tar.gz into directory_to_process
+  FileUtils.mkdir_p(directory_to_process)
+  system('tar', '-xzf', 'tmpgem/data.tar.gz', '-C', directory_to_process) or throw "Could not untar gemfiles data tarball"
+
+  # Remove temporary directory
+  FileUtils.rm_rf('tmpgem')	
+end
+
+# Since we already have the gem, no need to back the directory up
+if !processing_gem then
+  FileUtils.cp_r(directory_to_process, "#{directory_to_process}.orig", {:preserve => true})
+end
 
-Dir.chdir(maindir)
+Dir.chdir(directory_to_process)
 Dir.mkdir('debian')
 create_changelog(pkgname, version, maintainer, mailaddr)
 create_compat

Information forwarded to debian-bugs-dist@lists.debian.org, <wnpp@debian.org>, Deepak Tripathi <apenguinlinux@gmail.com>:
Bug#436537; Package wnpp. Full text and rfc822 format available.

Acknowledgement sent to Sam Vilain <sam.vilain@catalyst.net.nz>:
Extra info received and forwarded to list. Copy sent to <wnpp@debian.org>, Deepak Tripathi <apenguinlinux@gmail.com>. Full text and rfc822 format available.

Message #34 received at 436537@bugs.debian.org (full text, mbox):

From: Sam Vilain <sam.vilain@catalyst.net.nz>
To: 436537@bugs.debian.org
Subject: Copyright information...
Date: Fri, 25 Jul 2008 16:07:09 +1200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Please note the previous patch was authored by Scott McWhirter
<scott@konobi.co.uk>, but is sponsored by Catalyst who of course donate
it to the cause ;-)
- --
Sam Vilain, Chief Yak Shaver, Catalyst IT (NZ) Ltd.
phone: +64 4 499 2267        PGP ID: 0x66B25843
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiJUWoACgkQ/AZAiGayWEOtJwCbB77J7LAjIGb5vVqQc+5tA7Wa
YvMAoJepqQ4KMUYL3GmdvcNcbtqmTcXK
=Urnm
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org, Deepak Tripathi <apenguinlinux@gmail.com>:
Bug#436537; Package wnpp. (Mon, 24 May 2010 19:10:37 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lucas Nussbaum <lucas@debian.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org, Deepak Tripathi <apenguinlinux@gmail.com>. (Mon, 24 May 2010 19:10:37 GMT) Full text and rfc822 format available.

Message #39 received at 436537@bugs.debian.org (full text, mbox):

From: Lucas Nussbaum <lucas@debian.org>
To: 436537@bugs.debian.org
Cc: control@bugs.debian.org
Subject: dh-make-ruby: changing back from ITP to RFP
Date: Mon, 24 May 2010 19:05:57 +0000
retitle 436537 RFP: dh-make-ruby -- Create Debian packages from ruby modules.
noowner 436537
thanks

Hi,

This is an automatic email to change the status of dh-make-ruby back from ITP
(Intent to Package) to RFP (Request for Package), because this bug hasn't seen
any activity during the last 18 months.

If you are still interested in adopting dh-make-ruby, please send a mail to
<control@bugs.debian.org> with:

 retitle 436537 ITP: dh-make-ruby -- Create Debian packages from ruby modules.
 owner 436537 !
 thanks

However, it is not recommended to keep ITP for a long time without acting on
the package, as it might cause other prospective maintainers to refrain from
packaging that software. It is also a good idea to document your progress on
this ITP from time to time, by mailing <436537@bugs.debian.org>.

Thank you for your interest in Debian,
-- 
Lucas, for the QA team




Changed Bug title to 'RFP: dh-make-ruby -- Create Debian packages from ruby modules.' from 'ITP: dh-make-ruby -- Create Debian packages from ruby modules.' Request was from Lucas Nussbaum <lucas@debian.org> to control@bugs.debian.org. (Mon, 24 May 2010 19:21:54 GMT) Full text and rfc822 format available.

Removed annotation that Bug was owned by Deepak Tripathi <apenguinlinux@gmail.com>. Request was from Lucas Nussbaum <lucas@debian.org> to control@bugs.debian.org. (Mon, 24 May 2010 19:21:54 GMT) Full text and rfc822 format available.

Changed Bug title to 'ITP: dh-make-ruby -- Create Debian packages from ruby modules.' from 'RFP: dh-make-ruby -- Create Debian packages from ruby modules.' Request was from Deepak Tripathi <apenguinlinux@gmail.com> to control@bugs.debian.org. (Sun, 13 Jun 2010 17:15:02 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#436537; Package wnpp. (Sat, 19 Feb 2011 17:58:10 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lucas Nussbaum <lucas@debian.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Sat, 19 Feb 2011 17:58:10 GMT) Full text and rfc822 format available.

Message #50 received at 436537@bugs.debian.org (full text, mbox):

From: Lucas Nussbaum <lucas@debian.org>
To: 436537@bugs.debian.org
Cc: control@bugs.debian.org
Subject: dh-make-ruby: changing back from ITP to RFP
Date: Sat, 19 Feb 2011 17:00:37 +0000
retitle 436537 RFP: dh-make-ruby -- Create Debian packages from ruby modules.
noowner 436537
thanks

Hi,

This is an automatic email to change the status of dh-make-ruby back from ITP
(Intent to Package) to RFP (Request for Package), because this bug hasn't seen
any activity during the last 6 months.

If you are still interested in adopting dh-make-ruby, please send a mail to
<control@bugs.debian.org> with:

 retitle 436537 ITP: dh-make-ruby -- Create Debian packages from ruby modules.
 owner 436537 !
 thanks

However, it is not recommended to keep ITP for a long time without acting on
the package, as it might cause other prospective maintainers to refrain from
packaging that software. It is also a good idea to document your progress on
this ITP from time to time, by mailing <436537@bugs.debian.org>.

Thank you for your interest in Debian,
-- 
Lucas, for the QA team <debian-qa@lists.debian.org>




Changed Bug title to 'RFP: dh-make-ruby -- Create Debian packages from ruby modules.' from 'ITP: dh-make-ruby -- Create Debian packages from ruby modules.' Request was from Lucas Nussbaum <lucas@debian.org> to control@bugs.debian.org. (Sat, 19 Feb 2011 18:05:47 GMT) Full text and rfc822 format available.

Reply sent to Christian Hofstaedtler <zeha@debian.org>:
You have taken responsibility. (Sat, 25 Jan 2014 21:21:14 GMT) Full text and rfc822 format available.

Notification sent to "Deepak Tripathi" <apenguinlinux@gmail.com>:
Bug acknowledged by developer. (Sat, 25 Jan 2014 21:21:14 GMT) Full text and rfc822 format available.

Message #57 received at 436537-close@bugs.debian.org (full text, mbox):

From: Christian Hofstaedtler <zeha@debian.org>
To: 436537-close@bugs.debian.org
Subject: Debian has gem2deb
Date: Sat, 25 Jan 2014 22:19:03 +0100
Hi,

I'm closing this bug report, as Debian already ships with gem2deb,
which is the currently maintained and policy-supported way of
packaging ruby modules (and/or gems).

gem2deb ships a binary named dh_ruby.

-- 
 ,''`.  Christian Hofstaedtler <zeha@debian.org>
: :' :  Debian Developer
`. `'   7D1A CFFA D9E0 806C 9C4C  D392 5C13 D6DB 9305 2E03
  `-




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 23 Feb 2014 07:29:14 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 01:10:11 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.