diff -Nru golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/changelog golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/changelog --- golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/changelog 2018-02-06 04:30:42.000000000 +0000 +++ golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/changelog 2018-07-05 02:50:16.000000000 +0000 @@ -1,3 +1,14 @@ +golang-github-mitchellh-panicwrap (0.0~git20170106.fce601f-4) unstable; urgency=medium + + * Team upload. + * Added "watch" file. + * Standards-Version: 4.1.4 + * debhelper & compat to version 11 + * Patch away "golang-github-kardianos-osext-dev"; + removed the latter from (Build-)Depends. + + -- Dmitry Smirnov Thu, 05 Jul 2018 12:50:16 +1000 + golang-github-mitchellh-panicwrap (0.0~git20170106.fce601f-3) unstable; urgency=medium * Team upload. diff -Nru golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/compat golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/compat --- golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/compat 2018-02-06 04:30:42.000000000 +0000 +++ golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/compat 2018-07-05 02:44:28.000000000 +0000 @@ -1 +1 @@ -9 +11 diff -Nru golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/control golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/control --- golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/control 2018-02-06 04:30:42.000000000 +0000 +++ golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/control 2018-07-05 02:48:43.000000000 +0000 @@ -1,13 +1,12 @@ Source: golang-github-mitchellh-panicwrap Section: devel Priority: optional +Standards-Version: 4.1.4 Maintainer: Debian Go Packaging Team Uploaders: Alexandre Viau -Build-Depends: debhelper (>= 9), +Build-Depends: debhelper (>= 11~), dh-golang, golang-go, - golang-github-kardianos-osext-dev -Standards-Version: 3.9.6 Homepage: https://github.com/mitchellh/panicwrap Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-mitchellh-panicwrap Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-mitchellh-panicwrap.git @@ -19,7 +18,6 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, golang-go, - golang-github-kardianos-osext-dev Description: library for catching and handling panics in Go applications panicwrap is a Go library that re-executes a Go binary and monitors stderr output from the binary for a panic. When it finds a panic, it diff -Nru golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/copyright golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/copyright --- golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/copyright 2018-02-06 04:30:42.000000000 +0000 +++ golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/copyright 2018-07-05 02:50:16.000000000 +0000 @@ -1,4 +1,4 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: panicwrap Source: https://github.com/mitchellh/panicwrap diff -Nru golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/gitlab-ci.yml golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/gitlab-ci.yml --- golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/gitlab-ci.yml 1970-01-01 00:00:00.000000000 +0000 +++ golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/gitlab-ci.yml 2018-07-04 13:46:06.000000000 +0000 @@ -0,0 +1,28 @@ + +# auto-generated, DO NOT MODIFY. +# The authoritative copy of this file lives at: +# https://salsa.debian.org/go-team/ci/blob/master/cmd/ci/gitlabciyml.go + +# TODO: publish under debian-go-team/ci +image: stapelberg/ci2 + +test_the_archive: + artifacts: + paths: + - before-applying-commit.json + - after-applying-commit.json + script: + # Create an overlay to discard writes to /srv/gopath/src after the build: + - "rm -rf /cache/overlay/{upper,work}" + - "mkdir -p /cache/overlay/{upper,work}" + - "mount -t overlay overlay -o lowerdir=/srv/gopath/src,upperdir=/cache/overlay/upper,workdir=/cache/overlay/work /srv/gopath/src" + - "export GOPATH=/srv/gopath" + - "export GOCACHE=/cache/go" + # Build the world as-is: + - "ci-build -exemptions=/var/lib/ci-build/exemptions.json > before-applying-commit.json" + # Copy this package into the overlay: + - "GBP_CONF_FILES=:debian/gbp.conf gbp buildpackage --git-no-pristine-tar --git-ignore-branch --git-ignore-new --git-export-dir=/tmp/export --git-no-overlay --git-tarball-dir=/nonexistant --git-cleaner=/bin/true --git-builder='dpkg-buildpackage -S -d --no-sign'" + - "pgt-gopath -dsc /tmp/export/*.dsc" + # Rebuild the world: + - "ci-build -exemptions=/var/lib/ci-build/exemptions.json > after-applying-commit.json" + - "ci-diff before-applying-commit.json after-applying-commit.json" diff -Nru golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/patches/noimport_osext.patch golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/patches/noimport_osext.patch --- golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/patches/noimport_osext.patch 1970-01-01 00:00:00.000000000 +0000 +++ golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/patches/noimport_osext.patch 2018-07-05 02:49:09.000000000 +0000 @@ -0,0 +1,29 @@ +Last-Update: 2018-07-05 +Forwarded: https://github.com/mitchellh/panicwrap/issues/22 +Bug-Upstream: https://github.com/mitchellh/panicwrap/issues/22 +Author: Dmitry Smirnov +Description: removed "kardianos/osext" which is obsolete on go-1.8+ + +--- a/panicwrap.go ++++ b/panicwrap.go +@@ -20,9 +20,8 @@ + "sync/atomic" + "syscall" + "time" + +- "github.com/kardianos/osext" + ) + + const ( + DEFAULT_COOKIE_KEY = "cccf35992f8f3cd8d1d28f0109dd953e26664531" +@@ -117,9 +116,9 @@ + return -1, nil + } + + // Get the path to our current executable +- exePath, err := osext.Executable() ++ exePath, err := os.Executable() + if err != nil { + return -1, err + } + diff -Nru golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/patches/series golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/patches/series --- golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/patches/series 2018-07-04 05:36:47.000000000 +0000 @@ -0,0 +1 @@ +noimport_osext.patch diff -Nru golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/watch golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/watch --- golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/watch 1970-01-01 00:00:00.000000000 +0000 +++ golang-github-mitchellh-panicwrap-0.0~git20170106.fce601f/debian/watch 2018-07-05 02:43:13.000000000 +0000 @@ -0,0 +1,9 @@ +# uscan(1) configuration file. +version=4 + +opts="\ +pgpmode=none,\ +mode=git,gitmode=shallow,date=%Y%m%d,pretty=0.0~git%cd.%h,\ +repack,compression=xz,\ +" https://github.com/mitchellh/panicwrap.git \ + heads/master