Skip to content

Commit beb70c1

Browse files
committed
reactivate debian patch to allow build using go-github v48
and extend to go.mod debian patch 01-Update-the-import-path-of-golang-github-google-go-github.patch
1 parent 756ed39 commit beb70c1

File tree

3 files changed

+28
-6
lines changed

3 files changed

+28
-6
lines changed

debian/changelog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
dh-make-golang (0.6.0-2) UNRELEASED; urgency=medium
2+
3+
* Team upload.
4+
* reactivate debian patch
5+
01-Update-the-import-path-of-golang-github-google-go-github.patch
6+
and extend to go.mod to allow build using go-github v48.
7+
8+
-- Drew Parsons <[email protected]> Fri, 18 Nov 2022 12:46:39 +0100
9+
110
dh-make-golang (0.6.0-1) unstable; urgency=medium
211

312
[ Aloïs Micard ]

debian/patches/01-Update-the-import-path-of-golang-github-google-go-github.patch

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ Subject: Update the import path of golang-github-google-go-github
66
main.go | 2 +-
77
1 file changed, 1 insertion(+), 1 deletion(-)
88

9-
diff --git a/main.go b/main.go
10-
index adb5a27..456b203 100644
11-
--- a/main.go
12-
+++ b/main.go
13-
@@ -4,7 +4,7 @@ import (
9+
Index: dh-make-golang/main.go
10+
===================================================================
11+
--- dh-make-golang.orig/main.go 2022-11-18 12:45:52.035957432 +0100
12+
+++ dh-make-golang/main.go 2022-11-18 12:45:52.035957432 +0100
13+
@@ -4,7 +4,7 @@
1414
"fmt"
1515
"os"
1616

@@ -19,3 +19,16 @@ index adb5a27..456b203 100644
1919
"github.com/gregjones/httpcache"
2020
)
2121

22+
Index: dh-make-golang/go.mod
23+
===================================================================
24+
--- dh-make-golang.orig/go.mod 2022-11-18 12:43:54.600226791 +0100
25+
+++ dh-make-golang/go.mod 2022-11-18 12:46:09.780533980 +0100
26+
@@ -4,7 +4,7 @@
27+
28+
require (
29+
github.com/charmbracelet/glamour v0.3.0
30+
- github.com/google/go-github/v38 v38.1.0
31+
+ github.com/google/go-github v38.1.0
32+
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79
33+
github.com/mattn/go-isatty v0.0.12
34+
golang.org/x/mod v0.5.1 // indirect

debian/patches/series

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# 01-Update-the-import-path-of-golang-github-google-go-github.patch
1+
01-Update-the-import-path-of-golang-github-google-go-github.patch

0 commit comments

Comments
 (0)