[Reportbug-commits] [reportbug] 03/03: implement support for attachments in bugscripts; thanks to Joachim Breitner for the report and to Michael Stapelberg for the patch; Closes: #526110
Sandro Tosi
morph at moszumanska.debian.org
Sun Jan 19 16:06:32 UTC 2014
This is an automated email from the git hooks/post-receive script.
morph pushed a commit to branch master
in repository reportbug.
commit 66f54428d1372acdebf8b901c19d712d4a45e66c
Author: Sandro Tosi <morph at debian.org>
Date: Sun Jan 19 17:06:24 2014 +0100
implement support for attachments in bugscripts; thanks to Joachim Breitner for the report and to Michael Stapelberg for the patch; Closes: #526110
---
debian/changelog | 6 +++++-
doc/README.developers | 13 +++++++++++++
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 6fa4645..d7d9c9d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,8 +6,12 @@ reportbug (6.4.5) UNRELEASED; urgency=low
* reportbug/debbugs.py
- improve the ITP template to ask for more information; thanks to Lucas
Nussbaum for the report and patch; Closes: #719067
+ * bin/reportbug, reportbug/utils.py, doc/README.developers
+ - implement support for attachments in bugscripts; thanks to Joachim
+ Breitner for the report and to Michael Stapelberg for the patch;
+ Closes: #526110
- -- Sandro Tosi <morph at debian.org> Sat, 18 Jan 2014 22:34:18 +0100
+ -- Sandro Tosi <morph at debian.org> Sun, 19 Jan 2014 17:03:29 +0100
reportbug (6.4.4) unstable; urgency=low
diff --git a/doc/README.developers b/doc/README.developers
index 1ef4fb4..64a27e5 100644
--- a/doc/README.developers
+++ b/doc/README.developers
@@ -142,6 +142,19 @@ close blocks, else the parser could produce undesired results. Also note that
those headers are added to the ones already presente so a header with the same
name will appear twice, since it won't replace the existing one.
+Add attachments from the bugscript
+==================================
+
+Similarly to headers and pseudo-headers, it's possible to add an attachment
+from the bugscript using this syntax:
+
+ -- BEGIN ATTACHMENTS --
+ /path/to/the/file/to/attach
+ -- END ATTACHMENTS --
+
+and that will attach the mentioned files to the bug report (if that's allowed,
+in particular with not using a MUA but the internal reportbug mail facility).
+
Source layout
=============
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reportbug/reportbug.git
More information about the Reportbug-commits
mailing list