Debian Bug report logs - #721245
ITP: libtext-diff-html-perl -- Format Text::Diff output in (X)HTML+CSS

Package: wnpp; Maintainer for wnpp is wnpp@debian.org;

Reported by: Axel Beckert <abe@debian.org>

Date: Thu, 29 Aug 2013 12:00:17 UTC

Owned by: Axel Beckert <abe@debian.org>

Severity: wishlist

Tags: pending

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, abe@debian.org, debian-perl@lists.debian.org, wnpp@debian.org:
Bug#721245; Package wnpp. (Thu, 29 Aug 2013 12:00:21 GMT) Full text and rfc822 format available.

Acknowledgement sent to Axel Beckert <abe@debian.org>:
New Bug report received and forwarded. Copy sent to abe@debian.org, debian-perl@lists.debian.org, wnpp@debian.org. (Thu, 29 Aug 2013 12:00:21 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Axel Beckert <abe@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: ITP: libtext-diff-html-perl -- Format Text::Diff output in (X)HTML+CSS
Date: Thu, 29 Aug 2013 13:49:18 +0200
Package: wnpp
Owner: Axel Beckert <abe@debian.org>
Severity: wishlist

* Package name    : libtext-diff-html-perl
  Version         : 0.07
  Upstream Author : David E. Wheeler
* URL or Web page : https://metacpan.org/release/Text-Diff-HTML
* License         : Perl (Artistic + GPL1+)
  Description     : Format Text::Diff output in (X)HTML+CSS

Text::Diff::HTML subclasses Text::Diff::Unified, a formatting class
provided by the Text::Diff module, to add XHTML markup to the unified
diff format.

Together with some suitable CSS (an example is provided) this allows to
included a colored version of diffs generated with Text::Diff in web
pages etc.

The package will be maintained under the hat of the Debian Perl Group.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org, Axel Beckert <abe@debian.org>:
Bug#721245; Package wnpp. (Thu, 29 Aug 2013 12:12:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonas Smedegaard <dr@jones.dk>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org, Axel Beckert <abe@debian.org>. (Thu, 29 Aug 2013 12:12:04 GMT) Full text and rfc822 format available.

Message #10 received at 721245@bugs.debian.org (full text, mbox):

From: Jonas Smedegaard <dr@jones.dk>
To: Axel Beckert <abe@debian.org>, 721245@bugs.debian.org
Subject: Re: Bug#721245: ITP: libtext-diff-html-perl -- Format Text::Diff output in (X)HTML+CSS
Date: Thu, 29 Aug 2013 14:08:17 +0200
[Message part 1 (text/plain, inline)]
Quoting Axel Beckert (2013-08-29 13:49:18)
> Text::Diff::HTML subclasses Text::Diff::Unified, a formatting class 
> provided by the Text::Diff module, to add XHTML markup to the unified 
> diff format.
> 
> Together with some suitable CSS (an example is provided) this allows 
> to included a colored version of diffs generated with Text::Diff in 
> web pages etc.

There is already libstring-diff-perl seemingly doing same task.

If both are relevant, then perhaps we should try figure out the 
differences and improve the long descriptions.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org:
Bug#721245; Package wnpp. (Thu, 29 Aug 2013 12:39:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Axel Beckert <abe@debian.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org. (Thu, 29 Aug 2013 12:39:05 GMT) Full text and rfc822 format available.

Message #15 received at 721245@bugs.debian.org (full text, mbox):

From: Axel Beckert <abe@debian.org>
To: Jonas Smedegaard <dr@jones.dk>
Cc: 721245@bugs.debian.org
Subject: Re: Bug#721245: ITP: libtext-diff-html-perl -- Format Text::Diff output in (X)HTML+CSS
Date: Thu, 29 Aug 2013 14:36:20 +0200
Jonas Smedegaard wrote:
> Quoting Axel Beckert (2013-08-29 13:49:18)
> > Text::Diff::HTML subclasses Text::Diff::Unified, a formatting class 
> > provided by the Text::Diff module, to add XHTML markup to the unified 
> > diff format.
> > 
> > Together with some suitable CSS (an example is provided) this allows 
> > to included a colored version of diffs generated with Text::Diff in 
> > web pages etc.
> 
> There is already libstring-diff-perl seemingly doing same task.

Ah, thanks for this hint!

> If both are relevant, then perhaps we should try figure out the 
> differences and improve the long descriptions.

From the man page of String::Diff and from what I know about
Text::Diff and Text::Diff::HTML, I see the following differences:

String:Diff allows you much more flexibility but also expects from you
way more configuration, i.e. you seem to always have to give opening
and closing HTML tags for additions and removals explicitly. At least
the synopsis looks like getting something  comparable to Text::Diff::HTML
with String::Diff would be quite some configuration work.

Text:Diff::HTML already knows about practical HTML tags (the same as
suggested in String::Diff's examples :-) for this purpose so you only
need an appropriate CSS. There's one in the distribution included, so
the only thing you have to yourself here is calling Text::Diff::diff
on two strings, say yoyu want HTML output and include the CSS.

Short said, String::Diff is extremely flexible and tedious, Text::Diff::HTML
does only one thing, but DWIM and out of the box. String::Diff seems
more a framework, Text::Diff::HTML only a renderer (for Text::Diff).

And I actually was looking for a Text::Diff renderer for HTML output
as we already use Text::Diff, partially via Test::Differences.

So despite I am happy about the alternative and despite I see the
similarities, I also see that String::Diff can't really provide what I
was looking for. So I'd say, I go on.

But yes, we should check the descriptions, the long as well as short
ones and highlight the differences.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org, Axel Beckert <abe@debian.org>:
Bug#721245; Package wnpp. (Thu, 29 Aug 2013 13:03:11 GMT) Full text and rfc822 format available.

Message #18 received at 721245@bugs.debian.org (full text, mbox):

From: pkg-perl-maintainers@lists.alioth.debian.org
To: 721245@bugs.debian.org, 721245-submitter@bugs.debian.org
Subject: Pending fixes for bugs in the libtext-diff-html-perl package
Date: Thu, 29 Aug 2013 12:58:59 +0000
tag 721245 + pending
thanks

Some bugs in the libtext-diff-html-perl package are closed in
revision 722122c08a7eee928a53e951b8cca16ccb9edfc3 in branch 'master'
by Axel Beckert

The full diff can be seen at
http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libtext-diff-html-perl.git;a=commitdiff;h=722122c

Commit message:

    Add ITP bug number
    
    Closes: #721245




Added tag(s) pending. Request was from pkg-perl-maintainers@lists.alioth.debian.org to control@bugs.debian.org. (Thu, 29 Aug 2013 13:03:15 GMT) Full text and rfc822 format available.

Message sent on to Axel Beckert <abe@debian.org>:
Bug#721245. (Thu, 29 Aug 2013 13:03:18 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Apr 21 02:25:15 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.