All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-4.11 v2 0/9] Provide support matrix generator
@ 2018-04-11 15:35 Ian Jackson
  2018-04-11 15:35 ` [PATCH 1/9] SUPPORT.md: Syntax: Fix some bullet lists Ian Jackson
                   ` (9 more replies)
  0 siblings, 10 replies; 16+ messages in thread
From: Ian Jackson @ 2018-04-11 15:35 UTC (permalink / raw)
  To: xen-devel; +Cc: Juergen Gross, Lars Kurth, Wei Liu, George Dunlap

This series provides code to generate a feature support matrix, to
replace the one on the wiki.  You can see an example of the output
here:
  http://xenbits.xen.org/people/iwj/2018/support-matrix-example-v2/t.html
There is also an accompanying SUPPORT.html to make the links for 4.11
work.

Patches 1-3 fix syntax trouble in SUPPORT.md (and commit us to using
pandoc format for it).  Patches 4-7 arrange to generate a SUPPORT.html
at the toplevel of the generated docs.  These should all be backported
to 4.10.

Patches 8 and 9 are the support matrix generator.  They are not hooked
into any of the xen.git makefiles but it seemed best to have them here
in xen.git/docs rather than floating about in some ad hoc crontab
repo.

  ar 1/9 SUPPORT.md: Syntax: Fix some bullet lists
  ar 2/9 SUPPORT.md: Syntax: Fix a typo "States"
 m r 3/9 SUPPORT.md: Syntax: Provide a title rather than a
   r 4/9 docs/gen-html-index: Extract titles from HTML documents
   r 5/9 docs/gen-html-index: Support documents at the toplevel
   r 6/9 docs/Makefile: Introduce GENERATE_PANDOC_RULE_RAW
   r 7/9 docs/Makefile: Format SUPPORT.md into the toplevel
 +   8/9 docs: Provide parse-support-md
 +   9/9 docs: Provide support-matrix-generate, to generate ...

 a = acked (by a tools or REST maintainer)
 r = release-acked for 4.11
 + = new patch
 m = modified commit message

I think if the output is tolerably accurate, it would be valuable to
get this set up as a cron job ASAP.  Stylistic and formatting
improvements etc. can be done on top.

My plan is that the cron job will use the matrix generator from
xen.git#master.

For my reference, this was generated with
   docs/support-matrix-generate HEAD SUPPORT.html refs/heads/wip.support-stmt-NN https://xenbits.xen.org/docs/NN-testing/SUPPORT.html >t.html
  rsync -vP t.html SUPPORT.html xenbits:public_html/2018/support-matrix-example-v1/

Thanks,
Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 16+ messages in thread
* [PATCH for-4.10 0/9] SUPPORT.md backports to support matrix generation
@ 2018-04-25 12:59 Ian Jackson
  2018-04-25 13:00 ` [PATCH 6/9] docs/Makefile: Introduce GENERATE_PANDOC_RULE_RAW Ian Jackson
  0 siblings, 1 reply; 16+ messages in thread
From: Ian Jackson @ 2018-04-25 12:59 UTC (permalink / raw)
  To: xen-devel; +Cc: Lars Kurth, George Dunlap, Jan Beulich

This is a backport of my two recent series to fix bugs in SUPPORT.md,
format it as part of the published docs, and use relative position of
the `Status' stanza compared to descriptive text to indicate whether
the text is a caveat that deserves a footnote.

Most of this is uncontroversial and I have run the build and checked
that the resulting index.html is good.

It would be good if someone could review particularly the way I
resolved the conflicts in the big patch to SUPPORT.md, ie in
  [PATCH 8/9] SUPPORT.md: Move descriptions up before Status info

The result for 4.10's
SUPPORT.md is here:
  https://xenbits.xen.org/people/iwj/2018/support-matrix-example-C/SUPPORT.html

I have also checked that (with the patch I am about to send for
staging's parse-support-md) that this generates a sensible-looking
support matrix.  The resulting support matrix can be found here:
  https://xenbits.xen.org/people/iwj/2018/support-matrix-example-C/t.html
(The hyperlink references for staging are to the live xenbits version;
the references for 4.10 are to the example output file mentioned above.)

I have squashed the fix to not depend on HTML::TreeBuilder::XPath into
the patch that introduces the dependency.

For my reference, this was made as follows:
  docs/support-matrix-generate -D HEAD https://xenbits.xen.org/docs/unstable-staging/SUPPORT.html refs/heads/wip.support-stmt-NN-2 SUPPORT.html 2>&1 >docs/html/t.html |less
  rsync -LvP docs/html/{t,SUPPORT}.html xenbits:public_html/2018/support-matrix-example-C

Thanks,
Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2018-04-25 13:00 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-11 15:35 [PATCH for-4.11 v2 0/9] Provide support matrix generator Ian Jackson
2018-04-11 15:35 ` [PATCH 1/9] SUPPORT.md: Syntax: Fix some bullet lists Ian Jackson
2018-04-11 15:35 ` [PATCH 2/9] SUPPORT.md: Syntax: Fix a typo "States" Ian Jackson
2018-04-11 15:35 ` [PATCH 3/9] SUPPORT.md: Syntax: Provide a title rather than a spurious empty section Ian Jackson
2018-04-11 15:37   ` George Dunlap
2018-04-11 15:48     ` Ian Jackson
2018-04-11 15:35 ` [PATCH 4/9] docs/gen-html-index: Extract titles from HTML documents Ian Jackson
2018-04-11 15:35 ` [PATCH 5/9] docs/gen-html-index: Support documents at the toplevel Ian Jackson
2018-04-11 15:35 ` [PATCH 6/9] docs/Makefile: Introduce GENERATE_PANDOC_RULE_RAW Ian Jackson
2018-04-11 15:35 ` [PATCH 7/9] docs/Makefile: Format SUPPORT.md into the toplevel Ian Jackson
2018-04-11 15:35 ` [PATCH 8/9] docs: Provide parse-support-md Ian Jackson
2018-04-11 15:39   ` Juergen Gross
2018-04-11 15:35 ` [PATCH 9/9] docs: Provide support-matrix-generate, to generate a support matrix in HTML Ian Jackson
2018-04-11 15:40   ` Juergen Gross
2018-04-11 17:47 ` [PATCH for-4.11 v2 0/9] Provide support matrix generator Lars Kurth
2018-04-25 12:59 [PATCH for-4.10 0/9] SUPPORT.md backports to support matrix generation Ian Jackson
2018-04-25 13:00 ` [PATCH 6/9] docs/Makefile: Introduce GENERATE_PANDOC_RULE_RAW Ian Jackson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.