[qemu.qmp PATCH 00/12] python: fork qemu.qmp python lib into independent repo

John Snow posted 12 patches 2 years ago
.gitignore            |   2 +-
FILES.rst             |  67 ++++++
LICENSE               | 481 ++++++++++++++++++++++++++++++++++++++++++
LICENSE_GPL2          | 339 +++++++++++++++++++++++++++++
MANIFEST.in           |   3 +-
Makefile              |  16 +-
PACKAGE.rst           |  43 ----
Pipfile               |   4 +-
Pipfile.lock          | 288 ++++++++++++++-----------
README.rst            | 272 ++++++++++++++++--------
VERSION               |   2 +-
qemu/qmp/__init__.py  |   2 +-
qemu/qmp/legacy.py    |   2 +-
qemu/qmp/qmp_shell.py |   2 +-
qemu/qmp/qmp_tui.py   |   2 +-
setup.cfg             |  41 ++--
setup.py              |   2 +-
17 files changed, 1262 insertions(+), 306 deletions(-)
create mode 100644 FILES.rst
create mode 100644 LICENSE
create mode 100644 LICENSE_GPL2
delete mode 100644 PACKAGE.rst
[qemu.qmp PATCH 00/12] python: fork qemu.qmp python lib into independent repo
Posted by John Snow 2 years ago
GitLab: https://gitlab.com/jsnow/qemu.qmp/-/commits/initial-checkin

Hi, this series is part of an effort to publish the qemu.qmp package on
PyPI. It is part of the second of three phases to complete this work:

    (1) Switch the new Async QMP library in to python/qemu/qmp [merged!]
    (2) Fork python/qemu/qmp out into its own repository.
-->    (2a) Do the bare minimum to be consistent.
       (2b) Add most GitLab CI/CD targets.
       (2c) Add Sphinx doc builds, update docs, and publish to GitLab pages.
       (2d) Add dynamic git versioning and GitLab package builds.
    (3) Update qemu.git to install qemu.qmp from PyPI,
        and then delete python/qemu/qmp.

This series is not meant to apply to qemu.git, rather -- it's the series
that performs the split and applies to the brand new repository.

If there are no objections, I intend to push the content of this branch
to https://gitlab.com/qemu-project/python-qemu-qmp within a week or so.

Most URLs in this series have been updated to point to the new repo URL,
except one link to https://jsnow.gitlab.io/qemu.qmp/ which will be
updated when step (2c) above is handled.

John Snow (12):
  fork qemu.qmp from qemu.git
  update maintainer metadata
  update project description
  update project URLs
  add a couple new trove classifiers
  move README.rst to FILES.rst and update
  move PACKAGE.rst to README.rst and update
  docs: add versioning policy to README
  add LGPLv2+ and GPLv2 LICENSE files
  update Pipfile
  remove sub-dependency pins from Pipfile
  update VERSION to 0.0.0a1

 .gitignore            |   2 +-
 FILES.rst             |  67 ++++++
 LICENSE               | 481 ++++++++++++++++++++++++++++++++++++++++++
 LICENSE_GPL2          | 339 +++++++++++++++++++++++++++++
 MANIFEST.in           |   3 +-
 Makefile              |  16 +-
 PACKAGE.rst           |  43 ----
 Pipfile               |   4 +-
 Pipfile.lock          | 288 ++++++++++++++-----------
 README.rst            | 272 ++++++++++++++++--------
 VERSION               |   2 +-
 qemu/qmp/__init__.py  |   2 +-
 qemu/qmp/legacy.py    |   2 +-
 qemu/qmp/qmp_shell.py |   2 +-
 qemu/qmp/qmp_tui.py   |   2 +-
 setup.cfg             |  41 ++--
 setup.py              |   2 +-
 17 files changed, 1262 insertions(+), 306 deletions(-)
 create mode 100644 FILES.rst
 create mode 100644 LICENSE
 create mode 100644 LICENSE_GPL2
 delete mode 100644 PACKAGE.rst

-- 
2.34.1

Re: [qemu.qmp PATCH 00/12] python: fork qemu.qmp python lib into independent repo
Posted by John Snow 1 year, 12 months ago
On Fri, Apr 22, 2022 at 2:49 PM John Snow <jsnow@redhat.com> wrote:
>
> GitLab: https://gitlab.com/jsnow/qemu.qmp/-/commits/initial-checkin
>
> Hi, this series is part of an effort to publish the qemu.qmp package on
> PyPI. It is part of the second of three phases to complete this work:
>
>     (1) Switch the new Async QMP library in to python/qemu/qmp [merged!]
>     (2) Fork python/qemu/qmp out into its own repository.
> -->    (2a) Do the bare minimum to be consistent.
>        (2b) Add most GitLab CI/CD targets.
>        (2c) Add Sphinx doc builds, update docs, and publish to GitLab pages.
>        (2d) Add dynamic git versioning and GitLab package builds.
>     (3) Update qemu.git to install qemu.qmp from PyPI,
>         and then delete python/qemu/qmp.
>
> This series is not meant to apply to qemu.git, rather -- it's the series
> that performs the split and applies to the brand new repository.
>
> If there are no objections, I intend to push the content of this branch
> to https://gitlab.com/qemu-project/python-qemu-qmp within a week or so.
>
> Most URLs in this series have been updated to point to the new repo URL,
> except one link to https://jsnow.gitlab.io/qemu.qmp/ which will be
> updated when step (2c) above is handled.
>
> John Snow (12):
>   fork qemu.qmp from qemu.git
>   update maintainer metadata
>   update project description
>   update project URLs
>   add a couple new trove classifiers
>   move README.rst to FILES.rst and update
>   move PACKAGE.rst to README.rst and update
>   docs: add versioning policy to README
>   add LGPLv2+ and GPLv2 LICENSE files
>   update Pipfile
>   remove sub-dependency pins from Pipfile
>   update VERSION to 0.0.0a1
>
>  .gitignore            |   2 +-
>  FILES.rst             |  67 ++++++
>  LICENSE               | 481 ++++++++++++++++++++++++++++++++++++++++++
>  LICENSE_GPL2          | 339 +++++++++++++++++++++++++++++
>  MANIFEST.in           |   3 +-
>  Makefile              |  16 +-
>  PACKAGE.rst           |  43 ----
>  Pipfile               |   4 +-
>  Pipfile.lock          | 288 ++++++++++++++-----------
>  README.rst            | 272 ++++++++++++++++--------
>  VERSION               |   2 +-
>  qemu/qmp/__init__.py  |   2 +-
>  qemu/qmp/legacy.py    |   2 +-
>  qemu/qmp/qmp_shell.py |   2 +-
>  qemu/qmp/qmp_tui.py   |   2 +-
>  setup.cfg             |  41 ++--
>  setup.py              |   2 +-
>  17 files changed, 1262 insertions(+), 306 deletions(-)
>  create mode 100644 FILES.rst
>  create mode 100644 LICENSE
>  create mode 100644 LICENSE_GPL2
>  delete mode 100644 PACKAGE.rst
>
> --
> 2.34.1
>
>

Pushed directly as the initial commit.

https://gitlab.com/qemu-project/python-qemu-qmp

Thanks, everyone. I'll begin drafting and submitting merge requests
for further work on this repository and, for now, CCing the mailing
list pointing to the MRs.

--js