Your message dated Sat, 19 Jan 2008 10:17:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#459882: fixed in libgemplugin-ruby 0.2.3-1
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: libgemplugin-ruby1.8
Version: 0.2.2-1
Severity: minor
Tags: patch
gem_plugin does too many manipulations on file paths for its own good:
- it passes the location of gem specifications to
Gem::SourceIndex.from_installed_gems (deprecated)
- it manually builds the full path for a gem, even though this can be
retrieved by using gem.gem_full_path
This does not cause any problems for now, but if the file layout of gems
changes in the future it will break gem_plugin.
The attached patch fixes these issues.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.23-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libgemplugin-ruby1.8 depends on:
ii libgems-ruby1.8 1.0.1-4 libraries to use RubyGems, a packa
ii ruby 1.8.2-2 An interpreter of object-oriented
libgemplugin-ruby1.8 recommends no packages.
-- no debconf information
diff -urN libgemplugin-ruby-0.2.2.orig/lib/gem_plugin.rb
libgemplugin-ruby-0.2.2/lib/gem_plugin.rb
--- libgemplugin-ruby-0.2.2.orig/lib/gem_plugin.rb 2007-05-12
22:21:38.000000000 +0200
+++ libgemplugin-ruby-0.2.2/lib/gem_plugin.rb 2008-01-09 10:40:18.000000000
+0100
@@ -105,8 +105,7 @@
# To prevent this load requires the full path to the "init.rb" file, which
# avoids the RubyGems autorequire magic.
def load(needs = {})
- sdir = File.join(Gem.dir, "specifications")
- gems = Gem::SourceIndex.from_installed_gems(sdir)
+ gems = Gem::SourceIndex.from_installed_gems
needs = needs.merge({"gem_plugin" => INCLUDE})
gems.each do |path, gem|
@@ -129,7 +128,7 @@
# Previously was set wrong, we already have the correct gem path!
#gem_dir = File.join(Gem.dir, "gems", "#{gem.name}-#{gem.version}")
- gem_dir = File.join(Gem.dir, "gems", path)
+ gem_dir = gem.gem_full_path
require File.join(gem_dir, "lib", gem.name, "init.rb")
@gems[gem.name] = gem_dir
--- End Message ---
--- Begin Message ---
Source: libgemplugin-ruby
Source-Version: 0.2.3-1
We believe that the bug you reported is fixed in the latest version of
libgemplugin-ruby, which is due to be installed in the Debian FTP archive:
libgemplugin-ruby1.8_0.2.3-1_all.deb
to pool/main/libg/libgemplugin-ruby/libgemplugin-ruby1.8_0.2.3-1_all.deb
libgemplugin-ruby_0.2.3-1.diff.gz
to pool/main/libg/libgemplugin-ruby/libgemplugin-ruby_0.2.3-1.diff.gz
libgemplugin-ruby_0.2.3-1.dsc
to pool/main/libg/libgemplugin-ruby/libgemplugin-ruby_0.2.3-1.dsc
libgemplugin-ruby_0.2.3-1_all.deb
to pool/main/libg/libgemplugin-ruby/libgemplugin-ruby_0.2.3-1_all.deb
libgemplugin-ruby_0.2.3.orig.tar.gz
to pool/main/libg/libgemplugin-ruby/libgemplugin-ruby_0.2.3.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Paul van Tilburg <[EMAIL PROTECTED]> (supplier of updated libgemplugin-ruby
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 19 Jan 2008 10:48:26 +0100
Source: libgemplugin-ruby
Binary: libgemplugin-ruby1.8 libgemplugin-ruby
Architecture: source all
Version: 0.2.3-1
Distribution: unstable
Urgency: low
Maintainer: Filipe Lautert <[EMAIL PROTECTED]>
Changed-By: Paul van Tilburg <[EMAIL PROTECTED]>
Description:
libgemplugin-ruby - Gem Based Plugin System
libgemplugin-ruby1.8 - Gem Based Plugin System
Closes: 459882
Changes:
libgemplugin-ruby (0.2.3-1) unstable; urgency=low
.
[ Arnaud Cornet ]
* Use new Homepage dpkg header.
.
[ Filipe Lautert ]
* New upstream version.
* Changed watch file to point to rubyforge repository (tgz sources are
found there).
* Added new control field 'Dm-Upload-Allowed: yes'
* Added rdoc as dependency to generate documentation for this package.
* Added VCS-* fields.
.
[ Jeremy Lainé ]
* Add patch for packaged gem plugins (Closes: #459882).
.
[ Paul van Tilburg ]
* Bumped standards version to 3.7.3; no changes required.
* Added missing "whatis" information to the manpage.
* Removed debian/libgemplugin-ruby1.8.docs, resources/ contains
no documentation, just a template.
* Corrected my name in the Uploaders field.
* Updated patch: 02-set_correct_path_for_resources_dir.diff,
added debian/libgemplugin-ruby.install:
resources should go to /usr/share/libgemplugin-ruby, not
/usr/share/doc/libgemplugin-ruby1.8.
* Added debian/libgemplugin-ruby.overrides and install it to get rid of
the extra-license warnings for license files in the skeleton
directory.
Files:
f22ca05c3b779de9416fe96c48432fa7 1046 interpreters optional
libgemplugin-ruby_0.2.3-1.dsc
658337fcb2d02d27de8b5e10fe896a10 26507 interpreters optional
libgemplugin-ruby_0.2.3.orig.tar.gz
0328d60e38d77946ab2d1049cc9fa409 4268 interpreters optional
libgemplugin-ruby_0.2.3-1.diff.gz
9de2ac81f5448f69cd9f6fc9ebb2355d 11236 interpreters optional
libgemplugin-ruby1.8_0.2.3-1_all.deb
276cf3da8c640abc12ea2516f2237a83 18388 interpreters optional
libgemplugin-ruby_0.2.3-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHkcr6JBBhylAGQYERAqKiAJ9ldPMg6sT0Y1uOF//E5xCxltwQwACgiff+
KnNtyOPTkQ2pbQmQtT1zQYo=
=kBBe
-----END PGP SIGNATURE-----
--- End Message ---