[PULL 00/15] QAPI patches patches for 2021-05-20

Markus Armbruster posted 15 patches 2 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/next-importer-push tags/patchew/20210520175256.1119684-1-armbru@redhat.com
Maintainers: Michael Roth <michael.roth@amd.com>, Markus Armbruster <armbru@redhat.com>
scripts/qapi/common.py                             |   8 +-
scripts/qapi/main.py                               |   6 +-
scripts/qapi/parser.py                             | 230 +++++++++++++++------
scripts/qapi/pylintrc                              |   1 +
scripts/qapi/schema.py                             |  11 +-
scripts/qapi/source.py                             |  13 +-
tests/qapi-schema/meson.build                      |   9 +-
tests/qapi-schema/missing-array-rsqb.err           |   1 +
tests/qapi-schema/missing-array-rsqb.json          |   1 +
tests/qapi-schema/missing-array-rsqb.out           |   0
.../qapi-schema/missing-object-member-element.err  |   1 +
.../qapi-schema/missing-object-member-element.json |   1 +
.../qapi-schema/missing-object-member-element.out  |   0
tests/qapi-schema/missing-schema.err               |   1 +
tests/qapi-schema/missing-schema.out               |   0
tests/qapi-schema/non-objects.err                  |   2 +-
tests/qapi-schema/quoted-structural-chars.err      |   2 +-
tests/qapi-schema/test-qapi.py                     |   3 -
18 files changed, 209 insertions(+), 81 deletions(-)
create mode 100644 tests/qapi-schema/missing-array-rsqb.err
create mode 100644 tests/qapi-schema/missing-array-rsqb.json
create mode 100644 tests/qapi-schema/missing-array-rsqb.out
create mode 100644 tests/qapi-schema/missing-object-member-element.err
create mode 100644 tests/qapi-schema/missing-object-member-element.json
create mode 100644 tests/qapi-schema/missing-object-member-element.out
create mode 100644 tests/qapi-schema/missing-schema.err
create mode 100644 tests/qapi-schema/missing-schema.out
[PULL 00/15] QAPI patches patches for 2021-05-20
Posted by Markus Armbruster 2 years, 11 months ago
The following changes since commit d874bc081600528f0400977460b4f98f21e156a1:

  Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging (2021-05-19 16:10:35 +0100)

are available in the Git repository at:

  git://repo.or.cz/qemu/armbru.git tags/pull-qapi-2021-05-20

for you to fetch changes up to d4092ffa2604e07b2e1bb5b1f7b2651bc1edda80:

  qapi/parser: add docstrings (2021-05-20 17:10:09 +0200)

----------------------------------------------------------------
QAPI patches patches for 2021-05-20

----------------------------------------------------------------
John Snow (15):
      qapi/parser: Don't try to handle file errors
      qapi: Add test for nonexistent schema file
      qapi/source: Remove line number from QAPISourceInfo initializer
      qapi/parser: factor parsing routine into method
      qapi/parser: Assert lexer value is a string
      qapi/parser: enforce all top-level expressions must be dict in _parse()
      qapi/parser: assert object keys are strings
      qapi/parser: Use @staticmethod where appropriate
      qapi: add must_match helper
      qapi/parser: Fix token membership tests when token can be None
      qapi/parser: Rework _check_pragma_list_of_str as a TypeGuard
      qapi/parser: add type hint annotations
      qapi/parser: Remove superfluous list comprehension
      qapi/parser: allow 'ch' variable name
      qapi/parser: add docstrings

 scripts/qapi/common.py                             |   8 +-
 scripts/qapi/main.py                               |   6 +-
 scripts/qapi/parser.py                             | 230 +++++++++++++++------
 scripts/qapi/pylintrc                              |   1 +
 scripts/qapi/schema.py                             |  11 +-
 scripts/qapi/source.py                             |  13 +-
 tests/qapi-schema/meson.build                      |   9 +-
 tests/qapi-schema/missing-array-rsqb.err           |   1 +
 tests/qapi-schema/missing-array-rsqb.json          |   1 +
 tests/qapi-schema/missing-array-rsqb.out           |   0
 .../qapi-schema/missing-object-member-element.err  |   1 +
 .../qapi-schema/missing-object-member-element.json |   1 +
 .../qapi-schema/missing-object-member-element.out  |   0
 tests/qapi-schema/missing-schema.err               |   1 +
 tests/qapi-schema/missing-schema.out               |   0
 tests/qapi-schema/non-objects.err                  |   2 +-
 tests/qapi-schema/quoted-structural-chars.err      |   2 +-
 tests/qapi-schema/test-qapi.py                     |   3 -
 18 files changed, 209 insertions(+), 81 deletions(-)
 create mode 100644 tests/qapi-schema/missing-array-rsqb.err
 create mode 100644 tests/qapi-schema/missing-array-rsqb.json
 create mode 100644 tests/qapi-schema/missing-array-rsqb.out
 create mode 100644 tests/qapi-schema/missing-object-member-element.err
 create mode 100644 tests/qapi-schema/missing-object-member-element.json
 create mode 100644 tests/qapi-schema/missing-object-member-element.out
 create mode 100644 tests/qapi-schema/missing-schema.err
 create mode 100644 tests/qapi-schema/missing-schema.out

-- 
2.26.3


Re: [PULL 00/15] QAPI patches patches for 2021-05-20
Posted by Peter Maydell 2 years, 11 months ago
On Thu, 20 May 2021 at 18:53, Markus Armbruster <armbru@redhat.com> wrote:
>
> The following changes since commit d874bc081600528f0400977460b4f98f21e156a1:
>
>   Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging (2021-05-19 16:10:35 +0100)
>
> are available in the Git repository at:
>
>   git://repo.or.cz/qemu/armbru.git tags/pull-qapi-2021-05-20
>
> for you to fetch changes up to d4092ffa2604e07b2e1bb5b1f7b2651bc1edda80:
>
>   qapi/parser: add docstrings (2021-05-20 17:10:09 +0200)
>
> ----------------------------------------------------------------
> QAPI patches patches for 2021-05-20
>


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/6.1
for any user-visible changes.

-- PMM