<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/scripts/qmp/qemu-ga-client, branch master</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/scripts/qmp/qemu-ga-client?h=master</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/scripts/qmp/qemu-ga-client?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-01-21T21:01:31+00:00</updated>
<entry>
<title>python: move qmp utilities to python/qemu/utils</title>
<updated>2022-01-21T21:01:31+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2022-01-10T23:28:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=0347c4c4cfed47e54d9dc275ceb28d35b250749f'/>
<id>urn:sha1:0347c4c4cfed47e54d9dc275ceb28d35b250749f</id>
<content type='text'>
In order to upload a QMP package to PyPI, I want to remove any scripts
that I am not 100% confident I want to support upstream, beyond our
castle walls.

Move most of our QMP utilities into the utils package so we can split
them out from the PyPI upload.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Reviewed-by: Vladimir Sementsov-Ogievskiy &lt;vsementsov@virtuozzo.com&gt;
Reviewed-by: Beraldo Leal &lt;bleal@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts/qemu-ga-client: Add forwarder shim</title>
<updated>2021-06-18T20:10:06+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2021-06-04T15:55:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=88fb483fc559e297ee681e161d70c4615b2a28ea'/>
<id>urn:sha1:88fb483fc559e297ee681e161d70c4615b2a28ea</id>
<content type='text'>
Add a little forwarder shim until we are sure that everyone is
comfortable with how to use the tools in their new packaged location.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Message-id: 20210604155532.1499282-12-jsnow@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts/qemu-ga-client: move to python/qemu/qmp/qemu_ga_client.py</title>
<updated>2021-06-18T20:10:06+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2021-06-04T15:55:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=1e129afc311a4a3897e83a308cce79e2c1cc3d89'/>
<id>urn:sha1:1e129afc311a4a3897e83a308cce79e2c1cc3d89</id>
<content type='text'>
The script itself will be unavailable for a few commits before being
restored, with no way to run it right after this commit. This helps move
git history into the new file. To prevent linter regressions, though, we
do need to immediately touch up the filename to remove dashes (to make
the module importable), and remove the executable bit.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Message-id: 20210604155532.1499282-10-jsnow@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts/qemu-ga-client: add mypy type hints</title>
<updated>2021-06-18T20:10:06+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2021-06-04T15:55:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ca683d4a2fece0e6bf58f065baa1e23226c1ac06'/>
<id>urn:sha1:ca683d4a2fece0e6bf58f065baa1e23226c1ac06</id>
<content type='text'>
This script is in slightly rough shape, but it still works. A lot of
care went into its initial development. In good faith, I'm updating it
to the latest Python coding standards. If there is in interest in this
script, though, I'll be asking for a contributor to take care of it
further.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Message-id: 20210604155532.1499282-9-jsnow@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts/qemu-ga-client: apply (most) pylint rules</title>
<updated>2021-06-18T20:10:06+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2021-06-04T15:55:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=f85d3252ef889b102eb42756450f45c973d3cb43'/>
<id>urn:sha1:f85d3252ef889b102eb42756450f45c973d3cb43</id>
<content type='text'>
I'm only doing a very quick best-effort to preserve this script, to help
keep it from breaking further. I think there are pending ideas swirling
on the right way to implement better SDKs and better clients, and this
script might be a handy reference for those discussions. It presents
some interesting design problems, like static type safety when using a
dynamic RPC mechanism.

I believe it's worth preserving the effort and care that went into
making this script by updating it to work with our current
infrastructure. However, I am disabling the requirement for docstrings
in this file.

If you would like to help improve this script, please add docstrings
alongside any refactors or rejuvenations you might apply at that time.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Message-id: 20210604155532.1499282-7-jsnow@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts/qemu-ga-client: add module docstring</title>
<updated>2021-06-18T20:10:06+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2021-06-04T15:55:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=aff103b531dc6e44650e5d3d983f313700cb7534'/>
<id>urn:sha1:aff103b531dc6e44650e5d3d983f313700cb7534</id>
<content type='text'>
Turn that nice usage comment into a docstring.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Message-id: 20210604155532.1499282-6-jsnow@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts/qemu-ga-client: replace deprecated optparse with argparse</title>
<updated>2021-06-18T20:10:06+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2021-06-04T15:55:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=0cf1a52d289d69461df0d984aa50ec61f8a21c30'/>
<id>urn:sha1:0cf1a52d289d69461df0d984aa50ec61f8a21c30</id>
<content type='text'>
optparse isn't supported anymore, it's from the python2 days. Replace it
with the mostly similar argparse.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Message-id: 20210604155532.1499282-5-jsnow@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts/qemu-ga-client: Fix exception handling</title>
<updated>2021-06-18T20:10:06+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2021-06-04T15:55:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=e6de9ce90a67960a6477da5a5c69c19ce390ed1d'/>
<id>urn:sha1:e6de9ce90a67960a6477da5a5c69c19ce390ed1d</id>
<content type='text'>
Fixes: 50d189c

These error classes aren't available anymore. Fix the bitrot.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Message-id: 20210604155532.1499282-4-jsnow@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts/qemu-ga-client: apply (most) flake8 rules</title>
<updated>2021-06-18T20:10:06+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2021-06-04T15:55:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=e75f516ac131dbc3c82ac52ef527680c4745add3'/>
<id>urn:sha1:e75f516ac131dbc3c82ac52ef527680c4745add3</id>
<content type='text'>
- Line length should be &lt; 80
- You shouldn't perform unscoped imports except at the top of the module

Notably, the sys.path hack creates problems with the import rule. This
will be fixed later.

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Message-id: 20210604155532.1499282-3-jsnow@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts/qemu-ga-client: apply isort rules</title>
<updated>2021-06-18T20:10:06+00:00</updated>
<author>
<name>John Snow</name>
</author>
<published>2021-06-04T15:55:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9510e4fb6967c39871b149676e09bb7ee875bc18'/>
<id>urn:sha1:9510e4fb6967c39871b149676e09bb7ee875bc18</id>
<content type='text'>
Hint:
&gt; ln -s scripts/qmp/qemu-ga-client python/qemu/qmp/qemu_ga_client.py
&gt; cd python
&gt; isort qemu

Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
Message-id: 20210604155532.1499282-2-jsnow@redhat.com
Signed-off-by: John Snow &lt;jsnow@redhat.com&gt;
</content>
</entry>
</feed>
