From: Daniel Milde Date: Sat, 19 Feb 2022 17:01:48 +0000 (+0000) Subject: gdu (5.13.2-1) unstable; urgency=medium X-Git-Tag: archive/raspbian/5.13.2-1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3c8205fe89ced967d0aacb94da1813dd7a7494ac;p=gdu.git gdu (5.13.2-1) unstable; urgency=medium [ Daniel Milde ] * refactor: interfaces moved away from implementations * fix: unkeyd fields * doc: gdu migrated to community in ArchLinux * refactor: size constants renamed * added option `--si` for showing sizes with decimal SI prefixes * fix: register pprof endpoints only when requested * refactor: enabling/disabling GC moved to analyzer * balance speed and memory usage [ Georgi Georgiev ] * Make the bar graph meaningful in large directories * Make the relative-size display the user's choice * Fix the tests [ Daniel Milde ] * refactor: we only read from chan * test: more tests for relative bar * test: test closing help using question mark and moving around when info page is opened * fix: recreate doneChan for every scan * fix: check value before waiting * refactor: return concrete implementation * refactor: proper parameter name [ Georgi Georgiev ] * Properly count only the first hard link size on a rescan [ Daniel Milde ] * fix: do not panic if path does not start with slash * test: added more file and actions tests * fix(devices): go back to devices list [dgit import unpatched gdu 5.13.2-1] --- 3c8205fe89ced967d0aacb94da1813dd7a7494ac diff --cc debian/changelog index 0000000,0000000..c91dab1 new file mode 100644 --- /dev/null +++ b/debian/changelog @@@ -1,0 -1,0 +1,242 @@@ ++gdu (5.13.2-1) unstable; urgency=medium ++ ++ [ Daniel Milde ] ++ * refactor: interfaces moved away from implementations ++ * fix: unkeyd fields ++ * doc: gdu migrated to community in ArchLinux ++ * refactor: size constants renamed ++ * added option `--si` for showing sizes with decimal SI prefixes ++ * fix: register pprof endpoints only when requested ++ * refactor: enabling/disabling GC moved to analyzer ++ * balance speed and memory usage ++ ++ [ Georgi Georgiev ] ++ * Make the bar graph meaningful in large directories ++ * Make the relative-size display the user's choice ++ * Fix the tests ++ ++ [ Daniel Milde ] ++ * refactor: we only read from chan ++ * test: more tests for relative bar ++ * test: test closing help using question mark and ++ moving around when info page is opened ++ * fix: recreate doneChan for every scan ++ * fix: check value before waiting ++ * refactor: return concrete implementation ++ * refactor: proper parameter name ++ ++ [ Georgi Georgiev ] ++ * Properly count only the first hard link size on a rescan ++ ++ [ Daniel Milde ] ++ * fix: do not panic if path does not start with slash ++ * test: added more file and actions tests ++ * fix(devices): go back to devices list ++ ++ -- Daniel Milde Sat, 19 Feb 2022 18:01:48 +0100 ++ ++gdu (5.12.1-1) unstable; urgency=medium ++ ++ [ Daniel Milde ] ++ * man page updated ++ * benchmarks updated ++ ++ [ Leonidas Spyropoulos ] ++ * Implement noCross for darwin ++ ++ [ Daniel Milde ] ++ * device implementation for freebsd and darwin merged ++ * fixed processing mount points with space on linux ++ * fixed bsd test ++ * travis icon removed ++ * openbsd and netbsd builds fixed ++ * listing devices on netbsd ++ * use sys.unix instead of syscall ++ * added compilation directives ++ * fix: escape file names ++ * fix: direct dependency on sys ++ * fix: do not pass key when filtering is started ++ * doc: small readme rewording ++ ++ -- Daniel Milde Sun, 12 Dec 2021 10:41:59 +0100 ++ ++gdu (5.11.0-1) unstable; urgency=medium ++ ++ * added option to run memory garbage collection during analysis ++ * added option to collect profiling data ++ ++ -- Daniel Milde Sun, 28 Nov 2021 13:16:00 +0100 ++ ++gdu (5.10.1-1) unstable; urgency=medium ++ ++ * convert path to absolute before checking crossing mountpoints ++ ++ -- Daniel Milde Tue, 23 Nov 2021 16:09:23 +0100 ++ ++gdu (5.10.0-1) unstable; urgency=medium ++ ++ [ Daniel Milde ] ++ * fix: correct install command for go ++ * refactor: use strconv instead of fmt ++ ++ [ Jay R. Wren ] ++ * add ino, hlnkc to json ++ * tests ++ ++ [ Daniel Milde ] ++ * stop UI when spawning shell on Windows ++ * test execute ++ * show info about hard-linked files ++ * added possibility to move around while info window is opened ++ ++ [ Jeremy Neville ] ++ * Info modal closes with "i" ++ ++ [ Daniel Milde ] ++ * fix: do not show help if file info is shown ++ ++ -- Daniel Milde Thu, 11 Nov 2021 18:04:36 +0100 ++ ++gdu (5.9.0-1) unstable; urgency=medium ++ ++ * added option to show total usage for given path #96 ++ * added option to read ignore patterns from file ++ * refactor: struct fields aligned correctly ++ ++ -- Daniel Milde Sat, 23 Oct 2021 15:16:31 +0200 ++ ++gdu (5.8.1-3) unstable; urgency=medium ++ ++ * use go 1.16 ++ ++ -- Daniel Milde Fri, 15 Oct 2021 14:30:04 +0200 ++ ++gdu (5.8.1-2) unstable; urgency=medium ++ ++ * standards bumped to 4.6.0 ++ ++ -- Daniel Milde Mon, 27 Sep 2021 20:36:47 +0200 ++ ++gdu (5.8.1-1) unstable; urgency=medium ++ ++ * stop GC while running analysis ++ * do not build PIE as it breaks build on mips ++ ++ -- Daniel Milde Mon, 27 Sep 2021 11:59:37 +0200 ++ ++gdu (5.7.0-1) unstable; urgency=medium ++ ++ * sort devices by name and used size ++ * show total usage and sorting on devices list ++ * suspend the application instead of stopping ++ ++ -- Daniel Milde Sun, 19 Sep 2021 22:09:57 +0200 ++ ++gdu (5.6.2-1) unstable; urgency=medium ++ ++ [ Daniel Milde ] ++ * upgrade to go 1.16 ++ * use 3x number of cores ++ * run gc when the analysis is done ++ * show content of file ++ * disable CGO for all builds ++ * do not allow some actions while scanning/deleting/confirming ++ * keep selected dir when using enter for return ++ * use GOMAXPROCS ++ * use channel instead of mutex ++ ++ [ Jeff Cook ] ++ * Keep cursor on selection when swapping between apparent/actual size. ++ ++ [ knyazevoe ] ++ * added maxprocs flag, that sets GOMAXPROCS ++ ++ [ Leonidas Spyropoulos ] ++ * Skip failing tests on single core CPUs ++ ++ [ Daniel Milde ] ++ * added possibility to ignore hidden dirs and ignore dirs by regular pattern ++ * main package moved to cmd/gdu ++ * show file count [BC break] ++ ++ [ huangnauh ] ++ * fix: update tview to fix crash ++ ++ [ Daniel Milde ] ++ * replace std log module with sirupsen/logrus ++ * show info about selected item ++ ++ [ zhangsean ] ++ * Feature: Empty selected file or directory ++ * Improve some coding. ++ ++ [ Daniel Milde ] ++ * export analysis to file as JSON ++ * read analysis from file ++ ++ [ jtagcat ] ++ * tui help: 'Go to' instead of 'Select' for open. ++ * helpText: refer to up/down with k/j, past: k, j ++ ++ [ Daniel Milde ] ++ * help info structured ++ * fix compatibility with ncdu export format ++ * fixed not showing colors for export ++ * added thousand separator to item count number ++ * detect correctly NFS mounts ++ * search items by name ++ * feat: print current directory path and quit on `Q` key ++ * spawn shell in current directory on pressing `b` ++ * adjust the height of the help box to the size of the screen ++ * feat: show last mtime by pressing `m` and sort by mtime by pressing `M` ++ * import/export mtime ++ ++ [ Daniel Milde ] ++ * fix: check if currentDir is set ++ * fix: check if currentDir is set when selecting item ++ * fix: set ui.currentDir at last ++ ++ -- Daniel Milde Sat, 28 Aug 2021 00:48:18 +0200 ++ ++gdu (4.6.3-1) unstable; urgency=medium ++ ++ * usage test is not valid on all architectures ++ * g/G key bindings added to help ++ ++ -- Daniel Milde Thu, 18 Feb 2021 11:28:56 +0100 ++ ++gdu (4.6.2-1) unstable; urgency=medium ++ ++ * keep background color of the terminal ++ * delete files in separate thread ++ * fixed data race in flag propagation ++ ++ -- Daniel Milde Tue, 16 Feb 2021 21:09:06 +0100 ++ ++gdu (4.6.1-1) unstable; urgency=medium ++ ++ * added flag -x for not crossing filesystem boundaries ++ * show flags (error, empty, symlink, e.g.) ++ * detect hard links ++ * show modal on deletion error ++ * more readable colors ++ ++ -- Daniel Milde Mon, 15 Feb 2021 17:29:56 +0100 ++ ++gdu (4.4.1-2) unstable; urgency=medium ++ ++ * fixed ldflags for build to be reproducible ++ ++ -- Daniel Milde Fri, 12 Feb 2021 20:28:11 +0100 ++ ++gdu (4.4.1-1) unstable; urgency=medium ++ ++ * fixed tests for chrooted environments ++ ++ -- Daniel Milde Fri, 05 Feb 2021 20:19:52 +0100 ++ ++gdu (4.3.3-1) unstable; urgency=medium ++ ++ * Initial release (Closes: 980350) ++ ++ -- Daniel Milde Wed, 27 Jan 2021 10:23:15 +0200 diff --cc debian/control index 0000000,0000000..17cb48d new file mode 100644 --- /dev/null +++ b/debian/control @@@ -1,0 -1,0 +1,34 @@@ ++Source: gdu ++Maintainer: Debian Go Packaging Team ++Uploaders: Daniel Milde , ++Section: admin ++Testsuite: autopkgtest-pkg-go ++Priority: optional ++Build-Depends: debhelper-compat (= 13), ++ dh-golang, ++ golang-github-fatih-color-dev, ++ golang-github-gdamore-tcell.v2-dev, ++ golang-github-mattn-go-isatty-dev, ++ golang-github-pbnjay-memory-dev, ++ golang-github-rivo-tview-dev (>= 0.0~git20210122), ++ golang-github-sirupsen-logrus-dev, ++ golang-github-spf13-cobra-dev, ++ golang-github-stretchr-testify-dev, ++ golang-go, ++Standards-Version: 4.6.0 ++Vcs-Browser: https://salsa.debian.org/go-team/packages/gdu ++Vcs-Git: https://salsa.debian.org/go-team/packages/gdu.git ++Homepage: https://github.com/dundee/gdu ++Rules-Requires-Root: no ++XS-Go-Import-Path: github.com/dundee/gdu/v5 ++ ++Package: gdu ++Architecture: any ++Depends: ${misc:Depends}, ++ ${shlibs:Depends}, ++Built-Using: ${misc:Built-Using}, ++Description: Pretty fast disk usage analyzer ++ Disk usage analyzer with console interface written in Go. ++ Intended primarily for SSD disks where it can fully ++ utilize parallel processing. However HDDs work as well, but ++ the performance gain is not so huge. diff --cc debian/copyright index 0000000,0000000..f85cd02 new file mode 100644 --- /dev/null +++ b/debian/copyright @@@ -1,0 -1,0 +1,33 @@@ ++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ ++Upstream-Name: github.com/dundee/gdu ++Upstream-Contact: Daniel Milde ++Source: https://github.com/dundee/gdu ++ ++Files: * ++Copyright: 2018-2021 Daniel Milde ++License: Expat ++ ++Files: debian/* ++Copyright: 2021 Daniel Milde ++License: Expat ++Comment: Debian packaging is licensed under the same terms as upstream ++ ++License: Expat ++ Permission is hereby granted, free of charge, to any person obtaining ++ a copy of this software and associated documentation files (the ++ "Software"), to deal in the Software without restriction, including ++ without limitation the rights to use, copy, modify, merge, publish, ++ distribute, sublicense, and/or sell copies of the Software, and to ++ permit persons to whom the Software is furnished to do so, subject to ++ the following conditions: ++ . ++ The above copyright notice and this permission notice shall be ++ included in all copies or substantial portions of the Software. ++ . ++ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ++ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ++ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ++ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE ++ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION ++ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION ++ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --cc debian/gbp.conf index 0000000,0000000..3d450c2 new file mode 100644 --- /dev/null +++ b/debian/gbp.conf @@@ -1,0 -1,0 +1,3 @@@ ++[DEFAULT] ++debian-branch = debian/sid ++dist = DEP14 diff --cc debian/gdu.1 index 0000000,0000000..2452109 new file mode 100644 --- /dev/null +++ b/debian/gdu.1 @@@ -1,0 -1,0 +1,88 @@@ ++.\" Automatically generated by Pandoc 2.14.1 ++.\" ++.TH "gdu" "1" "2021-11-27" "" "" ++.hy ++.SH NAME ++.PP ++gdu - Pretty fast disk usage analyzer written in Go ++.SH SYNOPSIS ++.PP ++\f[B]gdu [flags] [directory_to_scan]\f[R] ++.SH DESCRIPTION ++.PP ++Pretty fast disk usage analyzer written in Go. ++.PP ++Gdu is intended primarily for SSD disks where it can fully utilize ++parallel processing. ++However HDDs work as well, but the performance gain is not so huge. ++.SH OPTIONS ++.PP ++\f[B]-h\f[R], \f[B]--help\f[R][=false] help for gdu ++.PP ++\f[B]-i\f[R], \f[B]--ignore-dirs\f[R]=[/proc,/dev,/sys,/run] Absolute ++paths to ignore (separated by comma) ++.PP ++\f[B]-I\f[R], \f[B]--ignore-dirs-pattern\f[R] Absolute path patterns to ++ignore (separated by comma) ++.PP ++\f[B]-X\f[R], \f[B]--ignore-from\f[R] Read absolute path patterns to ++ignore from file ++.PP ++\f[B]-l\f[R], \f[B]--log-file\f[R]=\[dq]/dev/null\[dq] Path to a logfile ++.PP ++\f[B]-m\f[R], \f[B]--max-cores\f[R] Set max cores that GDU will use. ++.PP ++\f[B]-c\f[R], \f[B]--no-color\f[R][=false] Do not use colorized output ++.PP ++\f[B]-x\f[R], \f[B]--no-cross\f[R][=false] Do not cross filesystem ++boundaries ++.PP ++\f[B]-H\f[R], \f[B]--no-hidden\f[R][=false] Ignore hidden directories ++(beginning with dot) ++.PP ++\f[B]-n\f[R], \f[B]--non-interactive\f[R][=false] Do not run in ++interactive mode ++.PP ++\f[B]-p\f[R], \f[B]--no-progress\f[R][=false] Do not show progress in ++non-interactive mode ++.PP ++\f[B]-s\f[R], \f[B]--summarize\f[R][=false] Show only a total in ++non-interactive mode ++.PP ++\f[B]-d\f[R], \f[B]--show-disks\f[R][=false] Show all mounted disks ++.PP ++\f[B]-a\f[R], \f[B]--show-apparent-size\f[R][=false] Show apparent size ++.PP ++\f[B]-f\f[R], \f[B]-\[em]input-file\f[R] Import analysis from JSON file. ++If the file is \[dq]-\[dq], read from standard input. ++.PP ++\f[B]-o\f[R], \f[B]-\[em]output-file\f[R] Export all info into file as ++JSON. ++If the file is \[dq]-\[dq], write to standard output. ++.PP ++\f[B]-g\f[R], \f[B]--enable-gc\f[R][=false] Enable garbage collection ++during analysis ++.PP ++\f[B]--enable-profiling\f[R][=false] Enable collection of profiling data ++and provide it on http://localhost:6060/debug/pprof/ ++.PP ++\f[B]-v\f[R], \f[B]--version\f[R][=false] Print version ++.SH FILE FLAGS ++.PP ++Files and directories may be prefixed by a one-character flag with ++following meaning: ++.TP ++\f[B]!\f[R] ++An error occurred while reading this directory. ++.TP ++\f[B].\f[R] ++An error occurred while reading a subdirectory, size may be not correct. ++.TP ++\f[B]\[at]\f[R] ++File is symlink or socket. ++.TP ++\f[B]H\f[R] ++Same file was already counted (hard link). ++.TP ++\f[B]e\f[R] ++Directory is empty. diff --cc debian/gitlab-ci.yml index 0000000,0000000..594e14e new file mode 100644 --- /dev/null +++ b/debian/gitlab-ci.yml @@@ -1,0 -1,0 +1,6 @@@ ++# auto-generated, DO NOT MODIFY. ++# The authoritative copy of this file lives at: ++# https://salsa.debian.org/go-team/infra/pkg-go-tools/blob/master/config/gitlabciyml.go ++--- ++include: ++ - https://salsa.debian.org/go-team/infra/pkg-go-tools/-/raw/master/pipeline/test-archive.yml diff --cc debian/manpages index 0000000,0000000..8c25747 new file mode 100644 --- /dev/null +++ b/debian/manpages @@@ -1,0 -1,0 +1,1 @@@ ++debian/gdu.1 diff --cc debian/rules index 0000000,0000000..4676f27 new file mode 100755 --- /dev/null +++ b/debian/rules @@@ -1,0 -1,0 +1,20 @@@ ++#!/usr/bin/make -f ++ ++GOPKG = github.com/dundee/gdu/v5 ++VERSION ?= $(shell dpkg-parsechangelog -SVersion) ++ ++DH_GOLANG_BUILDPKG := github.com/dundee/gdu/v5/cmd/gdu ++CGO_ENABLED := 0 ++ ++GO_LDFLAGS += -X '$(GOPKG)/build.Version=$(VERSION)' ++GO_LDFLAGS += -X '$(GOPKG)/build.User=debian' ++GO_LDFLAGS += -X '$(GOPKG)/build.Time=$(shell TZ=Etc/UTC date +'%F_%T' -d @$(SOURCE_DATE_EPOCH))' ++ ++%: ++ dh $@ --builddirectory=_build --buildsystem=golang --with=golang ++ ++override_dh_auto_install: ++ dh_auto_install -- --no-source ++ ++override_dh_auto_build: ++ dh_auto_build -O--buildsystem=golang -- -ldflags "$(GO_LDFLAGS)" diff --cc debian/source/format index 0000000,0000000..163aaf8 new file mode 100644 --- /dev/null +++ b/debian/source/format @@@ -1,0 -1,0 +1,1 @@@ ++3.0 (quilt) diff --cc debian/tests/control index 0000000,0000000..523e9ae new file mode 100644 --- /dev/null +++ b/debian/tests/control @@@ -1,0 -1,0 +1,2 @@@ ++Tests: scan version ++Depends: @, diff --cc debian/tests/scan index 0000000,0000000..66680cf new file mode 100755 --- /dev/null +++ b/debian/tests/scan @@@ -1,0 -1,0 +1,1 @@@ ++gdu -npc diff --cc debian/tests/version index 0000000,0000000..e909f63 new file mode 100755 --- /dev/null +++ b/debian/tests/version @@@ -1,0 -1,0 +1,1 @@@ ++gdu -v diff --cc debian/upstream/metadata index 0000000,0000000..f6ef1e1 new file mode 100644 --- /dev/null +++ b/debian/upstream/metadata @@@ -1,0 -1,0 +1,5 @@@ ++--- ++Bug-Database: https://github.com/dundee/gdu/issues ++Bug-Submit: https://github.com/dundee/gdu/issues/new ++Repository: https://github.com/dundee/gdu.git ++Repository-Browse: https://github.com/dundee/gdu diff --cc debian/watch index 0000000,0000000..47896ab new file mode 100644 --- /dev/null +++ b/debian/watch @@@ -1,0 -1,0 +1,4 @@@ ++version=4 ++opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%gdu-$1.tar.gz%,\ ++ uversionmangle=s/(\d)[_\.\-\+]?(RC|rc|pre|dev|beta|alpha)[.]?(\d*)$/\$1~\$2\$3/" \ ++ https://github.com/dundee/gdu/tags .*/v?(\d\S*)\.tar\.gz debian