Bug#497940: Augeas and Puppet

2008-11-13 Thread Marc Fournier
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 [EMAIL PROTECTED]  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 000..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 000..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


signature.asc
Description: Digital signature


Bug#497940: Augeas and Puppet

2008-11-13 Thread Bart Cortooms

Hi Marc,

Op 13-nov-2008, om 20:03 heeft Marc Fournier het volgende geschreven:
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.


Thanks, I'll add it to the git repository.


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 ?


Yeah, Micah made the same suggestion. Let's do that. Might make it  
easier to collaborate, and perhaps we can be of use in the packaging  
of some other ruby libraries as well. :)


--
Bart



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#497940: Augeas and Puppet

2008-11-12 Thread Micah Anderson

Hi Marc,

* Marc Fournier [EMAIL PROTECTED] [2008-11-12 05:43-0500]:
 Hello,
 
 I've filed a packaging request in debian's BTS a few weeks ago (#497940).
 
 I've also made a package a while ago. It builds on debian lenny and ubuntu
 ibex, but not on etch.

Last week sometime, I uploaded to Debian a package that Bart Cortooms
made (CC'd on this email). It is currently sitting in the Debian NEW
queue, waiting to be processed by the FTP masters.

I'm sending this email to the bug report, because there hasn't been any
information added to that bug report yet which would let anyone know
about this forward progress.

 I consider this as work in progress. It can be downloaded from
 http://ppa.launchpad.net/mfournier/ubuntu/pool/main/liba/libaugeas-ruby/
 
 As I'm not used to packaging, I'm not sure if what I done is the way it
 should be. I'd be glad to have some feedback on this !

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

In any case, I leave it to you two to decide, I'm simply sponsoring the
upload to Debian as a developer.

Micah


signature.asc
Description: Digital signature


Bug#497940: Augeas and Puppet

2008-11-12 Thread Bart Cortooms

Hi,

Op 12 nov 2008, om 17:44 heeft Micah Anderson het volgende geschreven:

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

In any case, I leave it to you two to decide, I'm simply sponsoring  
the

upload to Debian as a developer.


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

--
Bart



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]