<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/src/helpers/vyos-save-config.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>2025-09-25T00:02:27+00:00</updated>
<entry>
<title>T7709: use write_file_sync/atomic in vyos-save-config.py script</title>
<updated>2025-09-25T00:02:27+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2025-09-24T23:27:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=fbdf1fb8914a6b0ff3a64f4f359eaf3abd8be031'/>
<id>urn:sha1:fbdf1fb8914a6b0ff3a64f4f359eaf3abd8be031</id>
<content type='text'>
Config save is provided by the helper script in both CLI and
configsession (hence also in the http api).

Use utilities write_file_sync and write_file_atomic, in accordance with
permissions and location:

If the target is in /opt/vyatta/etc/config or /config, use
write_file_sync; if, moreover, the caller has permissions, use
write_file_atomic. Otherwise, fall back to util write_file.
</content>
</entry>
<entry>
<title>T7759: Revert "T7709: add atomic write for config file save"</title>
<updated>2025-08-27T18:10:27+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2025-08-27T18:10:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=9f80e374f67282d5f6662acc8aec70eba0b040de'/>
<id>urn:sha1:9f80e374f67282d5f6662acc8aec70eba0b040de</id>
<content type='text'>
The utility write_file_atomic does not correctly update the file in the
bind mount directory /config. Revert for investigation.
This reverts commit c140f827f3117609908a3a18034027d3d78149ac.
</content>
</entry>
<entry>
<title>T7709: add atomic write for config file save</title>
<updated>2025-08-12T21:52:43+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2025-08-12T16:19:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c140f827f3117609908a3a18034027d3d78149ac'/>
<id>urn:sha1:c140f827f3117609908a3a18034027d3d78149ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T7591: remove copyright years from source files</title>
<updated>2025-06-28T21:16:52+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2025-06-28T18:51:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=1478516ae437f19ebeb7d6ff9b83dd74f8e76758'/>
<id>urn:sha1:1478516ae437f19ebeb7d6ff9b83dd74f8e76758</id>
<content type='text'>
The legal team says years are not necessary so we can go ahead with it, since
it will simplify backporting.

Automatically removed using: git ls-files | grep -v libvyosconfig | xargs sed -i -E \
's/^# Copyright (19|20)[0-9]{2}(-[0-9]{4})? VyOS maintainers.*/# Copyright VyOS maintainers and contributors &lt;maintainers@vyos.io&gt;/g'

In addition we will error-out during "make" if someone re-adds a legacy
copyright notice
</content>
</entry>
<entry>
<title>migration: T6007: add util add_system_version to replace *_system_footer</title>
<updated>2024-06-26T20:45:19+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2024-06-23T17:40:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=51865448599ec40283fffe4dc15729f88f389886'/>
<id>urn:sha1:51865448599ec40283fffe4dc15729f88f389886</id>
<content type='text'>
</content>
</entry>
<entry>
<title>config: T5631: save copy of config in JSON format on commit</title>
<updated>2023-10-05T05:09:17+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2023-10-04T16:10:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=27605426a4ad613f45d36e7db5b1664dc3192981'/>
<id>urn:sha1:27605426a4ad613f45d36e7db5b1664dc3192981</id>
<content type='text'>
</content>
</entry>
<entry>
<title>save-config: T5551: check if None before write, as is the case at boot</title>
<updated>2023-09-05T18:03:21+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2023-09-05T18:03:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=3fe5482a29042c92298d3e69d90c0c38404d2fcc'/>
<id>urn:sha1:3fe5482a29042c92298d3e69d90c0c38404d2fcc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>save-config: T4292: rewrite vyatta-save-config.pl to Python</title>
<updated>2023-08-24T03:05:31+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2023-08-24T03:05:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=e4831c7ac93c50d80e0bad4b66c034030ad0bce9'/>
<id>urn:sha1:e4831c7ac93c50d80e0bad4b66c034030ad0bce9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "save-config: T4292: rewrite vyatta-save-config.pl to Python"</title>
<updated>2022-03-10T18:10:49+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2022-03-10T16:07:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=ef4870e66f8c1cd6df5fba2abbfdde0eac152e0a'/>
<id>urn:sha1:ef4870e66f8c1cd6df5fba2abbfdde0eac152e0a</id>
<content type='text'>
This reverts commit c4d389488970c8510200cac96a67182e9333b891.
Revert while investigating failure in vyos-configtest.
</content>
</entry>
<entry>
<title>save-config: T4292: rewrite vyatta-save-config.pl to Python</title>
<updated>2022-03-08T17:48:29+00:00</updated>
<author>
<name>John Estabrook</name>
<email>jestabro@vyos.io</email>
</author>
<published>2022-03-08T17:48:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=c4d389488970c8510200cac96a67182e9333b891'/>
<id>urn:sha1:c4d389488970c8510200cac96a67182e9333b891</id>
<content type='text'>
</content>
</entry>
</feed>
