The purpose of the deltify-tkt-blobs branch is to improve handling of tickets with long text fields. This topic was initially brought up in the forum post "RFC: Better machinery for tickets with elaborated description".
The primary motivating example is a TICKET table with
accompanied by customized
that let a user to make arbitrary edits to ticket's description.
A TICKET table may have several such columns, but for brevity any of
such columns will be denoted as
Description in the following.
For such ticket schema this branch brings-in three improvements:
Deltification of artifacts that hold edits of a ticket's
Description, which enables more compact storage (and thus reduces disk usage).
See check-ins 0f4a0fe82a, c3e7ed3089
Improvement to the
/tkthistorypage: when appropriate, changes to the
Descriptionfields are rendered as unified diffs.
See check-ins b75a9d0fa3, b2049d643b
How to use it
Items 1 and 2 from the above are "opt-in" features. These are activated only
when a TICKET table contains a phony
INTEGER column "
baseline for $name",
$name stands for the name of the actual column provisioned for the
aforementioned frequently changing text (e.g. "
This phony column "
baseline for $name" is used for internal bookkeeping
and must not be used by the user.
Also in this branch
Check-in 4bb91f38a8 adds
to the list items on the
/tkthistory pages, and check-in 7afd4db3d3
adds highlighting to the list item that is being navigated to.
Check-in 2d0b2bda87dd fixes a missing
and check-in 0dd5451d7f53 removes redundant PRE tags on the /wdiff pages.