]> git.ipfire.org Git - thirdparty/libvirt.git/commit
NEWS: Improve building pipeline
authorAndrea Bolognani <abologna@redhat.com>
Tue, 3 Jan 2017 11:22:54 +0000 (12:22 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 10 Jan 2017 18:37:53 +0000 (19:37 +0100)
commitbe36ea4b52c33c7472638b577fcdedf5183f4893
tree164185e7c279f0cc40082fd47d00d591548d3f2e
parent3027bacf959fe355f7a36ed255f1865be33ca64b
NEWS: Improve building pipeline

Currently, building the NEWS file involves using a XSLT stylesheet
to extract information from the same HTML file that's used on the
libvirt website.

The process works, but it's quite fiddly in that it requires the
source HTML to be formatted in a very precise way, and a single
missing newline can mess up the resulting plain text considerably.

Moreover, the XSLT stylesheet itself encodes a lot of the details
of converting to plain text in a way that's not necessarily easy
to understand, tweak or fix.

To improve the process, move all existing entries to a new XML
file that contains exactly the information we care about in a
simple structured format, and start generating both the HTML and
plain text versions of the release notes using XSLT stylesheets
that can now afford to be almost trivial.
.gitignore
Makefile.am
docs/Makefile.am
docs/news-ascii.xsl [new file with mode: 0644]
docs/news-html.xsl [new file with mode: 0644]
docs/news.html.in [deleted file]
docs/news.xml [new file with mode: 0644]
docs/news.xsl [deleted file]