[Git][reproducible-builds/diffoscope][master] Clarify in the HTML and text outputs that the limits are per-format, not...

Chris Lamb gitlab at salsa.debian.org
Mon Nov 18 01:34:52 UTC 2019



Chris Lamb pushed to branch master at Reproducible Builds / diffoscope


Commits:
eceda87a by Chris Lamb at 2019-11-18T01:33:04Z
Clarify in the HTML and text outputs that the limits are per-format, not global. (Closes: reproducible-builds/diffoscope#76, Debian:#944882)

- - - - -


2 changed files:

- diffoscope/presenters/html/templates.py
- diffoscope/presenters/text.py


Changes:

=====================================
diffoscope/presenters/html/templates.py
=====================================
@@ -222,7 +222,7 @@ only the top %(pagesize)s of the HTML are loaded at a time">... <a
 href="%(pagename)s.html">load details (total %(size)s)</a> ...</div>
 """
 
-DIFFNODE_LIMIT = """<div class="error">Max report size reached</div>
+DIFFNODE_LIMIT = """<div class="error">Max HTML report size reached</div>
 """
 
 UD_TABLE_HEADER = """<table class="diff">


=====================================
diffoscope/presenters/text.py
=====================================
@@ -70,7 +70,7 @@ class TextPresenter(Presenter):
         try:
             super().start(difference)
         except PrintLimitReached:
-            self.print_func("Max output size reached.", force=True)
+            self.print_func("Max text output size reached.", force=True)
 
     def visit_difference(self, difference):
         if self.depth == 0:



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/eceda87a162fe93a841c67aebe6b404cdc5ac873

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/commit/eceda87a162fe93a841c67aebe6b404cdc5ac873
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20191118/b78e0173/attachment.htm>


More information about the rb-commits mailing list