r35506 - /website/tips.pod

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sat May 16 13:26:41 UTC 2009


Author: gregoa
Date: Sat May 16 13:26:36 2009
New Revision: 35506

URL: http://svn.debian.org/wsvn/?sc=1&rev=35506
Log:
add some aliases, functions, and links to scripts to the tips page

Modified:
    website/tips.pod

Modified: website/tips.pod
URL: http://svn.debian.org/wsvn/website/tips.pod?rev=35506&op=diff
==============================================================================
--- website/tips.pod (original)
+++ website/tips.pod Sat May 16 13:26:36 2009
@@ -1,6 +1,6 @@
 =head1 NAME
 
-Debian Perl Group tips and tricks
+tips - Debian Perl Group tips and tricks
 
 =head1 INTRODUCTION 
 
@@ -16,17 +16,74 @@
 
 =over 2
 
-=item gen-itp, for generating ITPs from debian/{control,changelog,copyright}, L<http://svn.debian.org/viewsvn/pkg-perl/scripts/examples/gen-itp>
+=item gen-itp
+
+for generating ITPs from debian/{control,changelog,copyright},
+L<http://svn.debian.org/viewsvn/pkg-perl/scripts/examples/gen-itp>
+
+=item dpatch2quilt
+
+converts patch system from dpatch to quilt,
+L<http://svn.debian.org/viewsvn/pkg-perl/scripts/dpatch2quilt>
+
+=item fill_svn_props
+
+fills various SVN properties of packages' debian/ dir,
+L<http://svn.debian.org/viewsvn/pkg-perl/scripts/fill_svn_props>
+
+=item takeover-for-pkg-perl.sh
+
+for adopting packages,
+L<http://svn.debian.org/viewsvn/pkg-perl/scripts/takeover-for-pkg-perl.sh>
+
+=item packagecheck
+
+update various aspects of one or all packages,
+L<http://svn.debian.org/viewsvn/pkg-perl/scripts/qa/packagecheck>
+
+=item svn-buildpackage-pdebuild
+
+wrapper script for building and checking packages with svn-buildpackage and pdebuild,
+L<http://svn.debian.org/viewsvn/pkg-perl/scripts/examples/svn-buildpackage-pdebuild>
 
 =back
 
 =head1 2. Aliases
 
+    # download upstream tarball and put it into the directory svn-buildpackage expects
+    alias svn-uscan='uscan --verbose --force-download --rename --repack --destdir=../tarballs'
+
+    # svn update and show the diff to the previous status
+    alias svnupdiff='REV=$(svn info | awk "/Revision:/ {print \$2;}") ; svn up ; svndiff -r${REV}'
+
 =head1 3. Functions
+
+    # nicer 'svn diff' output, needs colordiff
+    function svndiff {
+         svn diff --extensions --ignore-space-change "${@}" | colordiff | /usr/bin/less -R
+    }
+
+    # paged output of "svn log"
+    function svnlog { 
+        svn log "${@}" | less                                                            
+    }
+
+    # afsp = apt-file search $perl; obsolete since `dh-make-perl --locate'
+    function afsp {
+        apt-file search $(echo "$@" | sed -e 's;::;/;g' -e 's;$;.pm;') | uniq
+    }
 
 =head1 Authors and Contributors
 
+=over 2
+
 =item * Xavier Oswald <xoswald at debian.org>
+
+=item * Ryan Niebur <ryanryan52 at gmail.com>
+
+=item * gregor herrmann <gregoa at debian.org>
+
+=back
 
 =head1 Licence
 




More information about the Pkg-perl-cvs-commits mailing list