<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/scripts, branch vyos/1.4dev1</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=vyos%2F1.4dev1</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=vyos%2F1.4dev1'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2023-07-14T20:18:36+00:00</updated>
<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>ci: T4748: add a small delay to the PR title check to ensure that it gets a complete, finalized PR object from GitHub</title>
<updated>2022-12-30T21:25:07+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2022-12-30T21:23:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=182adaf56a5573d32d79d3c21e24007f5c18fb2b'/>
<id>urn:sha1:182adaf56a5573d32d79d3c21e24007f5c18fb2b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T4748: Clarify the invalid PR object message</title>
<updated>2022-12-30T20:00:56+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2022-12-30T19:59:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=34e7cb6739c9096bcdc4096822f847eb686c4a68'/>
<id>urn:sha1:34e7cb6739c9096bcdc4096822f847eb686c4a68</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ci: T4748: add hyphen and underscore for subject name</title>
<updated>2022-12-01T14:35:10+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2022-12-01T14:35:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e96e629fab3936c894214bef44155cb1bc671e4c'/>
<id>urn:sha1:e96e629fab3936c894214bef44155cb1bc671e4c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ci: T4748: add dot to regex char class to allow 'vyos.util: Txxx: ...'</title>
<updated>2022-10-25T19:55:49+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2022-10-25T19:55:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c0594071c6c1062cc0069377b6666de89a172d0a'/>
<id>urn:sha1:c0594071c6c1062cc0069377b6666de89a172d0a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ci: T4748: add a CI action to check pull request title</title>
<updated>2022-10-13T20:30:50+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2022-10-12T16:46:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=ba8099518353eafc95aa1e49c6b63cfe6ca1615a'/>
<id>urn:sha1:ba8099518353eafc95aa1e49c6b63cfe6ca1615a</id>
<content type='text'>
and commit messages format
</content>
</entry>
<entry>
<title>op-mode: T1748: vbash: beautify tab completion output/line breaks</title>
<updated>2022-07-30T13:21:36+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-07-30T13:21:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=11a605d303bce5384a64ad887566c064eb4f206a'/>
<id>urn:sha1:11a605d303bce5384a64ad887566c064eb4f206a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T1748: vbash: beautify tab completion output/line breaks</title>
<updated>2022-06-20T19:37:32+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-06-20T19:08:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c73c401eba2495f7ea343020e5a643709bb37bc7'/>
<id>urn:sha1:c73c401eba2495f7ea343020e5a643709bb37bc7</id>
<content type='text'>
Indention for multi-line help strings should be auto calculated and not be a
human problem. This way we ensure that there is a consistent CLI with
predictable newlines at a predictable position.
</content>
</entry>
<entry>
<title>scripts: T4465: node.def generation requires whitespace on multiple use of &lt;path&gt;</title>
<updated>2022-06-10T18:30:40+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-06-10T18:30:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=2f4031c810a297c8ef81b0dc79242ef584b48662'/>
<id>urn:sha1:2f4031c810a297c8ef81b0dc79242ef584b48662</id>
<content type='text'>
</content>
</entry>
<entry>
<title>scripts: T4269: node.def generator should automatically add default values</title>
<updated>2022-02-24T21:47:12+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-02-24T21:47:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=a68c9238111c6caee78bb28f8054b8f0cfa0e374'/>
<id>urn:sha1:a68c9238111c6caee78bb28f8054b8f0cfa0e374</id>
<content type='text'>
Since introducing the XML &lt;defaultValue&gt; node it was common, but redundant,
practice to also add a help string indicating which value would be used as
default if the node is unset.

This makes no sense b/c it's duplicated code/value/characters and prone to
error. The node.def scripts should be extended to automatically render the
appropriate default value into the CLI help string.

For e.g. SSH the current PoC renders:

$ cat templates-cfg/service/ssh/port/node.def
  multi:
  type: txt
  help: Port for SSH service (default: 22)
  val_help: u32:1-65535; Numeric IP port
  ...

Not all subsystems are already migrated to get_config_dict() and make use of
the defaults() call - those subsystems need to be migrated, first before the new
default is added to the CLI help.
</content>
</entry>
</feed>
