gdu: add new package#29337
Open
graysky2 wants to merge 1 commit into
Open
Conversation
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds a new OpenWrt package for gdu (Go-based disk usage analyzer) and ships a default configuration to improve terminal compatibility.
Changes:
- Introduces
utils/gdu/Makefileto build/installgduvia the Go packaging helpers - Adds a default
gduYAML config that disables Unicode symbols
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| utils/gdu/Makefile | New OpenWrt package definition, Go build configuration, install + conffiles handling |
| utils/gdu/files/gdu.yaml | Adds a default .gdu.yaml config (disables Unicode) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
bc9044e to
4547c78
Compare
Member
|
Just in case, the CI won't pass without: |
BKPepe
reviewed
May 9, 2026
BKPepe
reviewed
May 9, 2026
3e97272 to
c6b9f6c
Compare
Contributor
Author
|
Fixed the permissions on |
Gdu is the modern equivalent of ncdu, and is much faster returning results particularly on solid-state disks thanks to its utilization of parallel processing, period. It is perfectly fine for HDDs as well, but the performance gains are not on the same order of magnitude[1]. Beyond the speed benefits, it's worth noting that. The OpenWRT package for ncdu builds the version that is written in C[2] rather than the version written in zig which is faster. Merging gdu would allow the best option of supplying a fast alternative without the need for a host package for zig. Includes a patch to read from /etc/gdu.yaml which has been merged upstream[3]. 1. https://github.com/dundee/gdu#cold-cache 2. https://github.com/openwrt/packages/blob/master/utils/ncdu/Makefile#L11 3. dundee/gdu#567 Signed-off-by: John Audia <therealgraysky@proton.me>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📦 Package Details
Maintainer: me
(You can find this by checking the history of the package
Makefile.)Description:
Gdu is the modern equivalent of ncdu, and is much faster returning results particularly on solid-state disks thanks to its utilization of parallel processing, period. It is perfectly fine for HDDs as well, but the performance gains are not on the same order of magnitude[1].
Beyond the speed benefits, it's worth noting that. The OpenWRT package for ncdu builds the version that is written in C[2] rather than the version written in zig which is faster. Merging gdu would allow the best option of supplying a fast alternative without the need for a host package for zig.
Includes a patch to read from
/etc/gdu.yamlwhich has been merged upstream[3].🧪 Run Testing Details
✅ Formalities
If your PR contains a patch:
git am(e.g., subject line, commit description, etc.)
We must try to upstream patches to reduce maintenance burden.