[libvirt] [PATCH v2 0/4] Add schema validation for news

Peter Krempa posted 4 patches 125 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1490772351.git.pkrempa@redhat.com
docs/news.xml         | 62 ++++++++++++++++++++++++++++++++---------
docs/schemas/news.rng | 73 ++++++++++++++++++++++++++++++++++++++++++++++++
tests/virschematest.c | 77 ++++++++++++++++++++++++++++++++-------------------
3 files changed, 171 insertions(+), 41 deletions(-)
create mode 100644 docs/schemas/news.rng

[libvirt] [PATCH v2 0/4] Add schema validation for news

Posted by Peter Krempa 125 weeks ago
v2:
- rename DO_TEST to DO_TEST_DIR along with changes in the first patch
- add 'abs_srcdir' to the tested XML path so that vpath builds work
- fix wording of the rules for adding news entries
- fix commit messages

Peter Krempa (4):
  tests: schema: Add possibility to validate individual files
  news: Introduce rules for the schema file and fix offending lines
  schema: Introduce schema for the news.xml file
  news: Add template for a <release> section

 docs/news.xml         | 62 ++++++++++++++++++++++++++++++++---------
 docs/schemas/news.rng | 73 ++++++++++++++++++++++++++++++++++++++++++++++++
 tests/virschematest.c | 77 ++++++++++++++++++++++++++++++++-------------------
 3 files changed, 171 insertions(+), 41 deletions(-)
 create mode 100644 docs/schemas/news.rng

-- 
2.12.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH v2 0/4] Add schema validation for news

Posted by Ján Tomko 125 weeks ago
On Wed, Mar 29, 2017 at 09:28:12AM +0200, Peter Krempa wrote:
>v2:
>- rename DO_TEST to DO_TEST_DIR along with changes in the first patch
>- add 'abs_srcdir' to the tested XML path so that vpath builds work
>- fix wording of the rules for adding news entries
>- fix commit messages
>
>Peter Krempa (4):
>  tests: schema: Add possibility to validate individual files
>  news: Introduce rules for the schema file and fix offending lines
>  schema: Introduce schema for the news.xml file
>  news: Add template for a <release> section
>
> docs/news.xml         | 62 ++++++++++++++++++++++++++++++++---------
> docs/schemas/news.rng | 73 ++++++++++++++++++++++++++++++++++++++++++++++++
> tests/virschematest.c | 77 ++++++++++++++++++++++++++++++++-------------------
> 3 files changed, 171 insertions(+), 41 deletions(-)
> create mode 100644 docs/schemas/news.rng

ACK series

Jan
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list