[Reproducible-commits] [debbindiff] 01/01: Write a text report on stdout as default behavior
Jérémy Bobbio
lunar at moszumanska.debian.org
Tue May 5 08:18:05 UTC 2015
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch master
in repository debbindiff.
commit 2347d746da15efe2cffc738c1b19bcb145f5e5ab
Author: Jérémy Bobbio <lunar at debian.org>
Date: Tue May 5 10:15:36 2015 +0200
Write a text report on stdout as default behavior
---
debbindiff.py | 4 ++--
debian/debbindiff.1.rst | 6 ++++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/debbindiff.py b/debbindiff.py
index 55064ba..c94bc40 100755
--- a/debbindiff.py
+++ b/debbindiff.py
@@ -109,8 +109,8 @@ def main():
with make_printer(parsed_args.html_output) as print_func:
output_html(differences, css_url=parsed_args.css_url, print_func=print_func,
max_page_size=parsed_args.max_report_size)
- if parsed_args.text_output:
- with make_printer(parsed_args.text_output) as print_func:
+ else:
+ with make_printer(parsed_args.text_output or '-') as print_func:
output_text(differences, print_func=print_func)
return 1
return 0
diff --git a/debian/debbindiff.1.rst b/debian/debbindiff.1.rst
index c9c38c2..5a8aa10 100644
--- a/debian/debbindiff.1.rst
+++ b/debian/debbindiff.1.rst
@@ -22,8 +22,10 @@ DESCRIPTION
debbindiff was designed to easily compare two builds of the same Debian
package, and understand their differences.
-It can be scripted through error codes, and an HTML report can be produced
-with the detected differences.
+It can be scripted through error codes, and a report can be produced
+with the detected differences. The report can be text or HTML.
+When no type of report has been selected, debbindiff defaults
+to write a text report on the standard output.
debbindiff was written as part of the “reproducible builds” Debian
project.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debbindiff.git
More information about the Reproducible-commits
mailing list