Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Migrate to sysprog21/Kconfiglib for improved UI and active maintenance#10845

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
Copilot wants to merge4 commits intomaster
base:master
Choose a base branch
Loading
fromcopilot/use-refined-kconfiglib

Conversation

Copy link
Contributor

CopilotAI commentedOct 25, 2025
edited
Loading

The PyPIkconfiglib package is unmaintained. Migrate to the actively maintainedsysprog21/Kconfiglib fork which provides enhanced menuconfig/guiconfig UIs, bug fixes, and full Kconfig language compatibility.

Changes

Dependency updates:

  • tools/requirements.txt:kconfiglib>=13.7.1kconfiglib @ git+https://github.com/sysprog21/Kconfiglib
  • .github/workflows/utest_auto_run.yml: Updated pip install command

Documentation:

  • bsp/ultrarisc/ur_dp1000_evb/README.md: Updated installation instructions
  • bsp/k230/README.md: Updated installation instructions

Installation

pip install git+https://github.com/sysprog21/Kconfiglib# orpip install -r tools/requirements.txt

Benefits

The fork provides:

  • Enhanced TUI with borders, shadows, and scrollbars
  • Professional GUI with dark/light themes
  • Multiple bug fixes
  • Active maintenance

API-compatible drop-in replacement (v14.1.1a4). No RT-Thread code changes required.

Original prompt

This section details on the original issue you should resolve

<issue_title>[Feature] Use refined Kconfiglib for improved rendering and configuration processing</issue_title>
<issue_description>### Describe problem solved by the proposed feature

The Kconfiglib package available onPyPI is no longer actively maintained. In contrast, the fork atsysprog21/Kconfiglib enhances the TUI to align more closely with the Linux kernel’s menuconfig, fixes several bugs, and preserves full compatibility with theKconfig language.

Describe your preferred solution

The screenshot below illustrates the improved TUI, including clearer window borders, drop shadows, and a functional scrollbar.

Image

The screenshots below illustrate the improved user interface ofguiconfig.py, bringing it closer to the professional standard of the Linux kernel’s qconf (make xconfig). In addition, it introduces dark/light theme switching for guiconfig, featuring a blue color scheme for consistent cross-platform styling.

ImageImage

The configurator can use thesysprog21/Kconfiglib package instead of the unmaintained Kconfiglib, while still processing all existing configurations correctly.

Describe possible alternatives

No response</issue_description>

<agent_instructions>尝试以这样的方式推一个版本,注意做好对应的确认工作,包括ci部分都涵盖到。</agent_instructions>

Comments on the Issue (you are@copilot in this section)

@Rbb666Thank you for your suggestions. We will consider optimizing them in the future. Or, would you be interested in joining us to help support this effort?@Rbb666@ComerLater 大佬可以帮忙一起看看这个建议呀~@Rbb666> > Thank you for your suggestions. We will consider optimizing them in the future. Or, would you be interested in joining us to help support this effort?> > If the refined [sysprog21/Kconfiglib](https://github.com/sysprog21/Kconfiglib) fits well with RT-Thread, I plan to contribute the corresponding pull request(s) for integration.

Thank you very much. I will contact the maintainer of this module to discuss whether any modifications are needed.</comment_new>


💬 We'd love your input! Share your thoughts on Copilot coding agent in our2 minute survey.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign ourContributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let usrecheck it.

@github-actions
Copy link

👋 感谢您对 RT-Thread 的贡献!Thank you for your contribution to RT-Thread!

为确保代码符合 RT-Thread 的编码规范,请在你的仓库中执行以下步骤运行代码格式化工作流(如果格式化CI运行失败)。
To ensure your code complies with RT-Thread's coding style, please run the code formatting workflow by following the steps below (If the formatting of CI fails to run).


🛠 操作步骤 | Steps

  1. 前往 Actions 页面 | Go to the Actions page
    点击进入工作流 → | Click to open workflow →

  2. 点击Run workflow | ClickRun workflow

  • 设置需排除的文件/目录(目录请以"/"结尾)
    Set files/directories to exclude (directories should end with "/")
  • 将目标分支设置为 \ Set the target branch to:copilot/use-refined-kconfiglib
  • 设置PR number为 \ Set the PR number to:10845
  1. 等待工作流完成 | Wait for the workflow to complete
    格式化后的代码将自动推送至你的分支。
    The formatted code will be automatically pushed to your branch.

完成后,提交将自动更新至copilot/use-refined-kconfiglib 分支,关联的 Pull Request 也会同步更新。
Once completed, commits will be pushed to thecopilot/use-refined-kconfiglib branch automatically, and the related Pull Request will be updated.

如有问题欢迎联系我们,再次感谢您的贡献!💐
If you have any questions, feel free to reach out. Thanks again for your contribution!

CopilotAIand others added3 commitsOctober 25, 2025 01:17
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
CopilotAI changed the title[WIP] Add refined Kconfiglib for improved rendering and configuration processingMigrate to sysprog21/Kconfiglib for improved UI and active maintenanceOct 25, 2025
@github-actions
Copy link

github-actionsbot commentedOct 25, 2025
edited
Loading

📌 Code Review Assignment

🏷️ Tag: bsp_k230

Reviewers: unicornx

Changed Files (Click to expand)
  • bsp/k230/README.md

🏷️ Tag: bsp_ultrarisc

Reviewers: zhangjing0303

Changed Files (Click to expand)
  • bsp/ultrarisc/ur_dp1000_evb/README.md

🏷️ Tag: workflow

Reviewers: Rbb666 kurisaW supperthomas

Changed Files (Click to expand)
  • .github/workflows/utest_auto_run.yml

📊 Current Review Status (Last Updated: 2025-10-25 15:34 CST)

  • Rbb666 Pending Review
  • kurisaW Pending Review
  • supperthomas Pending Review
  • unicornx Pending Review
  • zhangjing0303 Pending Review

📝 Review Instructions

  1. 维护者可以通过单击此处来刷新审查状态:🔄 刷新状态
    Maintainers can refresh the review status by clicking here:🔄 Refresh Status

  2. 确认审核通过后评论LGTM/lgtm
    CommentLGTM/lgtm after confirming approval

  3. PR合并前需至少一位维护者确认
    PR must be confirmed by at least one maintainer before merging

ℹ️刷新CI状态操作需要具备仓库写入权限。
ℹ️Refresh CI status operation requires repository Write permission.

$ pip3 installgit+https://github.com/sysprog21/Kconfiglib
```

注意:如果下载速度较慢,可以使用 git 代理或设置 pip 镜像源来加速安装。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Place the information for using mirrors.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@BernardXiongBernardXiongAwaiting requested review from BernardXiong

@supperthomassupperthomasAwaiting requested review from supperthomassupperthomas will be requested when the pull request is marked ready for reviewsupperthomas is a code owner

@kurisaWkurisaWAwaiting requested review from kurisaWkurisaW will be requested when the pull request is marked ready for reviewkurisaW is a code owner

1 more reviewer

@jservjservjserv left review comments

Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Labels

actiongithub action yml imporveBSPtools

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Feature] Use refined Kconfiglib for improved rendering and configuration processing

4 participants

@CLAassistant@jserv@BernardXiong

[8]ページ先頭

©2009-2025 Movatter.jp