[DRE-commits] r4327 - trunk/rcov/debian

Micah Anderson micah at alioth.debian.org
Wed Nov 18 00:17:56 UTC 2009


Author: micah
Date: 2009-11-18 00:17:55 +0000 (Wed, 18 Nov 2009)
New Revision: 4327

Added:
   trunk/rcov/debian/repack.sh
Removed:
   trunk/rcov/debian/patches/
Modified:
   trunk/rcov/debian/control
   trunk/rcov/debian/copyright
   trunk/rcov/debian/rcov.1
   trunk/rcov/debian/rcov.docs
   trunk/rcov/debian/rcov.examples
   trunk/rcov/debian/rcov.install
   trunk/rcov/debian/watch
Log:
take over rcov package, switch upstream to relevance-rcov

Modified: trunk/rcov/debian/control
===================================================================
--- trunk/rcov/debian/control	2009-11-17 21:41:57 UTC (rev 4326)
+++ trunk/rcov/debian/control	2009-11-18 00:17:55 UTC (rev 4327)
@@ -1,28 +1,32 @@
-Source: rcov
+Source: relevance-rcov
 Section: ruby
 Priority: optional
-Maintainer: Ari Pollak <ari at debian.org>
-Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>, Paul van Tilburg <paulvt at debian.org>
+Maintainer: Micah Anderson <micah at debian.org>
+Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Build-Depends: cdbs, debhelper (>= 7), ruby-pkg-tools (>= 0.13), ruby1.8, ruby1.8-dev
-Standards-Version: 3.8.1
-Homepage: http://eigenclass.org/hiki.rb?rcov
-Vcs-Svn: svn://svn.debian.org/svn/pkg-ruby-extras/trunk/rcov/
-Vcs-Browser: http://svn.debian.org/viewsvn/pkg-ruby-extras/trunk/rcov/
+Standards-Version: 3.8.7
+Homepage: http://relevance.github.com/rcov  
+Vcs-Svn: svn://svn.debian.org/svn/pkg-ruby-extras/trunk/relevance-rcov/
+Vcs-Browser: http://svn.debian.org/viewsvn/pkg-ruby-extras/trunk/relevance-rcov/
 
-Package: rcov
+Package: relevance-rcov
 Architecture: any
-Depends: ruby1.8, ${shlibs:Depends}, ${misc:Depends}
-Conflicts: librcov-ruby (<< 0.6-1), librcov-ruby1.8 (<< 0.6-1)
-Replaces: librcov-ruby (<< 0.6-1), librcov-ruby1.8 (<< 0.6-1)
+Depends: ruby1.8, ${shlibs:Depends}, ${misc:Depends}, libjs-jquery
+Conflicts: rcov
+Replaces: rcov
+Provides: rcov
 Description: a code coverage tool for Ruby
  rcov is a code coverage tool for Ruby. It is commonly used for viewing overall
- test unit coverage of target code. It improves on the better known
- coverage tool, Ruby Coverage, on a number of points:
-   * 20-300 times faster: typically, the program being inspected runs only ~3
-     times slower than without rcov (i.e. not 200 times
-     slower as with previous tools)
-   * more accurate coverage information through code linkage inference using
-     simple heuristics
-   * more convenient interface
-   * provides both HTML and console output
-   * additional features like bogo-profile mode, colorblind-friendliness...
+ test unit coverage of target code. This version improves on the original RCov 
+ tool by Mauricio Fernandez by providing a number of REXML Dependency fixes 
+ which were causing a significant number of RCov bugs. 
+ .
+ Features include:
+   * fast execution: 20-300 times faster than previous tools
+   * multiple analysis modes: standard, bogo-profile, intentional testing,  
+     dependency analysis, and more
+   * differential code coverage detection
+   * accurate coverage information via code linkage inference 
+   * cross-referenced XHTML and several kinds of text reports
+   * support for easy automation with Rake
+   * colorblind-friendliness

Modified: trunk/rcov/debian/copyright
===================================================================
--- trunk/rcov/debian/copyright	2009-11-17 21:41:57 UTC (rev 4326)
+++ trunk/rcov/debian/copyright	2009-11-18 00:17:55 UTC (rev 4327)
@@ -1,13 +1,13 @@
-This package was debianized by Ari Pollak <ari at debian.org> on
-Tue, 22 Mar 2006 12:09:29 -0500.
+This package was debianized by Micah Anderson <micah at debian.org> on
+Tue Nov 17 18:13:07 EST 2009
 
