[Python-apps-commits] r10087 - in packages/svnmailer/trunk/debian (5 files)
anbe at users.alioth.debian.org
anbe at users.alioth.debian.org
Wed Oct 16 08:41:05 UTC 2013
Date: Wednesday, October 16, 2013 @ 08:41:02
Author: anbe
Revision: 10087
use upstream's manpage
Added:
packages/svnmailer/trunk/debian/patches/manpage-installation.diff
Modified:
packages/svnmailer/trunk/debian/changelog
packages/svnmailer/trunk/debian/patches/series
Deleted:
packages/svnmailer/trunk/debian/manpages
packages/svnmailer/trunk/debian/svn-mailer.1
Modified: packages/svnmailer/trunk/debian/changelog
===================================================================
--- packages/svnmailer/trunk/debian/changelog 2013-10-16 08:21:40 UTC (rev 10086)
+++ packages/svnmailer/trunk/debian/changelog 2013-10-16 08:41:02 UTC (rev 10087)
@@ -9,6 +9,9 @@
- Work around the double-quoted-printable issue by defaulting to 8bit.
(Closes: #385246)
* Drop patch restore_pristine_code, fixed upstream.
+ * Drop our own copy of the manpage.
+ * Add new patch manpage-installation to properly install the upstream
+ manpage into /usr/share/man.
* Revert SVN_STREAM_CHUNK_SIZE int vs. long workaround, this has been fixed
in python-subversion (see #683188).
* Switch from dpatch to source format 3.0 (quilt).
Deleted: packages/svnmailer/trunk/debian/manpages
===================================================================
--- packages/svnmailer/trunk/debian/manpages 2013-10-16 08:21:40 UTC (rev 10086)
+++ packages/svnmailer/trunk/debian/manpages 2013-10-16 08:41:02 UTC (rev 10087)
@@ -1 +0,0 @@
-debian/svn-mailer.1
Added: packages/svnmailer/trunk/debian/patches/manpage-installation.diff
===================================================================
--- packages/svnmailer/trunk/debian/patches/manpage-installation.diff (rev 0)
+++ packages/svnmailer/trunk/debian/patches/manpage-installation.diff 2013-10-16 08:41:02 UTC (rev 10087)
@@ -0,0 +1,14 @@
+Author: Andreas Beckmann <anbe at debian.org>
+Description: install manpage in /usr/share/man
+
+--- a/setup.py
++++ b/setup.py
+@@ -25,7 +25,7 @@
+
+ addargs = {}
+ if sys.platform != 'win32':
+- addargs['data_files'] = [("man/man1", ["docs/svn-mailer.1"])]
++ addargs['data_files'] = [("share/man/man1", ["docs/svn-mailer.1"])]
+
+ core.setup(
+ name = "svnmailer",
Modified: packages/svnmailer/trunk/debian/patches/series
===================================================================
--- packages/svnmailer/trunk/debian/patches/series 2013-10-16 08:21:40 UTC (rev 10086)
+++ packages/svnmailer/trunk/debian/patches/series 2013-10-16 08:41:02 UTC (rev 10087)
@@ -0,0 +1 @@
+manpage-installation.diff
Deleted: packages/svnmailer/trunk/debian/svn-mailer.1
===================================================================
--- packages/svnmailer/trunk/debian/svn-mailer.1 2013-10-16 08:21:40 UTC (rev 10086)
+++ packages/svnmailer/trunk/debian/svn-mailer.1 2013-10-16 08:41:02 UTC (rev 10087)
@@ -1,134 +0,0 @@
-.\" Copyright 2005-2006 André Malo or his licensors, as applicable
-.\"
-.\" Licensed under the Apache License, Version 2.0 (the "License");
-.\" you may not use this file except in compliance with the License.
-.\" You may obtain a copy of the License at
-.\"
-.\" http://www.apache.org/licenses/LICENSE-2.0
-.\"
-.\" Unless required by applicable law or agreed to in writing, software
-.\" distributed under the License is distributed on an "AS IS" BASIS,
-.\" WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-.\" See the License for the specific language governing permissions and
-.\" limitations under the License.
-.\"
-.TH SVN-MAILER "1" "2006" "svn-mailer 1.0.8" "User Commands"
-.SH NAME
-svn-mailer \- A feature rich subversion commit notification tool
-.SH SYNOPSIS
-.B svn-mailer
-\fB\-\-commit\fR \fB\-d\fR \fIrepos\fR \fB\-r\fR \fIrev\fR [\fB\-f\fR \fIconfig\fR]
-
-.B svn-mailer
-\fB\-\-propchange\fR \fB\-d\fR \fIrepos\fR \fB\-r\fR \fIrev\fR \fB\-a\fR \fIauthor\fR \fB\-n\fR \fIpropname\fR
- [\fB\-o\fR \fIaction\fR] [\fB\-f\fR \fIconfig\fR]
-
-.B svn-mailer
-\fB\-\-lock\fR \fB\-d\fR \fIrepos\fR \fB\-a\fR \fIauthor\fR [\fB\-f\fR \fIconfig\fR]
-
-.B svn-mailer
-\fB\-\-unlock\fR \fB\-d\fR \fIrepos\fR \fB\-a\fR \fIauthor\fR [\fB\-f\fR \fIconfig\fR]
-.SH DESCRIPTION
-The svnmailer package is a tool to post notifications of subversion events to
-various targets in different ways. Currently implemented: Mail via SMTP or
-a sendmail pipe, news via NNTP, XML via XMLRPC to a CIA tracker (see
-http://cia.navi.cx/ for details).
-
-The \fBsvn\-mailer\fR command line script is typically invoked via
-subversion's hook mechanism, but you can run it manually as well. This is
-useful to resend missing messages or for debugging purposes. Remember
-to start it under the correct user/group id. Otherwise it may have problems
-to open the repository or the config file.
-
-The svnmailer can be used in most cases as a drop-in replacement for
-\fImailer.py\fR distributed with subversion. There are some subtle differences
-which are dedicated to more behavior consistency. (Hopefully) all of them are
-stated in the HTML documentation.
-.SS GENERAL OPTIONS
-.TP
-\fB\-\-version\fR
-show program's version number and exit
-.TP
-\fB\-h\fR, \fB\-\-help\fR
-show a help message and exit
-.SS COMMON PARAMETERS
-.TP
-\fB\-\-debug\fR
-Run in debug mode (means basically that all messages are
-sent to STDOUT)
-.TP
-\fB\-dREPOSITORY\fR, \fB\-\-repository\fR=\fIREPOSITORY\fR
-The repository directory
-.TP
-\fB\-fCONFIG\fR, \fB\-\-config\fR=\fICONFIG\fR
-The configuration file
-.TP
-\fB\-ePATH_ENCODING\fR, \fB\-\-path\-encoding\fR=\fIPATH_ENCODING\fR
-Specifies the character encoding to be used for
-filenames. By default the encoding is tried to be
-determined automatically depending on the locale.
-.SS BEHAVIOR OPTIONS
-.PP
-The behavior options are mutually exclusive, i.e. the last one wins.
-.TP
-\fB\-c\fR, \fB\-\-commit\fR
-This is a regular commit of versioned data (post-commit hook). This is default.
-.TP
-\fB\-p\fR, \fB\-\-propchange\fR
-This is a modification of unversioned properties (post-revprop-change hook)
-.TP
-\fB\-l\fR, \fB\-\-lock\fR
-(svn 1.2 and later) This is a locking call (post-lock hook). The locked file
-names are read from STDIN.
-.TP
-\fB\-u\fR, \fB\-\-unlock\fR
-(svn 1.2 and later) This is a unlocking call (post-unlock hook). The unlocked
-file names are read from STDIN.
-.SS SUPPLEMENTAL PARAMETERS
-.TP
-\fB\-rREVISION\fR, \fB\-\-revision\fR=\fIREVISION\fR
-The modified/committed revision number
-.TP
-\fB\-aAUTHOR\fR, \fB\-\-author\fR=\fIAUTHOR\fR
-The author of the modification
-.TP
-\fB\-nPROPNAME\fR, \fB\-\-propname\fR=\fIPROPNAME\fR
-The name of the modified property
-.TP
-\fB\-oACTION\fR, \fB\-\-action\fR=\fIACTION\fR
-(svn 1.2 and later) The property change action. If specified, the old
-property value is read from STDIN.
-.SH "CONFIGURATION FILES"
-If the configuration file is not specified on the command line it is searched
-at default locations. The first one found is loaded. The locations are, in
-order: \fImailer.conf\fR in the \fIconf/\fR directory of the given
-repository, \fImailer.conf\fR in the script directory itself,
-\fI/etc/svn-mailer.conf\fR.
-.SH OLD STYLE COMMAND LINE
-Alternatively you can use the old style compatibility command lines (options
-described above don't apply then):
-
-\fBsvn\-mailer\fR \fBcommit\fR \fIrepos\fR \fIrev\fR [\fIconfig\fR]
-
-\fBsvn\-mailer\fR \fBpropchange\fR \fIrepos\fR \fIrev\fR \fIauthor\fR \fIpropname\fR [\fIconfig\fR]
-
-With svn 1.2 and later:
-.br
-\fBsvn\-mailer\fR \fBpropchange2\fR \fIrepos\fR \fIrev\fR \fIauthor\fR
-\fIpropname\fR \fIaction\fR [\fIconfig\fR]
-
-\fBsvn\-mailer\fR \fBlock\fR \fIrepos\fR \fIauthor\fR [\fIconfig\fR]
-
-\fBsvn\-mailer\fR \fBunlock\fR \fIrepos\fR \fIauthor\fR [\fIconfig\fR]
-.SH "REPORTING BUGS"
-If you've found a bug or have an idea how to improve the svnmailer,
-please send a mail to <\fIsvnmailer\-bugs at perlig.de\fR>.
-.SH "AUTHOR INFORMATION"
-Andr\('e "nd" Malo <nd at perlig.de>, GPG: 0x8103A37E
-.SH "SEE ALSO"
-The full documentation of the svnmailer package is maintained in HTML form.
-You may find it in the \fI/usr/share/doc/svnmailer/\fR directory at your
-site or online at <\fIhttp://opensource.perlig.de/svnmailer/\fR>.
-
-For detailed information about subversion, consult the subversion book at
-<\fIhttp://svnbook.red-bean.com/\fR>.
More information about the Python-apps-commits
mailing list