<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/tools/moveconfig.py, branch v2022.07</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/tools/moveconfig.py?h=v2022.07</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/tools/moveconfig.py?h=v2022.07'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2022-04-02T22:18:57Z</updated>
<entry>
<title>Revert "global: Remove CONFIG_SYS_EXTRA_OPTIONS support"</title>
<updated>2022-04-02T22:18:57Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2022-04-02T22:18:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=25b8acee2ea11a9edc100c42a61f5d6187eb6167'/>
<id>urn:sha1:25b8acee2ea11a9edc100c42a61f5d6187eb6167</id>
<content type='text'>
Unfortunately, we require additional logic to buildman to support this
removal and still use SYS_SOC, etc, for build targets.

This reverts commit eeec00072d7a0b5b91896d014618e558ce438738.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>global: Remove CONFIG_SYS_EXTRA_OPTIONS support</title>
<updated>2022-04-01T14:28:47Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2022-03-24T21:18:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=eeec00072d7a0b5b91896d014618e558ce438738'/>
<id>urn:sha1:eeec00072d7a0b5b91896d014618e558ce438738</id>
<content type='text'>
All options have now been migrated to Kconfig correctly so remove this
support.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>moveconfig: Use re.fullmatch() to avoid extra check</title>
<updated>2022-03-19T01:24:24Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2022-03-06T03:18:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d9c958f49c3dd78b3844514fdb8add3cb0793c54'/>
<id>urn:sha1:d9c958f49c3dd78b3844514fdb8add3cb0793c54</id>
<content type='text'>
Simplify the code by using the available function.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Alper Nebi Yasak &lt;alpernebiyasak@gmail.com&gt;
</content>
</entry>
<entry>
<title>moveconfig: Remove remove_defconfig()</title>
<updated>2022-03-19T01:24:24Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2022-03-06T03:18:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=78f12e53696f937afe5a894912c4c6c576b9010e'/>
<id>urn:sha1:78f12e53696f937afe5a894912c4c6c576b9010e</id>
<content type='text'>
This is not necessary if simpler code is used. Use the split function and
drop the unnecessary []

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Alper Nebi Yasak &lt;alpernebiyasak@gmail.com&gt;
Suggested-by: Alper Nebi Yasak &lt;alpernebiyasak@gmail.com&gt;
</content>
</entry>
<entry>
<title>moveconfig: Correct pylint errors</title>
<updated>2022-03-02T15:28:12Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2022-02-11T20:23:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=68a0b7156a73ca401b409dab7baa410c42cdccfd'/>
<id>urn:sha1:68a0b7156a73ca401b409dab7baa410c42cdccfd</id>
<content type='text'>
Fix two pylint errors in this file.

Note ACTION_SPL_NOT_EXIST is not defined so the dead code can be removed.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>moveconfig: Allow regex matches when finding combinations</title>
<updated>2022-02-22T17:05:44Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2022-02-08T18:49:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=941671a19cfb8e0fad3bd2a11ab5137e43c2ddc5'/>
<id>urn:sha1:941671a19cfb8e0fad3bd2a11ab5137e43c2ddc5</id>
<content type='text'>
It is useful to be able to search for CONFIG options that match a regex,
such as this, which lists boards which define SPL_FIT_GENERATOR and
anything not starting with ROCKCHIP:

   ./tools/moveconfig.py -f SPL_FIT_GENERATOR ~ROCKCHIP.*

Add support for this.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>moveconfig: Show the config name rather than the defconfig</title>
<updated>2022-02-22T17:05:44Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2022-02-08T18:49:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b8d11da0d09aed23c880e572144148d8c9d4cd64'/>
<id>urn:sha1:b8d11da0d09aed23c880e572144148d8c9d4cd64</id>
<content type='text'>
The _defconfig suffix is unnecessary when showing matching boards. Drop
it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>moveconfig: Fix code relying on now-stripped newline characters</title>
<updated>2022-01-31T03:40:58Z</updated>
<author>
<name>Alper Nebi Yasak</name>
<email>alpernebiyasak@gmail.com</email>
</author>
<published>2022-01-29T15:22:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6c928c63a18cfc9e2a700cdd88a8db08a8680eb1'/>
<id>urn:sha1:6c928c63a18cfc9e2a700cdd88a8db08a8680eb1</id>
<content type='text'>
Commit 37f815cad07d ("moveconfig: Use a function to read files") adds a
helper function that can read a file as lines, but strips the newline
characters. This change broke parts of moveconfig code that relied on
their existence, resulting in a few issues:

Configs that are defined as empty aren't removed from header files (e.g.
"#define CONFIG_REMAKE_ELF"). Make regex patterns use '\b' to match word
boundaries instead of '\W' (which matched the newlines) so these lines
still match and get removed.

All changes in defconfig are considered removed by savedefconfig even
if they weren't, and line continuations in the headers aren't recognized
and removed properly, because their checks explicitly look for a newline
character. Remove the character from both comparisons.

The printed diff of header files is wrongly formatted and raises an
IndexError if a blank line was removed. Let print() print the new lines,
and use size-independent ways to check strings to fix the diff output.

Signed-off-by: Alper Nebi Yasak &lt;alpernebiyasak@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>moveconfig: Fix some pylint errors</title>
<updated>2022-01-24T22:36:30Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2021-12-18T21:54:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=91197aa696238ab2a5e260de700a36fb6429abbc'/>
<id>urn:sha1:91197aa696238ab2a5e260de700a36fb6429abbc</id>
<content type='text'>
There are over 200 errors in this file. Fix some of them, starting at the
beginning of the file. Future work can continue this effort.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>moveconfig: Use a function to read files</title>
<updated>2022-01-24T22:36:30Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2021-12-18T21:54:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=37f815cad07d78bfa9ec99e6612344319dca8c3f'/>
<id>urn:sha1:37f815cad07d78bfa9ec99e6612344319dca8c3f</id>
<content type='text'>
At present there is quite a bit of ad-hoc code reading from files. The
most common case is to read the file as lines. Put it in a function and
set the unicode encoding correctly.

Avoid writing back to a file when there are obviously no changes as this
speeds things up slightly.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
