<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/oldconfig.py, branch v10.36.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.36.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v10.36.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2019-01-15T22:12:10Z</updated>
<entry>
<title>Update copyright years for 2019</title>
<updated>2019-01-15T22:12:10Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-01-15T22:11:34Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=770abd61a5c90837d9336afd972090eebbc26b0b'/>
<id>urn:sha1:770abd61a5c90837d9336afd972090eebbc26b0b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make {load,write}_config(filename=None) implement the standard behavior</title>
<updated>2018-12-08T02:28:52Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-12-07T23:41:01Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=7b4f72fa7a19b7c38312a6f6fd553ca45f04e9a6'/>
<id>urn:sha1:7b4f72fa7a19b7c38312a6f6fd553ca45f04e9a6</id>
<content type='text'>
Make the previously obligatory 'filename' argument to load_config() and
write_config() default to None, and have that implement the behavior
you'd usually want: read/write either KCONFIG_CONFIG or ".config" if
unset, and read the 'option defconfig_list' configuration file if
KCONFIG_CONFIG/".config" doesn't exist.

For load_config(), filename=None also allows the configuration file to
be missing without raising an error. load_config() returns True if a
local configuration file was loaded, which is useful to check in the
menuconfig (if no local configuration file exists, we always want to
prompt for saving the configuration when exiting).

Also add a 'verbose' argument (default True) to load_config() and
read_config() that makes them print which files were read/written in
filename=None mode.

Also generalize olddefconfig.py and oldconfig.py to not require there to
already be a local configuration file. This was a bit silly for
olddefconfig.py in particular.

Remove the examples/defconfig.py script. It's a duplicate of
olddefconfig.py.
</content>
</entry>
<entry>
<title>olddefconfig: Add script</title>
<updated>2018-10-01T02:17:13Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-10-01T01:52:32Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=3b692df8996f5ce55037f5340a6e92db8ad4df67'/>
<id>urn:sha1:3b692df8996f5ce55037f5340a6e92db8ad4df67</id>
<content type='text'>
Works like 'make olddefconfig', updating a configuration by filling in
default values for all new symbols.

This could also be accomplished by entering the 'menuconfig' interface
and saving the configuration, but it's more awkward and less obvious.

Piggyback two oldconfig changes:

 - Mention KCONFIG_CONFIG

 - Check if the .config file exists before parsing the Kconfig files,
   instead of after
</content>
</entry>
<entry>
<title>oldconfig: Use Kconfig.node_iter() and clean up</title>
<updated>2018-08-25T23:51:09Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-25T21:22:40Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=2320b7adb703c22e44ec9716a0d2605e80a02783'/>
<id>urn:sha1:2320b7adb703c22e44ec9716a0d2605e80a02783</id>
<content type='text'>
Some general cleanup:

 - Handle the iteration with the new Kconfig.node_iter() helper.

   This makes some function so short that they become pointless. Have
   just main() + oldconfig(node) + small helper functions.

 - Use _name_and_loc_str(sc) for choices too, so that all locations get
   reported for named choices defined in multiple locations

 - Rewrite the intro to be less wordy and remove the sample session
   (leftover from when oldconfig.py was in examples/, and not that
   exciting)

 - Print "Updated configuration written to..." instead of
   "Configuration saved to..."

 - Various other nits
</content>
</entry>
<entry>
<title>oldconfig: Fix help display command for choices</title>
<updated>2018-08-25T00:06:58Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-08-25T00:06:58Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=1c2c4ae83e78d3450e313aba53628497643adfb8'/>
<id>urn:sha1:1c2c4ae83e78d3450e313aba53628497643adfb8</id>
<content type='text'>
'?' should display the help, like for symbols, not '??'. Oversight when
the command was changed.
</content>
</entry>
<entry>
<title>oldconfig: Put standard library imports first</title>
<updated>2018-06-22T12:03:12Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-06-22T12:02:11Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=d6edca3a2bb4c3ebba37699952e3f6d6b4b1ef3c'/>
<id>urn:sha1:d6edca3a2bb4c3ebba37699952e3f6d6b4b1ef3c</id>
<content type='text'>
More common style.
</content>
</entry>
<entry>
<title>Add license tags to scripts</title>
<updated>2018-06-06T06:57:32Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-06-06T06:57:04Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=a607db8a47fde00bd301d785ba1fbb8a5eab06da'/>
<id>urn:sha1:a607db8a47fde00bd301d785ba1fbb8a5eab06da</id>
<content type='text'>
Everything's ISC.
</content>
</entry>
<entry>
<title>Add tool helper for loading/saving .config files</title>
<updated>2018-05-30T19:40:27Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-05-30T19:18:49Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=f9b158ebb3d81c923461981d2b087989c284c2d4'/>
<id>urn:sha1:f9b158ebb3d81c923461981d2b087989c284c2d4</id>
<content type='text'>
Removes repeated KCONFIG_CONFIG boilerplate.

Also make allyesconfig use KCONFIG_CONFIG when writing (oversight), and
document the sys.exit() behavior for standard_kconfig().
</content>
</entry>
<entry>
<title>Add tool helper for selecting the top-level Kconfig</title>
<updated>2018-05-30T18:38:11Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-05-30T18:19:08Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=791b930930b9ddcb752c97c8a8ef859b7afbeb0e'/>
<id>urn:sha1:791b930930b9ddcb752c97c8a8ef859b7afbeb0e</id>
<content type='text'>
standard_kconfig() gets the top-level Kconfig file from the first
command-line argument, defaulting to "Kconfig". This removes some
boilerplate from tools.
</content>
</entry>
<entry>
<title>oldconfig: Move from examples/ to root</title>
<updated>2018-05-27T17:18:40Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-05-27T17:18:40Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=81a0b2ede3f59784d271a60701291e2a0dfc2a7d'/>
<id>urn:sha1:81a0b2ede3f59784d271a60701291e2a0dfc2a7d</id>
<content type='text'>
All the packaged code will appear in the root.
</content>
</entry>
</feed>
