<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/scripts/build-command-templates, branch 1.4.0-epa1</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=1.4.0-epa1</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=1.4.0-epa1'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2023-11-19T08:17:59+00:00</updated>
<entry>
<title>config-mgmt: T4957: T2405: add proper valueHelp strings for remote URL</title>
<updated>2023-11-19T08:17:59+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-11-18T20:53:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e6c1f1ed512e969ff3d4b11692e35b4d0293c3eb'/>
<id>urn:sha1:e6c1f1ed512e969ff3d4b11692e35b4d0293c3eb</id>
<content type='text'>
vyos@vyos# set system config-management commit-archive location
Possible completions:
   uri                  Uniform Resource Identifier

Unfortunately URI is a bit "less" specific - add proper help strings:

vyos@vyos# set system config-management commit-archive location
Possible completions:
   http://&lt;user&gt;:&lt;passwd&gt;@&lt;host&gt;/&lt;path&gt;
   https://&lt;user&gt;:&lt;passwd&gt;@&lt;host&gt;/&lt;path&gt;
   ftp://&lt;user&gt;:&lt;passwd&gt;@&lt;host&gt;/&lt;path&gt;
   sftp://&lt;user&gt;:&lt;passwd&gt;@&lt;host&gt;/&lt;path&gt;
   scp://&lt;user&gt;:&lt;passwd&gt;@&lt;host&gt;/&lt;path&gt;
   tftp://&lt;user&gt;:&lt;passwd&gt;@&lt;host&gt;/&lt;path&gt;
   git+https://&lt;user&gt;:&lt;passwd&gt;@&lt;host&gt;/&lt;path&gt;

(cherry picked from commit dcb277ba0aed4a02f48572d10d3ba242942b8639)
</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>
<entry>
<title>T3574: process constraintGroup elements</title>
<updated>2021-06-24T01:05:47+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2021-05-23T17:09:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=59a4aadfe419eca16e6288b37d6c51acd9789903'/>
<id>urn:sha1:59a4aadfe419eca16e6288b37d6c51acd9789903</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T3165: prevent override of populated node.def file with empty content</title>
<updated>2021-04-02T17:34:30+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2021-04-02T10:57:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b4fdcebebecd8d8952211b78bce26d53fd29edb3'/>
<id>urn:sha1:b4fdcebebecd8d8952211b78bce26d53fd29edb3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "T3165: use a separate file for "base" CLI nodes."</title>
<updated>2021-01-15T06:15:08+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@baturin.org</email>
</author>
<published>2021-01-15T06:15:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b19a128521e576880d0b6285932ac0406d45627c'/>
<id>urn:sha1:b19a128521e576880d0b6285932ac0406d45627c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T3165: use a separate file for "base" CLI nodes.</title>
<updated>2021-01-07T13:48:22+00:00</updated>
<author>
<name>Daniil Baturin</name>
<email>daniil@vyos.io</email>
</author>
<published>2021-01-07T13:48:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=188f2171c62af50c95cda38e2bb86e7cf47413bd'/>
<id>urn:sha1:188f2171c62af50c95cda38e2bb86e7cf47413bd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>configd: T2582: add shim var to node.def</title>
<updated>2020-08-31T14:57:00+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2020-08-28T20:50:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=87d60d5bb08326de8f7d11ba199ee44b6ce34c76'/>
<id>urn:sha1:87d60d5bb08326de8f7d11ba199ee44b6ce34c76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Enable debug mode to build-command-templates</title>
<updated>2020-06-03T15:25:59+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2020-06-03T15:25:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=fd5b81f66e44a75e0df0f0774d4d23c400d29a21'/>
<id>urn:sha1:fd5b81f66e44a75e0df0f0774d4d23c400d29a21</id>
<content type='text'>
</content>
</entry>
</feed>
