[Pkg-ruby-extras-maintainers] r286 - in tools/ruby-pkg-tools/trunk: bin debian

Thierry Reding beatle-guest at costa.debian.org
Tue Jan 17 01:19:51 UTC 2006


Author: beatle-guest
Date: 2006-01-17 01:19:51 +0000 (Tue, 17 Jan 2006)
New Revision: 286

Modified:
   tools/ruby-pkg-tools/trunk/bin/pkg-ruby-get-sources
   tools/ruby-pkg-tools/trunk/debian/changelog
Log:
* Small cosmetic fixes:
   + no longer display `I: Found source tarball...' message when not in verbose
     mode
   + initialize tarball name to `nil' instead of `false', which is somewhat more
     accurate



Modified: tools/ruby-pkg-tools/trunk/bin/pkg-ruby-get-sources
===================================================================
--- tools/ruby-pkg-tools/trunk/bin/pkg-ruby-get-sources	2006-01-17 01:05:40 UTC (rev 285)
+++ tools/ruby-pkg-tools/trunk/bin/pkg-ruby-get-sources	2006-01-17 01:19:51 UTC (rev 286)
@@ -177,7 +177,7 @@
 end
 
 package, version = guess_package
-tarball = false
+tarball = nil
 
 [ $sources_file, $sources_url ].each { |file|
   sources = get_available_sources(file)
@@ -204,7 +204,7 @@
 exit if $list_available
 
 if tarball then
-  puts "I: Found source tarball for package #{package}-#{version}: #{tarball}"
+  puts "I: Found source tarball for package #{package}-#{version}: #{tarball}" if $verbose
 else
   puts "E: No source tarball found for package #{package}-#{version}."
   exit 2

Modified: tools/ruby-pkg-tools/trunk/debian/changelog
===================================================================
--- tools/ruby-pkg-tools/trunk/debian/changelog	2006-01-17 01:05:40 UTC (rev 285)
+++ tools/ruby-pkg-tools/trunk/debian/changelog	2006-01-17 01:19:51 UTC (rev 286)
@@ -9,8 +9,10 @@
   [ Thierry Reding ]
   * pkg-ruby-get-sources now also supports `.tgz' and `.tar.bz2' archives.
     `.tgz' archives are automatically renamed to `.tar.gz'.
+  * No longer displays the verbose message `I: Found source tarball...' when
+    not in verbose mode.
 
- -- Thierry Reding <thierry at doppeltgemoppelt.de>  Tue, 17 Jan 2006 01:45:06 +0100
+ -- Thierry Reding <thierry at doppeltgemoppelt.de>  Tue, 17 Jan 2006 02:14:53 +0100
 
 ruby-pkg-tools (0.6) unstable; urgency=low
 




More information about the pkg-ruby-extras-maintainers mailing list