[LUDOC-13] reviewing changes is difficult in docbook xml Created: 15/Jul/11  Updated: 15/Sep/16

Status: Open
Project: Lustre Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Richard Henwood (Inactive) Assignee: Lustre Manual Triage
Resolution: Unresolved Votes: 0
Labels: QInfrastructure

Attachments: PNG File Screenshot-Lustre 2.x Filesystem - Mozilla Firefox.png     File diff.py    
Business Value: 25
Rank (Obsolete): 7197

 Description   

I suggest that the Makefile be enhanced with a 'make htmldiff'.

I have had some success with:

  1. Build a manual.html (xhtml-1_1) from MASTER:
    xsltproc --stringparam  fop1.extensions  1 --stringparam  section.label.includes.component.label 1 --stringparam  section.autolabel 1 --stringparam  chapter.autolabel 1 --stringparam  appendix.autolabel 1 --xinclude -o /tmp/newmanual.html /usr/share/xml/docbook/stylesheet/docbook-xsl-ns/xhtml-1_1/docbook.xsl ./index.xml
    
  2. Build a newmanual.html (xhtml-1_1) from REVIEW.
  3. Create a diff.html with diff annotation using diff.py
  4. Point browser at diff.html.


 Comments   
Comment by Richard Henwood (Inactive) [ 15/Jul/11 ]

The current html build task does not produce xhtml-1_1. Using diff.py on the current html output does not produce a useful result.

It is probably prudent to wait for LUDOC-8 to complete first. This should enable simple addition of a xhtml build target.

Comment by Richard Henwood (Inactive) [ 20/Jul/11 ]

First draft at this feature:

http://review.whamcloud.com/#change,1127

NOTE: This depends on MASTER branch xhtml being built and available on build.whamcloud.com. This is not currently available.

Comment by Richard Henwood (Inactive) [ 11/Aug/11 ]

Change,1127 has landed. However, xhtml is still not being built.

Either LUDOC-8 needs to land or a manual build job modification needs to be made.

Comment by Richard Henwood (Inactive) [ 19/Dec/11 ]

I believe the problem here is that the xhtml artifacts are not appearing in the expect place at the end of the build:

http://jira.whamcloud.com/browse/IT-44

Comment by Richard Henwood (Inactive) [ 30/Dec/11 ]

Joshua has fixed IT-44, progress continues...

Comment by Richard Henwood (Inactive) [ 30/Dec/11 ]

A couple of tweaks to the make file and ./diff.py are available here:

http://review.whamcloud.com/1909

Comment by Richard Henwood (Inactive) [ 08/Feb/12 ]

An additional enhancement is now available:

http://review.whamcloud.com/#change,2118

Comment by Richard Henwood (Inactive) [ 13/Nov/12 ]

I've recently needed to do a diff again, and found that:

https://github.com/cygri/htmldiff

produces ok output on my test (but is slow.)

Comment by Richard Henwood (Inactive) [ 10/Dec/12 ]

I've been playing with daisydiff locally. It is fast and appears to be sensible.

http://code.google.com/p/daisydiff/

Comment by Andreas Dilger [ 23/Apr/13 ]

Is there a plan to integrate this upstream somehow? Ideally it would be available in Gerrit.

Comment by Richard Henwood (Inactive) [ 24/Apr/13 ]

I haven't worked on this feature for a while - so the status of this ticket is currently 'dormant', with no plan to up-stream.

Comment by Richard Henwood (Inactive) [ 08/Oct/13 ]

UPDATE: We haven't found any resources to work on this recently - but we are interested in pursuing this when the opportunity arises.

Generated at Sat Feb 10 03:39:33 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.