revu-tools-0.6.1.5/0000775000000000000000000000000011762057763010706 5ustar revu-tools-0.6.1.5/Changelog0000664000000000000000000000534311762057611012515 0ustar REVU-tools 0.6 () : * Changed revu-report link in revu-review ; * Made a Debian native package, no upstream tarball anymore ; * Splitted config files from code and added revu-tools-loadconfig to deal with it, thanks to Fathi Boudra. ---- Raphaël Pinson REVU-tools 0.5 (2006-02-15) : * Added revu-review to launch the tool directly with the package name on REVU ; ---- Raphaël Pinson REVU-tools 0.4 (2006-02-07) : * Detects whether package source is extracted and runs dpkg-source if not ; * Cleaned the code and added variables for all commands ; * Added a copyright header to revu-build ; * Added version, author and usage variables and -h and --help options for infos ; * Fixed some minor bugs all around ; ---- Raphaël Pinson REVU-tools 0.3.1 (2006-02-06) : * Made tiber-independant to install and run on any reviewer machine ; ---- Raphaël Pinson REVU-tools 0.3 (2006-02-06) : - revu-orig : * Support for tbz* files in tarball auto-detection ; * Added uscan support to get upstream tarball when debian/watch is there and detecing new versions available ; * Create a report to be used by revu-report instead of several empty files ; -revu-report : * Fixed missing $ in variable TARBALLDIFF ; * Adding report for debian/watch when not present ; * Using E: and W: ala-lintian for outputs ; * Removed tarball detection from revu-report ; * Gets TARBALL from revu-orig report if set (autodetection) ; * Now using the revu-orig report to generate the full report ; ---- Raphaël Pinson REVU-tools 0.2 (2006-02-05) : - pbuilder-hooks/B01debuildtest : * Added directory name detection in pbuilder-hooks/B01debuildtest to avoid a dirty cd /tmp/buildd/* ; - revu-build : * Cleaning files from previous runs in revu-build, revu-orig and revu-report ; * Adding PBUILDERHOOKS variable to set the script cleanly ; - revu-orig : * revu-orig now takes two optional arguments (tarball and dsc) and can auto-detect them if not given explicitely ; * Detecting orig.tar.gz automagically in revu-orig. Using it as a variable now and detecting Debian-native packages ; * Adjusted tarball type detection in revu-orig to untar upstream tarball ; - revu-report : * Inverted the tarball and dsc arguments in revu-report (since tarball is harder to detect) and made optional arguments ; * Automagically decting dsc and tarball in local folder ; * Adding report entries for Debian-native packages ; * Adapting md5 report entries depending on whether the upstream tarball is tar.gz or other. ---- Raphaël Pinson REVU-tools 0.1 (2006-02-04) : - Initial release. ---- Raphaël Pinson revu-tools-0.6.1.5/revu-tools/0000775000000000000000000000000011762057763013025 5ustar revu-tools-0.6.1.5/revu-tools/var/0000775000000000000000000000000011762057763013615 5ustar revu-tools-0.6.1.5/revu-tools/var/lib/0000775000000000000000000000000011762057763014363 5ustar revu-tools-0.6.1.5/revu-tools/var/lib/revu-tools/0000775000000000000000000000000011762057763016502 5ustar revu-tools-0.6.1.5/revu-tools/var/lib/revu-tools/revu-tools-loadconfig0000664000000000000000000000226011762057611022637 0ustar # this is sourced from revu-tools packages to process parameters. # Copyright (C) 2006 Fathi Boudra # based on pbuilder-loadconfig from pbuilder package by Junichi Uekawa # Copyright (C) 2001,2002 Junichi Uekawa # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # Contributors: Raphaël Pinson for RCFILE in /etc/revu-tools.conf /usr/share/revu-tools/revu-tools.conf ${HOME}/.revu-tools.conf; do if [ -f "$RCFILE" ]; then . "$RCFILE" else echo "W: $RCFILE does not exist" fi done revu-tools-0.6.1.5/revu-tools/etc/0000775000000000000000000000000011762057763013600 5ustar revu-tools-0.6.1.5/revu-tools/etc/revu-tools.conf0000664000000000000000000000557511762057611016572 0ustar ## This file is a setting file for the REVU-Tools suite. ## This file is provided by the revu-tools package. # ## LOCAL SETTINGS ## When setting REVU-Tools system-wide, it is recommended to use /usr/share/revu-tools/revu-tools.conf ## which will override the settings in /etc/revu-tools.conf. Just add the variables you wish to set ## locally to /usr/share/revu-tools/revu-tools.conf, in the same form as they are defined below. # ## USER SETTINGS ## When setting user preferences for REVU-Tools, it is recommended to usr ~/.revu-tools.conf ## Which will override all other setting files. Just add the variables you wish to set for the user ## to ~/.revu-tools.conf, in the same form as they are defined below. # Setting usual basic commands ECHO="/bin/echo"; GREP="/bin/grep"; LS="/bin/ls"; MKDIR="/bin/mkdir"; MV="/bin/mv"; PWD="/bin/pwd"; RM="/bin/rm"; SED="/bin/sed"; TAR="/bin/tar"; # Setting additional required commands AWK="/usr/bin/awk"; BASENAMECMD="/usr/bin/basename"; DIFF="/usr/bin/diff"; DPKGDEB="/usr/bin/dpkg-deb"; DPKGSRC="/usr/bin/dpkg-source"; FILE="/usr/bin/file"; HEAD="/usr/bin/head"; LINDA="/usr/bin/linda"; LINTIAN="/usr/bin/lintian"; MD5SUM="/usr/bin/md5sum"; NICE="/usr/bin/nice"; TOUCH="/usr/bin/touch"; USCAN="/usr/bin/uscan"; WGET="/usr/bin/wget"; # Setting location of REVU-Tools scripts # REVU-Tools scripts are installed in /usr/bin by default # You can change these values to use alternatives REVUBUILD="/usr/bin/revu-build"; REVUORIG="/usr/bin/revu-orig"; REVUREPORT="/usr/bin/revu-report"; # Setting the names for the reports created by REVU-Tools # These reports are created in the current directory MD5FILE="tarballs.md5"; DIFFFILE="tarballs.diff"; TARBALLDIFF="upstream_orig.diff"; DEBUILDTEST="debuild_test"; ORIGREPORT="revu-orig.report"; REPORT="revu_report"; # Important note: the following value is currently HARDCODED in the pbuilder hook # If you change it in the preferences, you'll have to change it in the pbuilder # hook aswell, or you'll break the reviewing system. DEBUILDTEST="debuild_test"; # Pbuilder command to be launched for build, used by revu-build # Most users might want to change this to "sudo pbuilder" on Ubuntu PBUILDERNAME="pbuilder"; # Location of the pbuilder hooks to use during build, used by revu-build PBUILDERHOOKS="/usr/share/pbuilder/pbuilder-hooks/"; # Location of the packages to review, used by revu-review # revu-review searches for $package-$versionbydate directories in $REVUDIR # and launches revu-report in the latest directory of this form found # You might want to set this variable if you plan on using revu-review # Please that note that this will currently force you to name the directories # to review as $package-$versionbydate, e.g. foo-0601301835 for a package # marked on 30/01/2006 at 18:35. REVUDIR="/var/revu/revu1-incoming/"; # Name of the dir to put the extracted tarballs in, used by revu-orig TARDIR="extracted_tarballs"; revu-tools-0.6.1.5/revu-tools/usr/0000775000000000000000000000000011762057763013636 5ustar revu-tools-0.6.1.5/revu-tools/usr/bin/0000775000000000000000000000000011762057763014406 5ustar revu-tools-0.6.1.5/revu-tools/usr/bin/revu-build0000775000000000000000000000602311762057611016403 0ustar #!/bin/bash # # given the dsc, this script builds the package in a pbuilder and generate # reports to appear on REVU and to make the review easier :) # # Copyright (C) 2006 Reinhard Tartler & Raphaël Pinson # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # Contributors: Fathi Boudra APPNAME="REVU-Build"; VERSION="0.6.1"; AUTHOR="Reinhard Tartler & Raphaël Pinson "; USAGE="$0 [--help || -h][]"; DSCFILE="$1"; source /var/lib/revu-tools/revu-tools-loadconfig if [[ "$1" = "--help" || "$1" = "-h" ]]; then "$ECHO" "${APPNAME} v.${VERSION} by ${AUTHOR}"; "$ECHO" "usage: ${USAGE}"; exit 0; fi # try and detect dsc file if [[ -z "$DSCFILE" ]]; then if [[ ! -a `"$LS" | "$GREP" .dsc` ]]; then "$ECHO" "No dsc file found in the current directory or several \ dsc files. Use the dsc file as argument if there are several ones:"; "$ECHO" "usage: ${USAGE}"; exit 1; else DSCFILE=`"$LS" | "$GREP" dsc`; fi fi BASENAME=`"$BASENAMECMD" "$DSCFILE" .dsc`; if [ "${BASENAME}x" = "x" ]; then "$ECHO" "Basename is empty. Something terribly went wrong." exit 1; fi APPNAME=`"$ECHO" "$BASENAME" | "$SED" -e 's/-[0-9]*[a-z]*[0-9]*$//'`; DIRNAME=`"$ECHO" "$APPNAME" | "$SED" -e 's/_/-/'`; # clean previous runs rm -f "FTBFS"; if [[ -z "$DSCFILE" ]]; then "$ECHO" "usage: ${USAGE}"; exit 1; fi if [ ! -r "$DSCFILE" ]; then "$ECHO" "Sorry, could not read ${DSCFILE}. Bailing out."; exit 1; fi PBUILDER="${NICE} ${PBUILDERNAME}"; PBUILDEROPTS="--buildresult $(pwd) --logfile ${BASENAME}.buildlog --hookdir ${PBUILDERHOOKS}"; "$ECHO" "Now building ${DSCFILE} with ${PBUILDERNAME}." ${PBUILDER} build ${PBUILDEROPTS} ${DSCFILE}; if [[ -n `"$GREP" "Failed autobuilding of package" ${BASENAME}.buildlog` ]]; then "$TOUCH" "FTBFS"; exit 1; fi # now process resulting debs for deb in `"$LS" *.deb`; do BASENAME=`"$BASENAMECMD" $deb .deb`; "$DPKGDEB" -I $deb > ${BASENAME}.info; "$DPKGDEB" -c $deb > ${BASENAME}.filelist; for h in {pre,post}{inst,rm}; do "$DPKGDEB" -I $deb $h > ${BASENAME}.${h}; done "$DPKGDEB" -I $deb shlibs > ${BASENAME}.shlibs; "$LINTIAN" $deb > ${BASENAME}.lintian; # "$LINDA" $deb > ${BASENAME}.lintian; done exit 0; revu-tools-0.6.1.5/revu-tools/usr/bin/revu-orig0000775000000000000000000001533111762057611016246 0ustar #!/bin/bash # # given the original tarball, this script gets it and generates a few # reports comparing it with the orig.tar.gz file. These reports appear on REVU # to make the review easier :) # # Copyright (C) 2006 Raphaël Pinson # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # Contributors: Fathi Boudra APPNAME="REVU-Orig"; VERSION="0.6.1"; AUTHOR="Raphaël Pinson "; USAGE="$0 [--help || -h][ []]"; TARBALL="$1"; DSCFILE="$2"; source /var/lib/revu-tools/revu-tools-loadconfig if [[ "$1" = "--help" || "$1" = "-h" ]]; then "$ECHO" "${APPNAME} v.${VERSION} by ${AUTHOR}"; "$ECHO" "usage: ${USAGE}"; exit 0; fi # clean previous runs "$RM" -rf "$MD5FILE" "$DIFFFILE" "$TARDIR" "$ORIGREPORT"; # try and detect dsc file if [[ -z "$DSCFILE" ]]; then if [[ ! -a `"$LS" | "$GREP" .dsc` ]]; then "$ECHO" "No dsc file found in the current directory or several \ dsc files. Use the dsc file as argument if there are several ones:"; "$ECHO" "usage: ${USAGE}"; exit 1; else DSCFILE=`"$LS" | "$GREP" dsc`; fi fi if [ ! -r "$DSCFILE" ]; then "$ECHO" "Sorry, could not read ${DSCFILE}. Bailing out."; exit 1; fi BASENAME=`"$BASENAMECMD" "$DSCFILE" .dsc`; if [ "${BASENAME}x" = "x" ]; then "$ECHO" "Basename is empty. Something terribly went wrong." exit 1; fi APPNAME=`"$ECHO" "$BASENAME" | "$SED" -e 's/-[0-9]*[a-z]*[0-9]*$//'`; DIRNAME=`"$ECHO" "$APPNAME" | "$SED" -e 's/_/-/'`; # check for the extracted source in dir and dpkg-source if necessary if [[ ! -a "$DIRNAME" ]]; then "$ECHO" "No extracted source found in the directory. Extracting it from dsc."; "$DPKGSRC" -x "$DSCFILE"; fi # create $ORIGREPORT "$ECHO" -e "REVU-orig report for package ${BASENAME}:\n\n" > "$ORIGREPORT"; # try and detect upstream tarball if [[ -z "$TARBALL" ]]; then "$ECHO" "No tarball argument given. Trying to detect tarball automagically."; if [[ -a "$DIRNAME"/debian/watch ]]; then "$ECHO" "debian/watch found. Running uscan."; "$ECHO" -e "I: Using debian/watch to retrieve the upstream tarball.\n\n" >> "$ORIGREPORT"; cd "$DIRNAME"; if [[ -z `"$USCAN" --report` ]]; then # there is no new version. We want to try and get the current upstream "$ECHO" "Getting upstream url for the current version."; URL=`"$USCAN" --dehs | "$SED" -n '/^/ s///p' | "$SED" -e 's/<\/upstream-url>//'`; cd ..; "$ECHO" -e "Upstream tarball url: ${URL}\n\n" >> "$ORIGREPORT"; "$WGET" -nc "$URL"; elif [[ -n `"$USCAN" --report | "$GREP" "Newest version"` ]]; then # there is a new version available. "$USCAN" --report | "$GREP" "Newest version" | "$SED" -e 's/^/W: New upstream version available./' -e 's/$/.\n\n/' >> ../"$ORIGREPORT"; cd ..; exit 1; else cd ..; "$ECHO" -e "E: Error while running uscan. debian/watch maybe be incorrect. \ Couldn't retrieve upstream tarball.\n\n" >> "$ORIGREPORT"; exit 1; fi else "$ECHO" -e "W: There is no debian/watch in this package. \ Although this is not compulsory, it helps maintaining \ the package properly.\n\n" >> "$ORIGREPORT"; fi; # try and detect in the current directory if [[ -a `"$LS" | "$GREP" ".tar.gz" | "$GREP" -v ".orig.tar.gz"` ]]; then # case of a tar.gz tarball, but not orig TARBALL=`"$LS" | "$GREP" ".tar.gz" | "$GREP" -v ".orig.tar.gz"`; elif [[ -a `"$LS" | "$GREP" ".tgz"` ]]; then TARBALL=`"$LS" | "$GREP" ".tgz"`; elif [[ -a `"$LS" | "$GREP" ".tar.bz2"` ]]; then TARBALL=`"$LS" | "$GREP" ".tar.bz2"`; elif [[ -a `"$LS" | "$GREP" ".tbz"` ]]; then TARBALL=`"$LS" | "$GREP" ".tbz"`; else "$ECHO" -e "No upstream tarball found in the current directory \ or several possible files. Use the upstream tarball as argument if there are \ several ones:\nusage $0 [ [ []]]"; exit 1; fi fi "$ECHO" -e "Upstream tarball name: ${TARBALL}\n\n" >> "$ORIGREPORT"; if [[ -z "$TARBALL" ]]; then "$ECHO" "usage: ${USAGE}"; exit 1; fi if [ ! -r "$TARBALL" ]; then "$ECHO" "Sorry, could not read ${TARBALL}. Bailing out."; exit 1; fi # try and detect orig tarball if [[ -z `"$GREP" "$APPNAME.orig.tar.gz" "$DSCFILE"` ]]; then "$ECHO" -e "W: Debian-native package. revu-orig will fail on this package. \ Most packages should not be Debian-native, but use a .orig.tar.gz \ and a .diff.gz files instead.\n\n" >> "$ORIGREPORT"; exit 1; else ORIGBALL="$APPNAME"".orig.tar.gz"; fi if [[ -z "$ORIGBALL" ]]; then "$ECHO" "usage: ${USAGE}"; exit 1; fi if [ ! -r "$ORIGBALL" ]; then "$ECHO" "Sorry, could not read ${ORIG}. Bailing out."; exit 1; fi if [ ! -r "$TARBALL" ]; then "$ECHO" "Sorry, could not read ${TARBALL}. Bailing out." exit 1; fi "$ECHO" "Generating md5 report in ${MD5FILE};"; "$MD5SUM" "$TARBALL" > "$MD5FILE"; "$MD5SUM" "$ORIGBALL" >> "$MD5FILE"; "$MKDIR" "$TARDIR"; cd "$TARDIR"; if [[ -n `"$FILE" ../"$TARBALL" | "$GREP" "bzip2"` ]]; then "$ECHO" "Extracting tar.bz2 upstream archive "$TARBALL" to extracted_tarballs/ ..."; UPSTREAM_OUTPUT=`"$TAR" xvjf ../"$TARBALL"`; UPSTREAM=`"$ECHO" "$UPSTREAM_OUTPUT" | "$HEAD" -n1 | "$SED" -e 's/\/.*//'`; elif [[ -n `"$FILE" ../"$TARBALL" | "$GREP" "gzip"` ]]; then "$ECHO" "Extracting tar.gz upstream archive "$TARBALL" to extracted_tarballs/ ..."; UPSTREAM_OUTPUT=`"$TAR" xvzf ../"$TARBALL"`; UPSTREAM=`"$ECHO" "$UPSTREAM_OUTPUT" | "$HEAD" -n1 | "$SED" -e 's/\/.*//'`; else "$ECHO" "Unrecognized upstream archive type. Aborting."; exit 1; fi "$MV" "$UPSTREAM" "$UPSTREAM"-upstream; "$ECHO" "Extracting tar.gz orig archive to extracted_tarballs/ ..."; ORIG_OUTPUT=`"$TAR" -xvzf ../"$ORIGBALL"`; ORIG=`"$ECHO" "$ORIG_OUTPUT" | "$HEAD" -n1 | "$SED" -e 's/\/.*//'`; "$MV" "$ORIG" "$ORIG"-orig; "$ECHO" "Generating diff report in upstream_orig.diff"; "$DIFF" -ru "$UPSTREAM"-upstream "$ORIG"-orig > ../upstream_orig.diff; cd ../ exit 0; revu-tools-0.6.1.5/revu-tools/usr/bin/revu-report0000775000000000000000000001355511762057611016627 0ustar #!/bin/bash # # given the dsc and the original tarball, this script gets it and generates a # report to appear on REVU and to make the review easier :) # # Copyright (C) 2006 Raphaël Pinson # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # Contributors: Fathi Boudra APPNAME="REVU-Report"; VERSION="0.6.1"; AUTHOR="Raphaël Pinson "; USAGE="$0 [--help || -h][ []]"; TARBALL="$1"; DSCFILE="$2"; source /var/lib/revu-tools/revu-tools-loadconfig if [[ "$1" = "--help" || "$1" = "-h" ]]; then "$ECHO" "${APPNAME} v.${VERSION} by ${AUTHOR}"; "$ECHO" "usage: ${USAGE}"; exit 0; fi # try and detect dsc file if [[ -z "$DSCFILE" ]]; then if [[ ! -a `"$LS" | "$GREP" .dsc` ]]; then "$ECHO" "No dsc file found in the current directory or several dsc files. \ Use the dsc file as argument if there are several ones:"; "$ECHO" "usage: ${USAGE}"; exit 1; else DSCFILE=`"$LS" | "$GREP" dsc`; fi fi BASENAME=`"$BASENAMECMD" "$DSCFILE" .dsc`; if [ "${BASENAME}x" = "x" ]; then "$ECHO" "Basename is empty. Something terribly went wrong." exit 1; fi APPNAME=`"$ECHO" "$BASENAME" | "$SED" -e 's/-[0-9]*[a-z]*[0-9]*$//'`; DIRNAME=`"$ECHO" "$APPNAME" | "$SED" -e 's/_/-/'`; # clean previous runs "$RM" -f "$REPORT"; # Begin to build report "$ECHO" -e "REVU report for package $BASENAME :\n\n " > "$REPORT"; if [[ -z "$DSCFILE" ]]; then "$ECHO" "usage: ${USAGE}"; exit 1; fi if [ ! -r "$DSCFILE" ]; then "$ECHO" "Sorry, could not read ${DSCFILE}. Bailing out."; exit 1; fi "$ECHO" "Running revu-orig on the upstream tarball $TARBALL"; "$REVUORIG" "$TARBALL" "$DSCFILE"; # get TARBALL from detected archive in $ORIGREPORT if [[ -n `"$GREP" "Upstream tarball name:" "$ORIGREPORT"` ]]; then TARBALL=`"$SED" -n '/Upstream tarball name: / s///p' < "$ORIGREPORT"`; fi if [[ -n `"$GREP" "W: Debian-native package" "$ORIGREPORT"` ]]; then "$ECHO" -e `${GREP} "W: Debian-native package" "$ORIGREPORT" | ${SED} -e 's/$/\n\n/'` >> "$REPORT"; fi if [[ -n `"$GREP" "debian/watch" "$ORIGREPORT"` ]]; then "$GREP" "debian/watch" "$ORIGREPORT" | "$SED" -e 's/$/\n\n/' >> "$REPORT"; fi "$ECHO" "Running revu-build on the dsc file $DSCFILE"; "$REVUBUILD" "$DSCFILE"; if [[ -a "FTBFS" ]]; then "$ECHO" -e "E: This package failed to build from source in REVU! \ Try to update your pbuilder and run revu-report again.\n\n" >> "$REPORT"; fi "$ECHO" -e "* Upstream tarball: \n" >> "$REPORT"; if [[ -n `"$GREP" "W: New upstream version available." "$ORIGREPORT"` ]]; then "$GREP" "W: New upstream version available." "$ORIGREPORT" | "$SED" -e 's/^/\t/' -e 's/$/\n/' >> "$REPORT"; fi if [[ -a "$MD5FILE" ]]; then if [[ `"$GREP" "$TARBALL" "$MD5FILE" | "$AWK" {'print $1'}` != `"$GREP" "orig.tar.gz" "$MD5FILE" | "$AWK" {'print $1'}` ]]; then if [[ -n `"$FILE" "$TARBALL" | "$GREP" "gzip"` ]]; then "$ECHO" -e "\tW: The upstream tarball and the orig have \ different md5 sums. It should not be so, since the tarball is a tar.gz one. \ Unless there is a good reason to modify the tarball (which will appear next line), \ this package should use the upstream tarball as orig.tar.gz.\n" >> "$REPORT"; else "$ECHO" -e "\tThe upstream tarball and the orig have \ different md5 sums. This seems normal since the upstream tarball is not a \ tar.gz one. Check next line to get sure nothing was changed in the tarball when \ it was repackaged though.\n" >> "$REPORT"; fi else "$ECHO" -e "\tThe upstream tarball and the orig have identical \ md5 sums.\n" >> "$REPORT"; fi else "$ECHO" -e "\tW:There is no md5 sums report available. This is probably \ because this package is a Debian native one.\n" >> "$REPORT"; fi if [[ -a "$TARBALLDIFF" ]]; then if [[ -s "$TARBALLDIFF" ]]; then "$ECHO" -e "\tW: The upstream tarball was modified! See \ ${TARBALLDIFF} for the diff.\n\n" >> "$REPORT"; else "$ECHO" -e "\tThe upstream tarball is identical to the \ orig.\n\n" >> "$REPORT"; fi else "$ECHO" -e "\tW:There is no tarball diff report available. This is \ probably because this package is a Debian native one.\n\n" >> "$REPORT"; fi "$ECHO" -e "* Debuild test: \n" >> "$REPORT"; if [[ -a "$DEBUILDTEST" ]]; then if [[ -n `"$GREP" -v "orig/debian/" "$DEBUILDTEST"` ]]; then "$ECHO" -e "\tW: Building this package modifies or generates \ files not in debian/. See $DEBUILDTEST and consider \ adding clean rules to debian/rules.\n\n" >> "$REPORT"; else "$ECHO" -e "\tThe debuild test (debuild && debuild -S) didn't \ generate files outside of debian/.\n\n" >> "$REPORT"; fi else "$ECHO" -e "\tW:No build test report was found in the directory. It \ may be because the package FTBFS.\n\n" >> "$REPORT"; fi "$ECHO" -e "* Lintian and Linda: \n" >> "$REPORT"; if [[ -s "$BASENAME.lintian" ]]; then "$ECHO" -e "\tW: Lintian is not happy with this package. \ See "$BASENAME.lintian" for more informations.\n" >> "$REPORT"; else "$ECHO" -e "\tLintian is happy with this package.\n" >> "$REPORT"; fi if [[ -s "$LINDA" ]]; then "$ECHO" -e "\tW: Linda is not happy with this package. \ See "$LINDA" for more informations.\n\n" >> "$REPORT"; else "$ECHO" -e "\tLinda is happy with this package.\n\n" >> "$REPORT"; fi exit 0; revu-tools-0.6.1.5/revu-tools/usr/bin/revu-review0000775000000000000000000000325111762057611016605 0ustar #!/bin/bash # # given the name of the package to review, this script gets the latest # package version on REVU and runs revu-report on it. # # Copyright (C) 2006 Raphaël Pinson # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # Contributors: Fathi Boudra APPNAME="REVU-Report"; VERSION="0.6.1"; AUTHOR="Raphaël Pinson "; USAGE="$0 [--help || -h] package [url]"; PACKAGE=$1; URL=$2; source /var/lib/revu-tools/revu-tools-loadconfig if [[ "$1" = "--help" || "$1" = "-h" ]]; then "$ECHO" "${APPNAME} v.${VERSION} by ${AUTHOR}"; "$ECHO" "usage: ${USAGE}"; exit 0; fi if [[ -z "$PACKAGE" ]]; then "$ECHO" "usage: ${USAGE}"; exit 1; fi CURRENTDIR=`${PWD}`; LASTDIR=`"$LS" "$REVUDIR" | "$GREP" "^${PACKAGE}-[0-9]*" | "$AWK" '{last=$0} END{print last}'`; "$ECHO" "Reviewing package ${PACKAGE} from directory ${LASTDIR}" cd "${REVUDIR}/${LASTDIR}"; if [[ -n "$URL" ]]; then ${WGET} "$URL"; fi ${REVUREPORT}; cd "$CURRENTDIR"; exit 0; revu-tools-0.6.1.5/revu-tools/usr/share/0000775000000000000000000000000011762057763014740 5ustar revu-tools-0.6.1.5/revu-tools/usr/share/revu-tools/0000775000000000000000000000000011762057763017057 5ustar revu-tools-0.6.1.5/revu-tools/usr/share/pbuilder/0000775000000000000000000000000011762057763016546 5ustar revu-tools-0.6.1.5/revu-tools/usr/share/pbuilder/pbuilder-hooks/0000775000000000000000000000000011762057763021475 5ustar revu-tools-0.6.1.5/revu-tools/usr/share/pbuilder/pbuilder-hooks/B01debuildtest0000775000000000000000000000461111762057611024170 0ustar #!/bin/bash # # This is a pbuilder hook used to generate a report on # files created when running `debuild && debuild -S -sa" # on a package. It is used on REVU (http://revu.tauware.de) # to review packages to be included in Ubuntu. # # Copyright (C) 2006 Raphaël Pinson # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ECHO="/bin/echo"; APTGET="/usr/bin/apt-get"; MV="/bin/mv"; SED="/bin/sed"; BASENAMECMD="/usr/bin/basename"; DEBUILD="/usr/bin/debuild"; GZIP="/bin/gzip"; GREP="/bin/grep"; REPORT="debuild_test"; DIFFEXT="_${REPORT}.diff"; "$ECHO" "Installing devscripts to have debuild"; "$APTGET" install devscripts; cd /tmp/buildd/; "$ECHO" "Saving diff.gz files"; for difffile in *.diff.gz; do "$MV" "$difffile" "$difffile"~; done; "$ECHO" "Saving dsc files"; # get dirname to cd in DIRNAME=`"$ECHO" *.dsc | "$SED" -e 's/-[0-9]*[a-z]*[0-9]*.dsc$//' -e 's/_/-/'`; for dscfile in *.dsc; do "$MV" "$dscfile" "$dscfile"~; done; "$ECHO" "Running debuild -S to finish debuild test"; cd "$DIRNAME"; "$DEBUILD" -S -sa; cd ..; "$ECHO" "Extracting debuild generated diff.gz files"; "$GZIP" -d *.diff.gz; "$ECHO" "Generating debuild test report"; "$GREP" "^---.*orig*/" *.diff > "$REPORT"; "$ECHO" "Saving debuild diff files"; for difffile in *.diff; do basename=`"$BASENAMECMD" "$difffile" ".diff"` newname="${basename}${DIFFEXT}"; "$MV" "$difffile" "$newname"; done; "$ECHO" "Restoring saved diff.gz files"; for difffile in *diff.gz~; do newname=`"$ECHO" "$difffile" | "$SED" -e 's/diff.gz~/diff.gz/'`; "$MV" "$difffile" "$newname"; done; "$ECHO" "Restoring saved dsc files"; for dscfile in *dsc~; do newname=`"$ECHO" "$dscfile" | "$SED" -e 's/.dsc~/.dsc/'`; "$MV" "$dscfile" "$newname"; done; exit 0; revu-tools-0.6.1.5/COPYING0000664000000000000000000004310111762057611011730 0ustar GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 19yy This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) 19yy name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. revu-tools-0.6.1.5/TODO0000664000000000000000000000127411762057611011372 0ustar revu-tools TODO: * Check for the presence of the package in Ubuntu (all distros), Debian, apt-get.org. Using mdt ? * Check for existing old bugs in Ubuntu or Debian about this package. * Get the upstream tarball from previous REVU upload if version is identical ? * Try and find a way to use dependencies not yet in dapper but on REVU ... ? * Check downloaded tarballs with "file" and make a while loop to get them properly * Prompt for a url to download the tarball when failed -> do we want interaction during the run ? * revu-orig doesn't detect new versions properly. This should be fixed. * the pbuilder hook doesn't use $DIFFEXT properly to generate the report. THis should be fixed. revu-tools-0.6.1.5/debian/0000775000000000000000000000000011762057763012130 5ustar revu-tools-0.6.1.5/debian/changelog0000664000000000000000000000430511762057727014004 0ustar revu-tools (0.6.1.5) quantal; urgency=low * debian/control: Fixed typo in package description. -- Sebastian Carneiro Thu, 31 May 2012 20:35:26 -0300 revu-tools (0.6.1.4) intrepid; urgency=low * revu-report: do not needlessly report lintian is unhappy (LP: #246106). * change versioning scheme such that it does not suggest this is a Debian native package; also add lintian override file for resulting nmu warnings. * revu-tools-loadconfig: remove shebang line; not needed and lintian complains about it. * debian/control: update standards version to 3.8.0. -- Carol Meertens Sat, 16 Aug 2008 21:12:00 +0200 revu-tools (0.6.1-3) hardy; urgency=low * debian/control: + removed unmetdep on linda (that is not in hardy anymore). (LP: 206135) + set priority to extra since it depends on pbuilder (which is extra). + update Standards-Version to 3.7.3. + update Homepage: field. * debian/conffiles: removed (not needed and lintian complains about it). -- Andrea Colangelo Mon, 24 Mar 2008 20:06:27 +0100 revu-tools (0.6.1-2) dapper; urgency=low * Fix version numbers in scripts -- Raphaël Pinson Mon, 13 Mar 2006 13:55:22 +0100 revu-tools (0.6.1-1) dapper; urgency=low * Fix package directory detection in revu-review * Fix appending ${DIFFEXT} in the pbuilder hook * Fix commands splitted with \ * Document settings better in /etc/revu-tools.conf -- Raphaël Pinson Mon, 13 Mar 2006 11:05:12 +0100 revu-tools (0.6-2) dapper; urgency=low * Removed nice from the dependencies (Closes: Malone #34669) -- Raphaël Pinson Mon, 13 Mar 2006 09:35:59 +0100 revu-tools (0.6-1) dapper; urgency=low * New release. * Made a Debian-native package and stopped Ubuntu specific versioning. -- Raphaël Pinson Sun, 12 Mar 2006 13:41:08 -0500 revu-tools (0.5-0ubuntu1) dapper; urgency=low * New release. -- Raphaël Pinson Mon, 20 Feb 2006 21:08:50 +0100 revu-tools (0.4-0ubuntu1) dapper; urgency=low * Initial release. -- Raphaël Pinson Wed, 8 Feb 2006 04:24:23 +0100 revu-tools-0.6.1.5/debian/install0000664000000000000000000000001711762057611013507 0ustar revu-tools/* / revu-tools-0.6.1.5/debian/rules0000775000000000000000000000065711762057611013210 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk DEB_INSTALL_MANPAGES_revu-tools = revu-build.1 revu-orig.1 revu-report.1 revu-review.1 build/revu-tools:: docbook2x-man debian/man/revu_build.1.docbook docbook2x-man debian/man/revu_orig.1.docbook docbook2x-man debian/man/revu_report.1.docbook docbook2x-man debian/man/revu_review.1.docbook clean:: rm -f revu-build.1 revu-orig.1 revu-report.1 revu-review.1 revu-tools-0.6.1.5/debian/copyright0000664000000000000000000000310611762057611014053 0ustar This package was debianized by Raphaël Pinson on Mon, 6 Feb 2006 17:40:42 +0100. It was downloaded from http://revu.tauware.de/~raphink Copyright Holder: Raphaël Pinson All the software, including debian/man/* docbooks, except revu_review.1.docbook: Copyright (C) 2006 Raphaël Pinson revu_review.1.docbook: Copyright (C) 2006 Fathi Boudra revu-build: Copyright (C) 2006 Reinhard Tartler & Raphaël Pinson revu-tools-loadconfig: Copyright (C) 2006 Fathi Boudra based on pbuilder-loadconfig from pbuilder package by Junichi Uekawa Copyright (C) 2001,2002 Junichi Uekawa License: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, N: MA 02110-1301, USA. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. revu-tools-0.6.1.5/debian/source.lintian-overrides0000664000000000000000000000025511762057611017002 0ustar # Override useless NMU warnings; this is a native Ubuntu package. revu-tools source: changelog-should-mention-nmu revu-tools source: source-nmu-has-incorrect-version-number revu-tools-0.6.1.5/debian/man/0000775000000000000000000000000011762057763012703 5ustar revu-tools-0.6.1.5/debian/man/revu_build.1.docbook0000664000000000000000000000671511762057611016545 0ustar Raphaël Pinson raphink@ubuntu.com Reinhard Tartler siretart@tauware.de 2006 Reinhard Tartler & Raphaël Pinson 2005-02-08 revu-build 1 revu-build Debian packages reviewing tool revu-build DESCRIPTION Debian packages reviewing tool. revu-build is a reviewing tool from the revu-tools package, aimed to helping reviewers of Debian packages in their task. revu-build achieves a series of build tests using pbuilder, lintian and linda. It returns a series of reports in the current folder that can be used by revu-report to generate a full report. Among the informations revu-build gives are: Whether the package fails to build from source in pbuilder ; Whether lintian and linda are happy with this package ; Whether running debuild -S -sa on this package generates files in the diff outside of debian/. OPTIONS Show informations about the program and the usage. Indicate what dsc file to use. This is optional since revu-build can detect the dsc file automatically in the folder. COPYRIGHT Copyright © 2006 Raphaël Pinson. This manual page was written by Raphaël Pinson <raphink@ubuntu.com> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. revu-tools-0.6.1.5/debian/man/revu_report.1.docbook0000664000000000000000000001047511762057611016757 0ustar Raphaël Pinson raphink@ubuntu.com 2006 Raphaël Pinson 2005-02-08 revu-report 1 revu-report Debian packages reviewing tool revu-report DESCRIPTION Debian packages reviewing tool. revu-report is a reviewing tool from the revu-tools package, aimed to helping reviewers of Debian packages in their task. revu-report uses revu-build and revu-orig to generate a full report in the current folder. Among the informations revu-report gives are: Whether the package is a Debian-native ; Whether the package contains a usable debian/watch file ; Whether new versions of the program are available, using the debian/watch file with uscan ; Whether the md5 sums of the upstream tarball and the orig.tar.gz are identical, and whether this is normal or not ; Whether there is a diff between the extracted upstream tarball and orig.tar.gz. Whether the package fails to build from source in pbuilder ; Whether lintian and linda are happy with this package ; Whether running debuild -S -sa on this package generates files in the diff outside of debian/. OPTIONS Show informations about the program and the usage. Indicate what file to use as upstream tarball. This is optional since revu-report can download the upstream tarball using debian/watch and/or detect its presence automatically in the folder. Indicate what dsc file to use. This is optional since revu-report can detect the dsc file automatically in the folder. Note that this argument can only be given if the tarball was given as first one. COPYRIGHT Copyright © 2006 Raphaël Pinson. This manual page was written by Raphaël Pinson <raphink@ubuntu.com> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. revu-tools-0.6.1.5/debian/man/revu_orig.1.docbook0000664000000000000000000001045411762057611016401 0ustar Raphaël Pinson raphink@ubuntu.com 2006 Raphaël Pinson 2005-02-08 revu-orig 1 revu-orig Debian packages reviewing tool revu-orig DESCRIPTION Debian packages reviewing tool. revu-orig is a reviewing tool from the revu-tools package, aimed to helping reviewers of Debian packages in their task. revu-orig achieves a series of tests comparing the upstream tarball with the orig.tar.gz file. It returns a series of reports in the current folder that can be used by revu-report to generate a full report. revu-orig is currently able to use debian/watch files to detect new upstream versions of the program and download the current upstream tarball to achieve the tests. It also detects Debian-native packages. Among the informations revu-orig gives are: Whether the package is a Debian-native ; Whether the package contains a usable debian/watch file ; Whether new versions of the program are available, using the debian/watch file with uscan ; Whether the md5 sums of the upstream tarball and the orig.tar.gz are identical, and whether this is normal or not ; Whether there is a diff between the extracted upstream tarball and orig.tar.gz. OPTIONS Show informations about the program and the usage. Indicate what file to use as upstream tarball. This is optional since revu-orig can download the upstream tarball using debian/watch and/or detect its presence automatically in the folder. Indicate what dsc file to use. This is optional since revu-orig can detect the dsc file automatically in the folder. Note that this argument can only be given if the tarball was given as first one. COPYRIGHT Copyright © 2006 Raphaël Pinson. This manual page was written by Raphaël Pinson <raphink@ubuntu.com> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. revu-tools-0.6.1.5/debian/man/revu_review.1.docbook0000664000000000000000000000755211762057611016747 0ustar fathi"> Boudra"> mars 12, 2006"> 1"> fboudra@free.fr"> revu-review"> Debian"> GNU"> GPL"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2006 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; Debian packages reviewing tool &dhpackage; DESCRIPTION Debian packages reviewing tool. revu-review is a reviewing tool from the revu-tools package, aimed to helping reviewers of Debian packages in their task. revu-review gets the latest package version on REVU and runs revu-report on it. OPTIONS Show informations about the program and the usage. package Indicate package name to use. Indicate url to use. This is optional. SEE ALSO revu-report(1) AUTHOR This manual page was written by &dhusername; &dhemail; for the &debian; system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the &gnu; General Public License, Version 2 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL .
revu-tools-0.6.1.5/debian/compat0000664000000000000000000000000211762057611013316 0ustar 5 revu-tools-0.6.1.5/debian/control0000664000000000000000000000235211762057626013533 0ustar Source: revu-tools Section: admin Priority: extra Maintainer: Raphaël Pinson Build-Depends: debhelper (>= 5), cdbs Build-Depends-Indep: docbook2x Standards-Version: 3.8.0 Homepage: http://revu.ubuntuwire.com/ Package: revu-tools Architecture: all Depends: devscripts, pbuilder, lintian Description: reviewing tools for Debian packages REVU-Tools is a set of scripts to help Debian packages reviewers in their task. It gathers fours scripts: revu-build, revu-orig, revu-report and a hook script for pbuilder, used by revu-build to perform build tests. . Among the information REVU-tools gives are: - Whether the package is a Debian-native - Whether the package contains a usable debian/watch file - Whether new versions of the program are available, using the debian/watch file with uscan - Whether the md5 sums of the upstream tarball and the orig.tar.gz are identical, and whether this is normal or not - Whether there is a diff between the extracted upstream tarball and orig.tar.gz - Whether the package fails to build from source in pbuilder - Whether lintian and linda are happy with this package - Whether running debuild -S -sa on this package generates files in the diff outside of debian/ revu-tools-0.6.1.5/debian/docs0000664000000000000000000000001511762057611012767 0ustar TODO AUTHORS revu-tools-0.6.1.5/AUTHORS0000664000000000000000000000030711762057611011746 0ustar All the software: Raphaël Pinson revu-build: Reinhard Tartler & Raphaël Pinson revu-tools-loadconfig: Fathi Boudra