<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/NetworkManager.git/examples/python, branch master</title>
<subtitle>gitlab.freedesktop.org: NetworkManager/NetworkManager.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/'/>
<entry>
<title>examples: use python3 compatible exception syntax</title>
<updated>2021-03-16T06:55:12+00:00</updated>
<author>
<name>Jagadeesh Kotra</name>
<email>jagadeesh@stdin.top</email>
</author>
<published>2021-03-16T00:48:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=3df607f3c27b0ea56f3582ce50d7947c32af6697'/>
<id>3df607f3c27b0ea56f3582ce50d7947c32af6697</id>
<content type='text'>
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/781
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/781
</pre>
</div>
</content>
</entry>
<entry>
<title>examples/python: some style update to avoid changes in black code formatting</title>
<updated>2021-01-28T09:25:25+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2021-01-28T09:20:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=d446cde260e31289b3448d42873f32241e8444e9'/>
<id>d446cde260e31289b3448d42873f32241e8444e9</id>
<content type='text'>
Fedora 33's version of python-black is the authoritative version we
use for formatting -- note that formatting may look different depending
on the black version.

Recently, the package was updated to 20.8~b1-1.fc33, which treats
these lines different.

Work around that by adjusting the code so that both older and current
versions of python black behave the same.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fedora 33's version of python-black is the authoritative version we
use for formatting -- note that formatting may look different depending
on the black version.

Recently, the package was updated to 20.8~b1-1.fc33, which treats
these lines different.

Work around that by adjusting the code so that both older and current
versions of python black behave the same.
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: minor bugfix comparing device state in "python/dbus/show-bssids.py"</title>
<updated>2021-01-26T10:42:46+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2021-01-26T10:42:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=c1529dab36dc095c96c6c89c2c06f088f79405f1'/>
<id>c1529dab36dc095c96c6c89c2c06f088f79405f1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: add comment about scanning to "python/dbus/show-bssids.py" example</title>
<updated>2021-01-18T12:26:12+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2021-01-18T12:26:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=6ce0c064ac319fa2c763052263e1e1ee0dc654c2'/>
<id>6ce0c064ac319fa2c763052263e1e1ee0dc654c2</id>
<content type='text'>
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/630
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/630
</pre>
</div>
</content>
</entry>
<entry>
<title>all: update deprecated SPDX license identifiers</title>
<updated>2021-01-05T08:46:21+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2020-12-23T21:21:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=977ea352a0a93fc2b1854a6eeb89e62e8c9f6647'/>
<id>977ea352a0a93fc2b1854a6eeb89e62e8c9f6647</id>
<content type='text'>
These SPDX license identifiers are deprecated ([1]). Update them.

[1] https://spdx.org/licenses/

  sed \
     -e '1 s%^/\* SPDX-License-Identifier: \(GPL-2.0\|LGPL-2.1\)+ \*/$%/* SPDX-License-Identifier: \1-or-later */%' \
     -e '1,2 s%^\(--\|#\|//\) SPDX-License-Identifier: \(GPL-2.0\|LGPL-2.1\)+$%\1 SPDX-License-Identifier: \2-or-later%' \
     -i \
     $(git grep -l SPDX-License-Identifier -- \
         ':(exclude)shared/c-*/' \
         ':(exclude)shared/n-*/' \
         ':(exclude)shared/systemd/src' \
         ':(exclude)src/systemd/src')
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These SPDX license identifiers are deprecated ([1]). Update them.

[1] https://spdx.org/licenses/

  sed \
     -e '1 s%^/\* SPDX-License-Identifier: \(GPL-2.0\|LGPL-2.1\)+ \*/$%/* SPDX-License-Identifier: \1-or-later */%' \
     -e '1,2 s%^\(--\|#\|//\) SPDX-License-Identifier: \(GPL-2.0\|LGPL-2.1\)+$%\1 SPDX-License-Identifier: \2-or-later%' \
     -i \
     $(git grep -l SPDX-License-Identifier -- \
         ':(exclude)shared/c-*/' \
         ':(exclude)shared/n-*/' \
         ':(exclude)shared/systemd/src' \
         ':(exclude)src/systemd/src')
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: remove editor hint to mark source code as UTF-8</title>
<updated>2021-01-05T08:46:20+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2020-12-24T09:56:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=4e49c417ebd4fd211c96645fe1cf19f4ac850238'/>
<id>4e49c417ebd4fd211c96645fe1cf19f4ac850238</id>
<content type='text'>
All our source code is UTF-8. We don't need to mark it as such.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All our source code is UTF-8. We don't need to mark it as such.
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: extend "ovs-external-ids.py" to support `nmcli device modify`</title>
<updated>2020-11-17T18:49:03+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2020-11-11T11:23:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=c45041f1fc0cc58a55102ecae34d34287735a13e'/>
<id>c45041f1fc0cc58a55102ecae34d34287735a13e</id>
<content type='text'>
The python example is (also) used to test the feature. That is because
currently nmcli does not yet have support for ovs.external-ids and this
API is only accessible via D-Bus (or a tool like this example).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The python example is (also) used to test the feature. That is because
currently nmcli does not yet have support for ovs.external-ids and this
API is only accessible via D-Bus (or a tool like this example).
</pre>
</div>
</content>
</entry>
<entry>
<title>examples: add "ovs-external-ids.py" example script</title>
<updated>2020-11-09T16:53:15+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2020-11-03T12:47:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=7e39e23f64184ddd12a7bb4d34b4d4ae616c059d'/>
<id>7e39e23f64184ddd12a7bb4d34b4d4ae616c059d</id>
<content type='text'>
And example script for getting and setting OVS external-ids.

Since currently there is no nmcli support for these properties yet,
the script becomes more interesting.

This "example" is rather long, and it showcases less the usage of
libnm (which is rather trivial, with respect to configuring
NMSettingOvsExternalIDs). Instead, it aims to provide a useful
command line tool for debugging. Hence, it's mostly concerned with
an elaborate command line syntax and useful print output.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And example script for getting and setting OVS external-ids.

Since currently there is no nmcli support for these properties yet,
the script becomes more interesting.

This "example" is rather long, and it showcases less the usage of
libnm (which is rather trivial, with respect to configuring
NMSettingOvsExternalIDs). Instead, it aims to provide a useful
command line tool for debugging. Hence, it's mostly concerned with
an elaborate command line syntax and useful print output.
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct python black rules</title>
<updated>2020-10-29T08:35:10+00:00</updated>
<author>
<name>Frederic Martinsons</name>
<email>frederic.martinsons@sigfox.com</email>
</author>
<published>2020-10-29T06:14:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=1f5c7f7d81c360260bf77747f872df636c257daa'/>
<id>1f5c7f7d81c360260bf77747f872df636c257daa</id>
<content type='text'>
Signed-off-by: Frederic Martinsons &lt;frederic.martinsons@sigfox.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Frederic Martinsons &lt;frederic.martinsons@sigfox.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>example: add python gi example for keyfile handling</title>
<updated>2020-10-28T13:30:49+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2020-05-23T16:07:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=a9e6774670cb524a855e0ff0df9806efe8aed260'/>
<id>a9e6774670cb524a855e0ff0df9806efe8aed260</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
