Bug 2354337 - Review Request: python-kconfiglib - A flexible Python Kconfig implementation
Summary: Review Request: python-kconfiglib - A flexible Python Kconfig implementation
Keywords:
Status: CLOSED DUPLICATE of bug 2252811
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/zephyrproject-rtos...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-23 15:26 UTC by Benson Muite
Modified: 2025-03-24 03:44 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-03-24 03:44:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
The .spec file difference from Copr build 8806901 to 8807311 (4.25 KB, patch)
2025-03-23 18:33 UTC, Fedora Review Service
no flags Details | Diff

Description Benson Muite 2025-03-23 15:26:29 UTC
spec: https://fed500.fedorapeople.org/python-kconfiglib.spec
srpm: https://fed500.fedorapeople.org/python-kconfiglib-14.1.1a4-1.fc43.src.rpm

description:
Kconfiglib is a Kconfig implementation in Python 2/3. It started out as a helper library, but now has a enough functionality to also work well as a standalone Kconfig implementation (including terminal and GUI menuconfig interfaces and Kconfig extensions).

The entire library is contained in kconfiglib.py. The bundled scripts are implemented on top of it. Implementing your own scripts should be relatively easy, if needed.

Kconfiglib is used exclusively by e.g. the Zephyr, esp-idf, and ACRN projects. It is also used for many small helper scripts in various projects.

Since Kconfiglib is based around a library, it can be used e.g. to generate a Kconfig cross-reference, using the same robust Kconfig parser used for other Kconfig tools, instead of brittle ad-hoc parsing. The documentation generation script can be found here.

Kconfiglib implements the recently added Kconfig preprocessor. For backwards compatibility, environment variables can be referenced both as $(FOO) (the new syntax) and as $FOO (the old  syntax). The old syntax is deprecated, but will probably be supported for a long time, as it's needed to stay compatible with older Linux kernels. The major version will be increased if support is ever dropped. Using the old syntax with an undefined environment variable keeps the string as is.

fas: fed500

Reproducible: Always

Comment 1 Fedora Review Service 2025-03-23 15:30:32 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8806901
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2354337-python-kconfiglib/fedora-rawhide-x86_64/08806901-python-kconfiglib/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 3 Fedora Review Service 2025-03-23 18:33:45 UTC
Created attachment 2081547 [details]
The .spec file difference from Copr build 8806901 to 8807311

Comment 4 Fedora Review Service 2025-03-23 18:33:48 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/8807311
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2354337-python-kconfiglib/fedora-rawhide-x86_64/08807311-python-kconfiglib/fedora-review/review.txt

Please take a look if any issues were found.


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 5 Benson Muite 2025-03-24 03:44:32 UTC

*** This bug has been marked as a duplicate of bug 2252811 ***


Note You need to log in before you can comment on or make changes to this bug.