<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/examples, branch v3.0.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v3.0.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v3.0.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2018-02-08T08:26:02Z</updated>
<entry>
<title>oldconfig.py comment nit</title>
<updated>2018-02-08T08:26:02Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-08T08:26:02Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=2abc0bb4c770723417e725dd1b947a494ac649b4'/>
<id>urn:sha1:2abc0bb4c770723417e725dd1b947a494ac649b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Prompt for choices with new visible symbols in oldconfig.py</title>
<updated>2018-02-08T08:22:58Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-08T08:19:33Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=8255d65373f767cb8f636a3400521687ead89f13'/>
<id>urn:sha1:8255d65373f767cb8f636a3400521687ead89f13</id>
<content type='text'>
It makes sense to prompt for a choice during oldconfig if it contains
new visible symbols, even if there is already an old visible user
selection.
</content>
</entry>
<entry>
<title>Give symbol locations in merge_config.py warnings</title>
<updated>2018-02-07T04:10:25Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-07T04:00:56Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=7cdfe6dda5435e85aec2ab0410d58fcae6ae4071'/>
<id>urn:sha1:7cdfe6dda5435e85aec2ab0410d58fcae6ae4071</id>
<content type='text'>
Helpful for debugging.

Piggyback some small fixes:

 - Don't imply that merge_config.py is an executable file or that it
   only runs under Python 3. Remove the hashbang line and fix the
   example in the overview.

 - Add some #'s to the overview .config files that had accidentally been
   left out.

 - Fix a questionable sentence in oldconfig.py's name_and_loc_str()
   docstring.
</content>
</entry>
<entry>
<title>Allow "n"/"m"/"y" as aliases for 0/1/2 in set_value()</title>
<updated>2018-02-07T02:55:56Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-07T01:30:16Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=f66cd7155158943987570937be37b09d9ca58028'/>
<id>urn:sha1:f66cd7155158943987570937be37b09d9ca58028</id>
<content type='text'>
More experience working with the API convinced me that it's worth it.
Gets rid of ugly conversions in the menuconfig.py and oldconfig.py
examples, and streamlines some things internally as well.

Include two other small fixes as well:

  - Make warnings generated by Choice.set_value() match those generated
    by Symbol.set_value().

  - Get rid of the input stripping in menuconfig.py. It's not like the
    interface is usable as-is anyway, and it just complicates the
    example.
</content>
</entry>
<entry>
<title>Add help text display feature to oldconfig.py</title>
<updated>2018-02-06T05:37:25Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-06T05:37:25Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=bb60c1158e8ab98308962abc14ad52e99f7e7f33'/>
<id>urn:sha1:bb60c1158e8ab98308962abc14ad52e99f7e7f33</id>
<content type='text'>
Typing '??' displays the help text of the current item.
</content>
</entry>
<entry>
<title>Refactor do_oldconfig() slightly</title>
<updated>2018-02-06T05:20:13Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-06T05:16:46Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=27987fddb7ded0cc808ec367d75fdfdd65242d51'/>
<id>urn:sha1:27987fddb7ded0cc808ec367d75fdfdd65242d51</id>
<content type='text'>
Not sure why anyone would want to oldconfig just a part of the
configuration tree, especially as there might be dependencies pointing
outside of it. Take a Kconfig object instead of a node.
</content>
</entry>
<entry>
<title>Account for earlier symbols depending on later ones in oldconfig.py</title>
<updated>2018-02-06T03:56:23Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-06T03:45:07Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=17d7568c6da9452ee0612e29edceee70017585d1'/>
<id>urn:sha1:17d7568c6da9452ee0612e29edceee70017585d1</id>
<content type='text'>
The oldnoconfig operation needs to be rerun if the value of any symbol
changes, to catch cases where symbols depend on symbols defined after
them. Otherwise the earlier symbols will just get their default value
instead of being prompted for.
</content>
</entry>
<entry>
<title>Consistently use 'kconf' instead of 'conf'</title>
<updated>2018-02-06T02:05:07Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-06T02:05:07Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=66058f3a3d4ac3b63861d8574be753eece44779e'/>
<id>urn:sha1:66058f3a3d4ac3b63861d8574be753eece44779e</id>
<content type='text'>
The examples had some leftovers from Kconfiglib 1.
</content>
</entry>
<entry>
<title>Add oldconfig.py example script</title>
<updated>2018-02-06T01:47:43Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-06T01:44:14Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=c1d2c10ad95827e3a04c9f432b32fbcf175f5a5e'/>
<id>urn:sha1:c1d2c10ad95827e3a04c9f432b32fbcf175f5a5e</id>
<content type='text'>
Implements the standard 'make oldconfig' functionality, prompting the
user for the values of new symbols to update an old .config file.

This came up in
https://github.com/zephyrproject-rtos/zephyr/issues/5426.
</content>
</entry>
<entry>
<title>Add example that finds references to undefined symbols</title>
<updated>2018-02-03T21:35:38Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-02-03T20:10:11Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=2fb1d811855162fe9d723806a7b5fb995b14ff7b'/>
<id>urn:sha1:2fb1d811855162fe9d723806a7b5fb995b14ff7b</id>
<content type='text'>
Does a global search over all architectures in the kernel, which should
avoid false positives.

Referencing an undefined symbol in a particular architecture can be fine
in a Kconfig file that's shared by multiple architectures, but if the
symbol isn't defined by any architecture, it's likely to be an error (or
a potential cleanup).
</content>
</entry>
</feed>