-It was downloaded from <http://eigenclass.org/hiki.rb?rcov>
+It was downloaded from <http://github.com/relevance/rcov>
 
 Copyright: 2004-2006 Mauricio Fernandez <mfp at acm.org>
 
 License:
 
-rcov is licensed distributed the same terms as Ruby, which is a dual
+relevance-rcov is licensed distributed the same terms as Ruby, which is a dual
 Ruby/GPL license. The full text of the Ruby license can be found on Debian
 systems (with ruby installed) in /usr/share/doc/ruby/copyright.
 The full text of the GNU GPL can be found on Debian systems in
@@ -15,38 +15,13 @@
 
 ---------
 
-rcov includes a copy of the xx library, which carries the following copyright
-notice:
+The relevance-rcov source includes setup.rb, which is Copyright (c) 2000-2005 Minero Aoki
+and is licensed under the GNU Lesser General Public License, which can
+be found on Debian systems in /usr/share/common-licenses/LGPL-2.1.
 
-ePark Labs Public License version 1
-Copyright (c) 2005, ePark Labs, Inc. and contributors
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-  1. Redistributions of source code must retain the above copyright notice, this
-     list of conditions and the following disclaimer.
-  2. Redistributions in binary form must reproduce the above copyright notice,
-     this list of conditions and the following disclaimer in the documentation
-     and/or other materials provided with the distribution.
-  3. Neither the name of ePark Labs nor the names of its contributors may be
-     used to endorse or promote products derived from this software without
-     specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
-ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
 ---------
 
-The rcov source includes setup.rb, which is Copyright (c) 2000-2005 Minero Aoki
-and is licensed under the GNU Lesser General Public License, which can
-be found on Debian systems in /usr/share/common-licenses/LGPL-2.1.
+The relevance-rcov source includes jquery.tablesorter.min.js, which is
+Copyright (c) 2007 Christian Bach and is dual-licensed under the MIT
+and GNU Public License. The full text of the GNU GPL can be found on
+Debian systems in /usr/share/common-licenses/GPL.

Modified: trunk/rcov/debian/rcov.1
===================================================================
--- trunk/rcov/debian/rcov.1	2009-11-17 21:41:57 UTC (rev 4326)
+++ trunk/rcov/debian/rcov.1	2009-11-18 00:17:55 UTC (rev 4327)
@@ -131,6 +131,11 @@
 Generate HTML output. (default: \fB--html\fP)
 .TP
 .B
+\fB--css\fP relative/path/to/custom.css
+Use a custom CSS file for HTML output.
+Specified as a relative path.
+.TP
+.B
 \fB--sort\fP CRITERION
 Sort files in the output by the specified field (name, loc, coverage)
 .TP
@@ -143,14 +148,15 @@
 Only list files with coverage < INT %. (default: 101)
 .TP
 .B
+\fB--failure-threshold\fP [INT]
+Fail if the coverage is below the threshold
+(default: 100)
+.TP
+.B
 \fB--charset\fP CHARSET
 Charset used in Content-Type declaration of HTML reports.
 .TP
 .B
---[no-]validator-links
-Add link to W3C's validation services. (default: true)
-.TP
-.B
 \fB--only-uncovered\fP
 Same as \fB--threshold\fP 100
 .TP
@@ -198,12 +204,12 @@
 .SH SEE ALSO
 \fBrunit\fP(1), \fBrake\fP(1), \fBrant\fP(1)
 .PP
-http://eigenclass.org/hiki.rb?\fBrcov\fP
+http://github.com/relevance/rcov\fP
 .PP
 Full Documentation about the integration into other tools is available in
 /usr/share/doc/\fBrcov\fP/README.*
 .SH AUTHOR
-The manpage is provided by Tobias Grimm <debian at e-tobi.net> as part of the
-Debian's \fBrcov\fP package. Upstream author of \fBrcov\fP is Mauricio Fernandez <mfp at acm.org>.
+The manpage is provided by Micah Anderson <micah at debian.org> as part of the
+Debian's \fBrelevance-rcov\fP package. Upstream author of \fBrcov\fP is Mauricio Fernandez <mfp at acm.org>.
 .PP
 All the option descriptions have mainly be taken from the help output of \fBrcov\fP.

