-
Notifications
You must be signed in to change notification settings - Fork 179
Comparing changes
Open a pull request
base repository: dundee/gdu
base: v5.31.0
head repository: dundee/gdu
compare: v5.32.0
- 14 commits
- 28 files changed
- 5 contributors
Commits on Jun 9, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 2099170 - Browse repository at this point
Copy the full SHA 2099170View commit details
Commits on Jul 2, 2025
-
switch mouse flag name. mimic default ncdu behavior (#420)
* 2025-06-17 15:04:20: switch mouse flag name. mimic default ncdu behavior Signed-off-by: Shantanu Gadgil <[email protected]> * documentation fixes --------- Signed-off-by: Shantanu Gadgil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2be5953 - Browse repository at this point
Copy the full SHA 2be5953View commit details
Commits on Jul 9, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 7d1a28d - Browse repository at this point
Copy the full SHA 7d1a28dView commit details
Commits on Aug 27, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 31ac0e1 - Browse repository at this point
Copy the full SHA 31ac0e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9f1b89 - Browse repository at this point
Copy the full SHA e9f1b89View commit details
Commits on Sep 8, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 670ee1b - Browse repository at this point
Copy the full SHA 670ee1bView commit details
Commits on Sep 9, 2025
-
fix: reorder out of the 'no-' options (#433)
Signed-off-by: Shantanu Gadgil <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e96890c - Browse repository at this point
Copy the full SHA e96890cView commit details
Commits on Sep 18, 2025
-
feat: Add --reverse-sort flag for non-interactive mode (#436)
* feat: Add --reverse-sort CLI flag for non-interactive mode - Add --reverse-sort boolean flag to command line interface - Enables reversing sort order from largest-to-smallest to smallest-to-largest - Only applies to non-interactive mode to address scrolling usability issues - Follows existing CLI argument patterns and conventions * feat: Add ReverseSort flag to app configuration - Add ReverseSort bool field to Flags struct for YAML config support - Pass ReverseSort parameter to CreateStdoutUI for non-interactive mode - Maintains backward compatibility with existing configuration options - Enables --reverse-sort flag to be stored in config files * feat: Implement reverse sorting logic in non-interactive mode - Update CreateStdoutUI function signature to accept reverseSort parameter - Add reverseSort field to UI struct for state tracking - Modify showDir function to conditionally apply reverse sorting: * Default: sort.Reverse() for largest-to-smallest (existing behavior) * With --reverse-sort: standard sort() for smallest-to-largest (new behavior) - Maintains performance with no additional overhead * test: Add comprehensive tests for reverse sort functionality - Add 6 new test functions to validate reverse sort behavior - Test reverse sort with various flag combinations (colors, summarize, top) - Test reverse sort with analysis files and different UI modes - Add strings import for test utilities - Ensure backward compatibility with existing test patterns - All new tests pass alongside existing 300+ test suite * docs: Update documentation for --reverse-sort feature - Add --reverse-sort flag to CLI help documentation in README.md - Add usage example showing reverse sort in non-interactive mode - Document reverse-sort configuration option in configuration.md - Maintain consistent documentation formatting and style - Provide clear explanation of feature purpose and usage * chore: Add gdu binary to .gitignore - Ignore compiled gdu binary from version control - Prevents accidental commit of build artifacts - Maintains clean repository structure * fix: update CreateStdoutUI call in Linux-specific test - Add missing reverseSort parameter to CreateStdoutUI function call - Fixes compilation error in stdout_linux_test.go - Maintains consistency with updated function signature
Configuration menu - View commit details
-
Copy full SHA for df73872 - Browse repository at this point
Copy the full SHA df73872View commit details
Commits on Sep 22, 2025
-
fix: make 'no' the default button in delete/empty confirmation dialogs (
#437) * fix: make 'no' the default button in delete/empty confirmation dialogs This is a critical safety improvement to prevent accidental data loss. Previously, the 'yes' button was selected by default in confirmation dialogs for delete and empty operations, making it extremely easy to accidentally destroy data by pressing 'e' followed by Enter. Changes: - Reorder confirmation dialog buttons from ['yes', 'no', 'don't ask me again'] to ['no', 'yes', 'don't ask me again'] making 'no' the default - Update button index mapping in confirmDeletionSelected() and confirmDeletionMarked() to handle the new button order - Add comprehensive tests to verify safer confirmation behavior - Replace deprecated strings.Title with golang.org/x/text/cases.Title - Maintain backward compatibility for all other functionality This addresses a known usability issue in the gdu community where users have reported significant data loss due to the dangerous default behavior. The fix aligns gdu with ncdu's safer approach of defaulting to 'no'. * test: add coverage for case 1 branches in confirmation dialogs - Add TestConfirmDeletionSelectedCase1 to cover the 'yes' button logic - Add TestConfirmDeletionMarkedCase1 to cover marked deletion 'yes' logic - Improves test coverage to address Codecov report issues - Ensures safety fix button reordering is properly tested * fix: remove duplicate entry for golang.org/x/text in go.mod
Configuration menu - View commit details
-
Copy full SHA for f2f31ea - Browse repository at this point
Copy the full SHA f2f31eaView commit details
Commits on Oct 16, 2025
-
feat: add --no-spawn-shell flag to disable shell access (#440)
* feat: Add --no-spawn-shell flag to disable shell access This commit introduces a new flag, --no-spawn-shell, which disables the ability to spawn a shell or open items in external programs. This is useful for environments where shell access should be restricted. This resolves issue #429. * test: Increase coverage for --no-spawn-shell flag * fix: data race in TestRemoveStoredFile
Configuration menu - View commit details
-
Copy full SHA for a222089 - Browse repository at this point
Copy the full SHA a222089View commit details
Commits on Oct 20, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 574db73 - Browse repository at this point
Copy the full SHA 574db73View commit details
Commits on Nov 19, 2025
-
Configuration menu - View commit details
-
Copy full SHA for bf5714e - Browse repository at this point
Copy the full SHA bf5714eView commit details
Commits on Nov 21, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 02b1ee1 - Browse repository at this point
Copy the full SHA 02b1ee1View commit details
Commits on Nov 22, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 0730a05 - Browse repository at this point
Copy the full SHA 0730a05View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v5.31.0...v5.32.0