golang-1.21.git
5 years agoFix FTBFS on $HOME managed with git.
Bryan C. Mills [Fri, 13 Mar 2020 16:51:09 +0000 (12:51 -0400)]
Fix FTBFS on $HOME managed with git.

This is a cherry-pick of
https://github.com/golang/go/commit/e2a9ea035d73df84c813132417366e8e01777c8d

cmd/go/internal/modload: suppress the 'go mod init' hint for GOROOT more aggressively

Previously, we suppressed a `to create a module there, run: … go mod
init' warning only if the config file itself (such as .git/config) was
found in GOROOT. However, our release tarballs don't include the
.git/config, so that case was not encountered, and the warning could
occur based on a config file found in some parent directory (outside
of GOROOT entirely).

Instead, skip the directory walk completely if the working directory
is anywhere in GOROOT.

Fixes #34191

Change-Id: I9f774901bfbb53b700407c4882f37d6339d023fe
Reviewed-on: https://go-review.googlesource.com/c/go/+/223340
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Gbp-Pq: Name 0003-Fix-FTBFS-on-HOME-managed-with-git.patch

5 years agoFix Lintian warnings about wrong interpreter path
Dr. Tobias Quathamer [Thu, 1 Aug 2019 11:50:48 +0000 (13:50 +0200)]
Fix Lintian warnings about wrong interpreter path

The command used for this change is as follows:

grep -rH "/usr/bin/env perl" * | cut -d: -f1 | xargs -n1 sed -i -e "s,/usr/bin/env perl,/usr/bin/perl,"

Gbp-Pq: Name 0002-Fix-Lintian-warnings-about-wrong-interpreter-path.patch

5 years agoDisable test for UserHomeDir.
Dr. Tobias Quathamer [Wed, 19 Dec 2018 13:25:06 +0000 (14:25 +0100)]
Disable test for UserHomeDir.

On Debian buildds, the user home dir does not exist, so this test fails.

Gbp-Pq: Name 0001-Disable-test-for-UserHomeDir.patch

5 years agogolang-1.14 (1.14.2-1) unstable; urgency=medium
Dr. Tobias Quathamer [Fri, 10 Apr 2020 12:34:21 +0000 (13:34 +0100)]
golang-1.14 (1.14.2-1) unstable; urgency=medium

  * New upstream version 1.14.2

[dgit import unpatched golang-1.14 1.14.2-1]

5 years agoImport golang-1.14_1.14.2.orig.tar.gz
Dr. Tobias Quathamer [Fri, 10 Apr 2020 12:34:21 +0000 (13:34 +0100)]
Import golang-1.14_1.14.2.orig.tar.gz

[dgit import orig golang-1.14_1.14.2.orig.tar.gz]

5 years agoImport golang-1.14_1.14.2-1.debian.tar.xz
Dr. Tobias Quathamer [Fri, 10 Apr 2020 12:34:21 +0000 (13:34 +0100)]
Import golang-1.14_1.14.2-1.debian.tar.xz

[dgit import tarball golang-1.14 1.14.2-1 golang-1.14_1.14.2-1.debian.tar.xz]