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

Bug#497940: Augeas and Puppet



Hello,

> I'd be happy to work together with you on this Marc, if you're  
> interested. Your package looks pretty similar to the one I made so it  
> should be easy to merge the two.
>
> You can get the source for my package with:
>
> 	git clone git://git.kumina.nl/debian/libaugeas-ruby.git

Indeed both the packages are pretty similar.

I've successfully built your package on lenny, sid and ubuntu-intrepid. I
noticed yours doesn't provide augeas.rb (this 3 line file that let's you do
"require 'augeas'" from ruby). Attached is a patch that corrects this. I'm
not sure if it's the best way to do it but it works for me. This way we
have the best of both packages.

Neither your package nor mine build on etch and older ubuntus so I'm
planning to make another package for these legacy distributions. Nothing
worth being submited to debian, but I'll post to the list when I'm done.
Maybe other people could need them too.


>> Perhaps Bart could have a look at your packaging work and see about
>> integrating anything. I'm not sure if either of you are interested in
>> co-maintainership, or a team-maintainance strategy, but they might be
>> worth considering.

Wouldn't it be better to have this package maintained by the Debian Ruby
Extras team ? They already seem to manage most of the ruby libraries in
debian. I'm not sure I've understood well how debian teams work but it
seems to me that people outside debian can also collaborate on packages by
taking part in these teams. Micah, what do you think ?

Anyway I would be glad to help this team or collaborate with Bart if I can
be of any use.

>> Also, it seems like you are primarily focused  around Ubuntu, so it
>> could be that you take on the Ubuntu packaging, and art the Debian side?

It seems to me this package is so simple, the automated debian to ubuntu
merge will be sufficient. Augeas packages already found their way into
current ubuntu thanks to this procedure. So I think we would better focus
on getting this library into debian.

Marc

diff --git a/debian/changelog b/debian/changelog
index 34c1712..1142bf6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libaugeas-ruby (0.2.0-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Added missing augeas.rb to package.
+
+ -- Marc Fournier <marc.fournier@camptocamp.com>  Thu, 13 Nov 2008 18:04:59 +0100
+
 libaugeas-ruby (0.2.0-1) unstable; urgency=low
 
   * Initial release. (Closes: #497940)
diff --git a/debian/libaugeas-ruby1.8.dirs b/debian/libaugeas-ruby1.8.dirs
new file mode 100644
index 0000000..a5e9841
--- /dev/null
+++ b/debian/libaugeas-ruby1.8.dirs
@@ -0,0 +1 @@
+usr/lib/ruby/1.8
diff --git a/debian/libaugeas-ruby1.9.dirs b/debian/libaugeas-ruby1.9.dirs
new file mode 100644
index 0000000..4bb305a
--- /dev/null
+++ b/debian/libaugeas-ruby1.9.dirs
@@ -0,0 +1 @@
+usr/lib/ruby/1.9
diff --git a/debian/rules b/debian/rules
index 56ed4a5..40944d6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,4 +6,10 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/ruby-pkg-tools/1/class/ruby-extconf-rb.mk
 
+install/libaugeas-ruby1.8::
+	cp $(CURDIR)/lib/augeas.rb $(CURDIR)/debian/libaugeas-ruby1.8/usr/lib/ruby/1.8/augeas.rb
+
+install/libaugeas-ruby1.9::
+	cp $(CURDIR)/lib/augeas.rb $(CURDIR)/debian/libaugeas-ruby1.9/usr/lib/ruby/1.9/augeas.rb
+
 DEB_RUBY_SETUP_CMD = $(CURDIR)/ext/augeas/extconf.rb

Attachment: signature.asc
Description: Digital signature


Reply to: