<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Kconfiglib.git/examples, branch v11.6.0</title>
<subtitle>Fork of https://github.com/zephyrproject-rtos/Kconfiglib.git</subtitle>
<id>https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v11.6.0</id>
<link rel='self' href='https://git.mcdonnell.dev/Kconfiglib.git/atom?h=v11.6.0'/>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/'/>
<updated>2019-05-25T14:18:29Z</updated>
<entry>
<title>Strip direct deps. from property conditions in Symbol/Choice/MenuNode.__str__()</title>
<updated>2019-05-25T14:18:29Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-05-25T11:52:09Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=bb33eed5cc6bdce2b65aa570ecd9a400bcd9c180'/>
<id>urn:sha1:bb33eed5cc6bdce2b65aa570ecd9a400bcd9c180</id>
<content type='text'>
Commit e81a77b ("Consistently put direct deps. last when propagating")
makes the position of the direct deps. in property conditions
predictable after dependency propagation, making it easy to strip them
as needed.

Use this to implement MenuNode.orig_{prompt,defaults,selects,implies,ranges},
which work like the non-orig_* versions but omit the direct deps. Use
those in turn to omit the direct deps in Symbol/Choice.__str__().

The direct deps. (with propagated parent deps.) can still be seen after
'depends on ...', so there is no loss of information.

This unclutters Kconfig definitions shown in menuconfig/guiconfig and in
any generated documentation. The old output also had duplicated
dependencies, though it doesn't matter for evaluation.

Before:

  config A
  	bool
  	prompt "A" if DEP
  	default y if FOO &amp;&amp; DEP
  	depends on DEP

After:

  config A
  	bool
  	prompt "A"
  	default y if FOO
  	depends on DEP
</content>
</entry>
<entry>
<title>String repetition consistency nit</title>
<updated>2019-05-19T00:26:13Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-05-19T00:24:45Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=57e3aa38707a5b827d987b10dbf999e7081076cd'/>
<id>urn:sha1:57e3aa38707a5b827d987b10dbf999e7081076cd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use a consistent style in examples</title>
<updated>2019-03-06T01:15:29Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2019-03-06T01:10:20Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=66557edc120faac569004ba2bc426c5ac6a1100b'/>
<id>urn:sha1:66557edc120faac569004ba2bc426c5ac6a1100b</id>
<content type='text'>
Also remove some unused imports.
</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>Link Zephyr's kconfig.py from merge_config.py example</title>
<updated>2018-11-21T04:32:22Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-21T04:32:22Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=80c8324e9946a08016dfd0ea2b2bf8adfc334c9b'/>
<id>urn:sha1:80c8324e9946a08016dfd0ea2b2bf8adfc334c9b</id>
<content type='text'>
Helps to have a fancier example too.
</content>
</entry>
<entry>
<title>Add support for KCONFIG_ALLCONFIG</title>
<updated>2018-11-17T18:03:36Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-11-17T08:21:13Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=b65baa47f69ae4c3993876a7edf0da0075aa70ff'/>
<id>urn:sha1:b65baa47f69ae4c3993876a7edf0da0075aa70ff</id>
<content type='text'>
This allows some symbol values to be forced while running
all{def,no,yes,mod}config.py. See Documentation/kbuild/kconfig.txt in
the Linux kernel.

Add a helper function load_allconfig() to Kconfiglib to avoid code
duplication in the tools.

Also add functions for enabling/disabling the warning that's generated
when a symbol is assigned multiple times in a (set of) .config files and
the values differ. It should be disabled when merging the
KCONFIG_ALLCONFIG configuration file. Previously, only the warning
generated when the assigned values are identical could be disabled.

Disable all warnings related to assigning a symbol multiple times in
examples/merge_config.py as well.
</content>
</entry>
<entry>
<title>Fix comment formatting in help_grep.py</title>
<updated>2018-09-28T14:51:17Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-28T14:50:49Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=3673ffb8fbd283948821601a0d9b6ec724984474'/>
<id>urn:sha1:3673ffb8fbd283948821601a0d9b6ec724984474</id>
<content type='text'>
Consistently indent with tabs, like in the actual output.
</content>
</entry>
<entry>
<title>Use a consistent import style in the examples</title>
<updated>2018-09-27T17:54:45Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-27T17:53:06Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=7bbd12d306bba4d7fd47905cf2d0b4e3f7bdabbd'/>
<id>urn:sha1:7bbd12d306bba4d7fd47905cf2d0b4e3f7bdabbd</id>
<content type='text'>
Do the PEP 8 ordering thingy with standard library imports first.
</content>
</entry>
<entry>
<title>Simplify the defconfig and eval_expr examples a bit</title>
<updated>2018-09-27T17:47:52Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-27T16:51:07Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=d0ebcc592c74995957f3b7f46408fb3a528142f4'/>
<id>urn:sha1:d0ebcc592c74995957f3b7f46408fb3a528142f4</id>
<content type='text'>
Style nits.
</content>
</entry>
<entry>
<title>Update some examples to use node_iter()</title>
<updated>2018-09-15T01:07:11Z</updated>
<author>
<name>Ulf Magnusson</name>
<email>ulfalizer@gmail.com</email>
</author>
<published>2018-09-15T00:19:34Z</published>
<link rel='alternate' type='text/html' href='https://git.mcdonnell.dev/Kconfiglib.git/commit/?id=35a60b786c646c846d9bad6a5f15711acc9a62c6'/>
<id>urn:sha1:35a60b786c646c846d9bad6a5f15711acc9a62c6</id>
<content type='text'>
Simplifies the code. Should promote new APIs.

Also fix list_undefined.py for recent kernels. More environment
variables are referenced now.
</content>
</entry>
</feed>
