<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/migration-scripts/system, branch mergify/bp/circinus/pr-4112</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=mergify%2Fbp%2Fcircinus%2Fpr-4112</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=mergify%2Fbp%2Fcircinus%2Fpr-4112'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2024-09-11T16:53:48+00:00</updated>
<entry>
<title>migration: T6007: convert all migration scripts to load as module</title>
<updated>2024-09-11T16:53:48+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-06-20T01:16:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b5db9395ed576ef97b1692ca66c00900c532d6a1'/>
<id>urn:sha1:b5db9395ed576ef97b1692ca66c00900c532d6a1</id>
<content type='text'>
(cherry picked from commit 26740a8d583f64dc0a27b59dd4ae303056972c0b)
</content>
</entry>
<entry>
<title>T6199: remove unused Python imports from migration scripts</title>
<updated>2024-04-06T08:46:30+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-04-06T08:46:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=489e6fababa60d9c0fbfdb421305cbe563432499'/>
<id>urn:sha1:489e6fababa60d9c0fbfdb421305cbe563432499</id>
<content type='text'>
</content>
</entry>
<entry>
<title>system: T5877: Shorten system domain-search config path</title>
<updated>2023-12-29T23:44:17+00:00</updated>
<author>
<name>Indrajit Raychaudhuri</name>
<email>irc@indrajit.com</email>
</author>
<published>2023-12-29T21:06:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=f77bf573c608b6c09182e1bad4312c4dd1e5195e'/>
<id>urn:sha1:f77bf573c608b6c09182e1bad4312c4dd1e5195e</id>
<content type='text'>
Shorten and simplify `system domain-search` config path from:
```
set system domain-search domain &lt;domain1&gt;
```
to:
```
set system domain-search &lt;domain1&gt;
```

This will shorten the path and also make consistent with `domain-search`
config in other places (like `dhcp-server`).
</content>
</entry>
<entry>
<title>system: T5555: Fix time-zone migrator changing valid time-zones to UTC</title>
<updated>2023-09-07T12:39:31+00:00</updated>
<author>
<name>sarthurdev</name>
<email>965089+sarthurdev@users.noreply.github.com</email>
</author>
<published>2023-09-07T12:39:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c85095572c0a0e10a281230b6d39cfd0f78ec17a'/>
<id>urn:sha1:c85095572c0a0e10a281230b6d39cfd0f78ec17a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T5427: Fix migration script arguments len expects 2 args</title>
<updated>2023-08-02T09:12:23+00:00</updated>
<author>
<name>Viacheslav Hletenko</name>
<email>v.gletenko@vyos.io</email>
</author>
<published>2023-08-02T09:12:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=d1923b7b58795f0d9635ae0e8df110f591881bdf'/>
<id>urn:sha1:d1923b7b58795f0d9635ae0e8df110f591881bdf</id>
<content type='text'>
The script's name is always provided as the first argument sys.argv[0]
Expected length for argv is 2 (script itself + config file)

Change: 'if (len(argv) &lt; 1)' to 'if len(argv) &lt; 2'
</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>migration: T5251: fix incorrect logic in calling configtree.delete</title>
<updated>2023-05-31T20:50:26+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2023-05-31T19:51:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=362ece3add2771bf412131a306fd0c0cfa04c16c'/>
<id>urn:sha1:362ece3add2771bf412131a306fd0c0cfa04c16c</id>
<content type='text'>
The node was already deleted in the 'if path exists' branch; attempt to
delete in 'else' branch will now raise an error.
</content>
</entry>
<entry>
<title>syslog: T2778: migrate to get_config_dict()</title>
<updated>2023-05-08T20:45:53+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2023-05-08T19:27:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1dc79cebc6d27a8f9d2f9ca9c2e0f2fd0809d940'/>
<id>urn:sha1:1dc79cebc6d27a8f9d2f9ca9c2e0f2fd0809d940</id>
<content type='text'>
</content>
</entry>
<entry>
<title>syslog: T4500: Remove max-size from rsyslog leaving rotation to logrotate</title>
<updated>2022-07-07T08:07:55+00:00</updated>
<author>
<name>sarthurdev</name>
<email>965089+sarthurdev@users.noreply.github.com</email>
</author>
<published>2022-07-06T17:35:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=52ce659509022807c4a38fcb791abd325f3e8b00'/>
<id>urn:sha1:52ce659509022807c4a38fcb791abd325f3e8b00</id>
<content type='text'>
After discussion with @zsdc this was decided the better long term fix

* Removes hourly logrotate cron in favour of systemd timer override
</content>
</entry>
<entry>
<title>arp: T4397: bugfix on address iteration - ARP is IPv4 only</title>
<updated>2022-06-08T18:03:55+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-06-08T18:03:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=ab4735480d62a3608ef21e9821c5d7865cb20a8a'/>
<id>urn:sha1:ab4735480d62a3608ef21e9821c5d7865cb20a8a</id>
<content type='text'>
</content>
</entry>
</feed>
