Bug 2354337

Summary: Review Request: python-kconfiglib - A flexible Python Kconfig implementation
Product: [Fedora] Fedora Reporter: Benson Muite <benson_muite>
Component: Package ReviewAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: package-review
Target Milestone: ---Keywords: AutomationTriaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://github.com/zephyrproject-rtos/Kconfiglib
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-03-24 03:44:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
The .spec file difference from Copr build 8806901 to 8807311 none

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 ***