Modified: trunk/rcov/debian/rcov.docs
===================================================================
--- trunk/rcov/debian/rcov.docs	2009-11-17 21:41:57 UTC (rev 4326)
+++ trunk/rcov/debian/rcov.docs	2009-11-18 00:17:55 UTC (rev 4327)
@@ -1 +1,3 @@
 README.*
+../doc/readme_*
+

Modified: trunk/rcov/debian/rcov.examples
===================================================================
--- trunk/rcov/debian/rcov.examples	2009-11-17 21:41:57 UTC (rev 4326)
+++ trunk/rcov/debian/rcov.examples	2009-11-18 00:17:55 UTC (rev 4327)
@@ -1,2 +1,2 @@
 Rakefile
-Rantfile
+

Modified: trunk/rcov/debian/rcov.install
===================================================================
--- trunk/rcov/debian/rcov.install	2009-11-17 21:41:57 UTC (rev 4326)
+++ trunk/rcov/debian/rcov.install	2009-11-18 00:17:55 UTC (rev 4327)
@@ -1,2 +1,2 @@
-rcov.vim usr/share/vim/addons/compiler
-rcov.el usr/share/emacs/site-lisp/
+editor-extensions/rcov.vim usr/share/vim/addons/compiler
+editor-extensions/rcov.el usr/share/emacs/site-lisp/

Added: trunk/rcov/debian/repack.sh
===================================================================
--- trunk/rcov/debian/repack.sh	                        (rev 0)
+++ trunk/rcov/debian/repack.sh	2009-11-18 00:17:55 UTC (rev 4327)
@@ -0,0 +1,43 @@
+#!/bin/sh
+# Repackage upstream source to exclude non-distributable files
+# should be called as "repack.sh --upstream-source <ver> <downloaded file>
+# (for example, via uscan)
+
+set -e
+set -u
+
+VER="$2debian"
+FILE="$3"
+PKG=`dpkg-parsechangelog|grep ^Source:|sed 's/^Source: //'`
+
+REPACK_DIR="$PKG-$VER.orig" # DevRef § 6.7.8.2
+
+echo -e "\nRepackaging $FILE\n"
+
+DIR=`mktemp -d ./tmpRepackXXXXXX`
+trap "rm -rf \"$DIR\"" QUIT INT EXIT
+
+# Create an extra directory to cope with rootless tarballs
+UP_BASE="$DIR/unpack"
+mkdir "$UP_BASE"
+tar xzf "$FILE" -C "$UP_BASE"
+
+if [ `ls -1 "$UP_BASE" | wc -l` -eq 1 ]; then
+	# Tarball does contain a root directory
+	UP_BASE="$UP_BASE/`ls -1 "$UP_BASE"`"
+fi
+
+# remove embedded jquery.min.js
+rm -vfr $UP_BASE/lib/rcov/templates/jquery-1.3.2.min.js
+ln -s /usr/share/javascript/jquery/jquery.min.js $UP_BASE/lib/rcov/templates/jquery-1.3.2.min.js
+## End
+
+mv "$UP_BASE" "$DIR/$REPACK_DIR"
+
+# Using a pipe hides tar errors!
+tar cfC "$DIR/repacked.tar" "$DIR" "$REPACK_DIR"
+gzip -9 < "$DIR/repacked.tar" > "$DIR/repacked.tar.gz"
+FILE="../${PKG}_${VER}.orig.tar.gz"
+mv "$DIR/repacked.tar.gz" "$FILE"
+
+echo "*** $FILE repackaged"


Property changes on: trunk/rcov/debian/repack.sh
___________________________________________________________________
Added: svn:executable
   + *

Modified: trunk/rcov/debian/watch
===================================================================
--- trunk/rcov/debian/watch	2009-11-17 21:41:57 UTC (rev 4326)
+++ trunk/rcov/debian/watch	2009-11-18 00:17:55 UTC (rev 4327)
@@ -1,2 +1,3 @@
 version=3
-http://eigenclass.org/static/rcov/rcov-(.+)\.tar\.gz
+http://github.com/relevance/rcov/commits/([\d.]+)
+




More information about the Pkg-ruby-extras-commits mailing list