<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/conf_mode/le_cert.py, branch feature/T9082-codeql-cpp</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=feature%2FT9082-codeql-cpp</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=feature%2FT9082-codeql-cpp'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2023-12-31T22:49:48+00:00</updated>
<entry>
<title>T5474: establish common file name pattern for XML conf mode commands</title>
<updated>2023-12-31T22:49:48+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-12-30T22:25:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=4ef110fd2c501b718344c72d495ad7e16d2bd465'/>
<id>urn:sha1:4ef110fd2c501b718344c72d495ad7e16d2bd465</id>
<content type='text'>
We will use _ as CLI level divider. The XML definition filename and also
the Python helper should match the CLI node.

Example:
set interfaces ethernet -&gt; interfaces_ethernet.xml.in
set interfaces bond -&gt; interfaces_bond.xml.in
set service dhcp-server -&gt; service_dhcp-server-xml.in
</content>
</entry>
<entry>
<title>T5195: vyos.util -&gt; vyos.utils package refactoring (#2093)</title>
<updated>2023-07-14T20:18:36+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-07-14T20:18:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d1ca536da448749dff557f13ecae97b124026e96'/>
<id>urn:sha1:d1ca536da448749dff557f13ecae97b124026e96</id>
<content type='text'>
* T5195: move run, cmd, call, rc_cmd helper to vyos.utils.process

* T5195: use read_file and write_file implementation from vyos.utils.file

Changed code automatically using:

find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import read_file$/from vyos.utils.file import read_file/g' {} +
find . -type f -not -path '*/\.*' -exec sed -i 's/^from vyos.util import write_file$/from vyos.utils.file import write_file/g' {} +

* T5195: move chmod* helpers to vyos.utils.permission

* T5195: use colon_separated_to_dict from vyos.utils.dict

* T5195: move is_systemd_service_* to vyos.utils.process

* T5195: fix boot issues with missing imports

* T5195: move dict_search_* helpers to vyos.utils.dict

* T5195: move network helpers to vyos.utils.network

* T5195: move commit_* helpers to vyos.utils.commit

* T5195: move user I/O helpers to vyos.utils.io</content>
</entry>
<entry>
<title>vyos.util: drop custom implementations in favor of is_systemd_service_running()</title>
<updated>2021-07-30T18:19:10+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-07-30T18:19:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=ec713e585ace09beb9942d928e0099a35dcdd0f2'/>
<id>urn:sha1:ec713e585ace09beb9942d928e0099a35dcdd0f2</id>
<content type='text'>
Commit f520182b ("vyos.util: add is_systemd_service_running() helper function")
added a new helper function that can be used to check if a systemd service is
running.

Drop all custom implementations in favor of this library call.
</content>
</entry>
<entry>
<title>certbot: T2815: change config dir to /config/auth/letsencrypt</title>
<updated>2020-08-20T04:15:07+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2020-08-20T04:15:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=0bc94e588fea31888445d182f54803598e82b615'/>
<id>urn:sha1:0bc94e588fea31888445d182f54803598e82b615</id>
<content type='text'>
</content>
</entry>
<entry>
<title>airbag: T2088: explicit enabling of the feature</title>
<updated>2020-05-29T05:37:00+00:00</updated>
<author>
<name>Thomas Mangin</name>
<email>thomas.mangin@exa.net.uk</email>
</author>
<published>2020-05-29T05:37:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=5f4335042cf40bf4bf18294706cce0b3a2fd5907'/>
<id>urn:sha1:5f4335042cf40bf4bf18294706cce0b3a2fd5907</id>
<content type='text'>
airbag must now be explicitly installed.

the patch also allow to fully disables the installation of the logging
code at setup (and not just installing and doing nothing)
</content>
</entry>
<entry>
<title>service https: T1585: call to sudo can be omitted</title>
<updated>2020-04-13T19:13:37+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-04-13T19:13:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=dc54ab6d5183a0bb7a911753fdacd4d4effa3af4'/>
<id>urn:sha1:dc54ab6d5183a0bb7a911753fdacd4d4effa3af4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>service https: T1585: bugfix typo in systemd name</title>
<updated>2020-04-13T19:12:06+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-04-13T19:12:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=ac6e36fa76ce2cd86b6b71bb061da498e6da3a16'/>
<id>urn:sha1:ac6e36fa76ce2cd86b6b71bb061da498e6da3a16</id>
<content type='text'>
</content>
</entry>
<entry>
<title>util: T2226: os.system was wrongly converted to run</title>
<updated>2020-04-09T18:08:24+00:00</updated>
<author>
<name>Thomas Mangin</name>
<email>thomas.mangin@exa.net.uk</email>
</author>
<published>2020-04-09T18:08:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=9875a21bdb26df19f2faf3e81153dea15e4f9e3c'/>
<id>urn:sha1:9875a21bdb26df19f2faf3e81153dea15e4f9e3c</id>
<content type='text'>
os.system does print the ouput of the command, run() does not.
A new function called call() does the printing and return the error code.</content>
</entry>
<entry>
<title>util: T2226: rewrite certbot to use cmd</title>
<updated>2020-04-06T19:22:35+00:00</updated>
<author>
<name>Thomas Mangin</name>
<email>thomas.mangin@exa.net.uk</email>
</author>
<published>2020-04-05T16:30:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=35183754914db6e5a783734c6d655a66a6168988'/>
<id>urn:sha1:35183754914db6e5a783734c6d655a66a6168988</id>
<content type='text'>
</content>
</entry>
<entry>
<title>util: T2226: covert most calls from os.system to util</title>
<updated>2020-04-06T19:22:35+00:00</updated>
<author>
<name>Thomas Mangin</name>
<email>thomas.mangin@exa.net.uk</email>
</author>
<published>2020-04-05T13:36:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=aceb0817a65bf01669cada3ceb60d65b81607bc3'/>
<id>urn:sha1:aceb0817a65bf01669cada3ceb60d65b81607bc3</id>
<content type='text'>
As little change a possible but the function call
The behaviour should be totally unchanged.
</content>
</entry>
</feed>
