From dd5c86bea8fa5d27758e2fa14f09d8997c92ecab Mon Sep 17 00:00:00 2001 From: daniejstriata <13314239+daniejstriata@users.noreply.github.com> Date: Sun, 21 Apr 2024 15:54:47 +0200 Subject: [PATCH 1/7] Update gdu.spec --- gdu.spec | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/gdu.spec b/gdu.spec index 22cd9586c..fc6e6fa39 100644 --- a/gdu.spec +++ b/gdu.spec @@ -1,5 +1,5 @@ Name: gdu -Version: 5.27.0 +Version: 5.28.0 Release: 1 Summary: Pretty fast disk usage analyzer written in Go @@ -23,19 +23,18 @@ Pretty fast disk usage analyzer written in Go. %autosetup -n %{name} %build -GO111MODULE=on CGO_ENABLED=1 go build \ +GO111MODULE=on CGO_ENABLED=0 go build \ -trimpath \ -buildmode=pie \ -mod=readonly \ -modcacherw \ -ldflags \ --s -w \ --X 'github.com/dundee/gdu/v5/build.Version=$(git describe)' \ +"-s -w \ +-X 'github.com/dundee/gdu/v5/build.Version=%{version}' \ -X 'github.com/dundee/gdu/v5/build.User=$(id -u -n)' \ -X 'github.com/dundee/gdu/v5/build.Time=$(LC_ALL=en_US.UTF-8 date)'" \ -o %{name} github.com/dundee/gdu/v5/cmd/gdu - %install rm -rf $RPM_BUILD_ROOT install -Dpm 0755 %{name} %{buildroot}%{_bindir}/%{name} @@ -52,6 +51,13 @@ install -Dpm 0755 %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/gdu.1 %{_mandir}/man1/gdu.1.gz %changelog +* Sun Apr 21 2024 Danie de Jager - 5.28.0-1 +- feat: delete/empty items in background by @dundee in #336 +- feat: add --show-item-count (-C) option by @ramgp in #332 +- feat: add --no-delete option by @ramgp in #333 +- feat: ignore item by pressing I by @dundee in #345 +- feat: delete directory items in parallel by @dundee in #340 +- feat: add --sequential option for sequential scanning by @dundee in #322 * Sun Feb 18 2024 Danie de Jager - 5.27.0-1 - feat: export in interactive mode by @kadogo in #298 - feat: handle vim-style navigation in confirmation by @samihda in #283 From 65bd282fd34569d5272b343545f6f42acdcd498f Mon Sep 17 00:00:00 2001 From: daniejstriata <13314239+daniejstriata@users.noreply.github.com> Date: Sun, 21 Apr 2024 15:55:08 +0200 Subject: [PATCH 2/7] Update gdu.spec --- gdu.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdu.spec b/gdu.spec index fc6e6fa39..290bfee66 100644 --- a/gdu.spec +++ b/gdu.spec @@ -20,7 +20,7 @@ Pretty fast disk usage analyzer written in Go. %global debug_package %{nil} %prep -%autosetup -n %{name} +%autosetup -n %{name}-%{version} %build GO111MODULE=on CGO_ENABLED=0 go build \ From c04ae6edab8a1bc8641664633f4241035f904f6b Mon Sep 17 00:00:00 2001 From: daniejstriata <13314239+daniejstriata@users.noreply.github.com> Date: Sun, 21 Apr 2024 16:01:27 +0200 Subject: [PATCH 3/7] Update gdu.spec --- gdu.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdu.spec b/gdu.spec index 290bfee66..a1ea4a504 100644 --- a/gdu.spec +++ b/gdu.spec @@ -6,7 +6,7 @@ Summary: Pretty fast disk usage analyzer written in Go License: MIT URL: https://github.com/dundee/gdu -Source0: https://github.com/dundee/gdu/archive/refs/tags/%{version}.tar.gz +Source0: https://github.com/dundee/gdu/archive/refs/tags/v%{version}.tar.gz BuildRequires: golang BuildRequires: systemd-rpm-macros From 9318e8fb6a6d4e2c167643f0dfdc4c251cd39447 Mon Sep 17 00:00:00 2001 From: daniejstriata <13314239+daniejstriata@users.noreply.github.com> Date: Mon, 22 Apr 2024 11:40:09 +0200 Subject: [PATCH 4/7] Update gdu.spec --- gdu.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdu.spec b/gdu.spec index a1ea4a504..270818cfe 100644 --- a/gdu.spec +++ b/gdu.spec @@ -1,6 +1,6 @@ Name: gdu Version: 5.28.0 -Release: 1 +Release: 2 Summary: Pretty fast disk usage analyzer written in Go License: MIT @@ -30,7 +30,7 @@ GO111MODULE=on CGO_ENABLED=0 go build \ -modcacherw \ -ldflags \ "-s -w \ --X 'github.com/dundee/gdu/v5/build.Version=%{version}' \ +-X 'github.com/dundee/gdu/v5/build.Version=v%{version}' \ -X 'github.com/dundee/gdu/v5/build.User=$(id -u -n)' \ -X 'github.com/dundee/gdu/v5/build.Time=$(LC_ALL=en_US.UTF-8 date)'" \ -o %{name} github.com/dundee/gdu/v5/cmd/gdu From bc02272de76eaf2c8474dd2b63f7f40558fd6ade Mon Sep 17 00:00:00 2001 From: daniejstriata <13314239+daniejstriata@users.noreply.github.com> Date: Mon, 10 Jun 2024 14:47:04 +0200 Subject: [PATCH 5/7] Update go.mod --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 22c1d55ab..5e72fe657 100644 --- a/go.mod +++ b/go.mod @@ -43,7 +43,7 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/rivo/uniseg v0.4.7 // indirect github.com/spf13/pflag v1.0.5 // indirect - go.opencensus.io v0.22.5 // indirect + go.opencensus.io v0.24.0 // indirect golang.org/x/net v0.23.0 // indirect golang.org/x/term v0.18.0 // indirect golang.org/x/text v0.14.0 // indirect From 01eda24ecaca93c79e0ad05db36aefff70aa6f5c Mon Sep 17 00:00:00 2001 From: daniejstriata <13314239+daniejstriata@users.noreply.github.com> Date: Mon, 10 Jun 2024 14:50:43 +0200 Subject: [PATCH 6/7] Update go.mod updated protobuf --- go.mod | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 5e72fe657..a6e16a627 100644 --- a/go.mod +++ b/go.mod @@ -28,10 +28,9 @@ require ( github.com/dgraph-io/ristretto v0.1.0 // indirect github.com/dustin/go-humanize v1.0.0 // indirect github.com/gdamore/encoding v1.0.0 // indirect - github.com/gogo/protobuf v1.3.2 // indirect + github.com/golang/protobuf v1.5.5 // indirect github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6 // indirect - github.com/golang/protobuf v1.3.1 // indirect github.com/golang/snappy v0.0.3 // indirect github.com/google/flatbuffers v1.12.1 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect From b5b7ae16e9dd0f721248ef442659681910eb82d0 Mon Sep 17 00:00:00 2001 From: daniejstriata <13314239+daniejstriata@users.noreply.github.com> Date: Mon, 10 Jun 2024 15:03:39 +0200 Subject: [PATCH 7/7] Update go.mod fixed protobuf version --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index a6e16a627..12ef05d77 100644 --- a/go.mod +++ b/go.mod @@ -28,7 +28,7 @@ require ( github.com/dgraph-io/ristretto v0.1.0 // indirect github.com/dustin/go-humanize v1.0.0 // indirect github.com/gdamore/encoding v1.0.0 // indirect - github.com/golang/protobuf v1.5.5 // indirect + github.com/golang/protobuf v1.5.4 // indirect github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6 // indirect github.com/golang/snappy v0.0.3 // indirect