trac is rendering git diffs (in attachments) badly? #1940

Closed
opened 2013-04-04 16:17:50 +00:00 by warner · 1 comment
warner commented 2013-04-04 16:17:50 +00:00
Owner

(https://tahoe-lafs.org/trac/tahoe-lafs/attachment/ticket/166/166-3.diff)

I think it ought to be a regular "git diff" output, but trac is only showing the summary (counts of adds/deletes). This might be trac's diff renderer getting confused.

1	 src/allmydata/scripts/admin.py          |   19 +--
2	 src/allmydata/scripts/cli.py            |   92 ++++++------
3	 src/allmydata/scripts/common.py         |   48 +++----
4	 src/allmydata/scripts/create_node.py    |   16 +--
5	 src/allmydata/scripts/debug.py          |   47 ++++---
6	 src/allmydata/scripts/keygen.py         |   10 +-
7	 src/allmydata/scripts/runner.py         |   45 +++++-
8	 src/allmydata/scripts/startstop_node.py |   22 ++-
9	 src/allmydata/scripts/stats_gatherer.py |   10 +-
10	 src/allmydata/test/test_cli.py          |  235 ++++++++++++++++++-------------
11	 src/allmydata/test/test_deepcheck.py    |   28 ++--
12	 src/allmydata/test/test_runner.py       |    2 +-
13	 src/allmydata/test/test_system.py       |    6 +-
14	 13 files changed, 309 insertions(+), 271 deletions(-)
(https://tahoe-lafs.org/trac/tahoe-lafs/attachment/ticket/166/166-3.diff) I think it ought to be a regular "git diff" output, but trac is only showing the summary (counts of adds/deletes). This might be trac's diff renderer getting confused. ``` 1 src/allmydata/scripts/admin.py | 19 +-- 2 src/allmydata/scripts/cli.py | 92 ++++++------ 3 src/allmydata/scripts/common.py | 48 +++---- 4 src/allmydata/scripts/create_node.py | 16 +-- 5 src/allmydata/scripts/debug.py | 47 ++++--- 6 src/allmydata/scripts/keygen.py | 10 +- 7 src/allmydata/scripts/runner.py | 45 +++++- 8 src/allmydata/scripts/startstop_node.py | 22 ++- 9 src/allmydata/scripts/stats_gatherer.py | 10 +- 10 src/allmydata/test/test_cli.py | 235 ++++++++++++++++++------------- 11 src/allmydata/test/test_deepcheck.py | 28 ++-- 12 src/allmydata/test/test_runner.py | 2 +- 13 src/allmydata/test/test_system.py | 6 +- 14 13 files changed, 309 insertions(+), 271 deletions(-) ```
tahoe-lafs added the
dev-infrastructure
normal
defect
n/a
labels 2013-04-04 16:17:50 +00:00
tahoe-lafs added this to the soon milestone 2013-04-04 16:17:50 +00:00
warner commented 2013-04-04 16:21:20 +00:00
Author
Owner

Oh, nevermind, the attachment was truncated: I uploaded the wrong thing when I attached the diff. Trac is rendering the truncated data just fine.

Oh, nevermind, the attachment was truncated: I uploaded the wrong thing when I attached the diff. Trac is rendering the truncated data just fine.
tahoe-lafs added the
invalid
label 2013-04-04 16:21:20 +00:00
warner closed this issue 2013-04-04 16:21:20 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tahoe-lafs/trac-2024-07-25#1940
No description provided.