From b0801bece09c79886a22518387934e7988746f36 Mon Sep 17 00:00:00 2001 From: Daniel Milde Date: Thu, 18 Feb 2021 10:28:56 +0000 Subject: [PATCH 1/1] Import gdu_4.6.3-1.debian.tar.xz [dgit import tarball gdu 4.6.3-1 gdu_4.6.3-1.debian.tar.xz] --- changelog | 42 ++++++++++++++++++++++++++++++++++++++++++ control | 32 ++++++++++++++++++++++++++++++++ copyright | 33 +++++++++++++++++++++++++++++++++ gbp.conf | 3 +++ manpages | 1 + rules | 19 +++++++++++++++++++ source/format | 1 + upstream/metadata | 5 +++++ watch | 4 ++++ 9 files changed, 140 insertions(+) create mode 100644 changelog create mode 100644 control create mode 100644 copyright create mode 100644 gbp.conf create mode 100644 manpages create mode 100755 rules create mode 100644 source/format create mode 100644 upstream/metadata create mode 100644 watch diff --git a/changelog b/changelog new file mode 100644 index 0000000..e3c55ce --- /dev/null +++ b/changelog @@ -0,0 +1,42 @@ +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 --git a/control b/control new file mode 100644 index 0000000..edeccf7 --- /dev/null +++ b/control @@ -0,0 +1,32 @@ +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-any, + golang-github-gdamore-tcell.v2-dev, + golang-github-mattn-go-isatty-dev, + golang-github-rivo-tview-dev (>= 0.0~git20210122), + golang-github-spf13-cobra-dev, + golang-github-fatih-color-dev, + golang-github-stretchr-testify-dev +Standards-Version: 4.5.1 +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 + +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 --git a/copyright b/copyright new file mode 100644 index 0000000..f85cd02 --- /dev/null +++ b/copyright @@ -0,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 --git a/gbp.conf b/gbp.conf new file mode 100644 index 0000000..3d450c2 --- /dev/null +++ b/gbp.conf @@ -0,0 +1,3 @@ +[DEFAULT] +debian-branch = debian/sid +dist = DEP14 diff --git a/manpages b/manpages new file mode 100644 index 0000000..1365144 --- /dev/null +++ b/manpages @@ -0,0 +1 @@ +gdu.1 \ No newline at end of file diff --git a/rules b/rules new file mode 100755 index 0000000..f26370e --- /dev/null +++ b/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f + +DH_GOPKG = github.com/dundee/gdu +VERSION ?= $(shell dpkg-parsechangelog -SVersion) + +GOLDFLAGS ?= \ + -s -w \ + -X '$(DH_GOPKG)/build.Version=$(VERSION)' \ + -X '$(DH_GOPKG)/build.User=debian' \ + -X '$(DH_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 -- -ldflags "$(GOLDFLAGS)" diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/upstream/metadata b/upstream/metadata new file mode 100644 index 0000000..f6ef1e1 --- /dev/null +++ b/upstream/metadata @@ -0,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 --git a/watch b/watch new file mode 100644 index 0000000..47896ab --- /dev/null +++ b/watch @@ -0,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 -- 2.30.2