File: use-local-artifacts.patch

package info (click to toggle)
golang-github-jesseduffield-go-getter 0.0~git20180822.906e156-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 880 kB
  • sloc: makefile: 8
file content (60 lines) | stat: -rw-r--r-- 1,432 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Description: Use local artifacts
 Use internal package to build go-getter.
Author: Jongmin Kim <jmkim@pukyong.ac.kr>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/client.go
+++ b/client.go
@@ -16,7 +16,7 @@
 	"strconv"
 	"strings"
 
-	urlhelper "github.com/hashicorp/go-getter/helper/url"
+	urlhelper "github.com/jesseduffield/go-getter/helper/url"
 	"github.com/hashicorp/go-safetemp"
 )
 
--- a/detect.go
+++ b/detect.go
@@ -4,7 +4,7 @@
 	"fmt"
 	"path/filepath"
 
-	"github.com/hashicorp/go-getter/helper/url"
+	"github.com/jesseduffield/go-getter/helper/url"
 )
 
 // Detector defines the interface that an invalid URL or a URL with a blank
--- a/get_git.go
+++ b/get_git.go
@@ -10,7 +10,7 @@
 	"path/filepath"
 	"strings"
 
-	urlhelper "github.com/hashicorp/go-getter/helper/url"
+	urlhelper "github.com/jesseduffield/go-getter/helper/url"
 	"github.com/hashicorp/go-safetemp"
 	"github.com/hashicorp/go-version"
 )
--- a/get_hg.go
+++ b/get_hg.go
@@ -8,7 +8,7 @@
 	"path/filepath"
 	"runtime"
 
-	urlhelper "github.com/hashicorp/go-getter/helper/url"
+	urlhelper "github.com/jesseduffield/go-getter/helper/url"
 	"github.com/hashicorp/go-safetemp"
 )
 
--- a/module_test.go
+++ b/module_test.go
@@ -8,7 +8,7 @@
 	"reflect"
 	"testing"
 
-	urlhelper "github.com/hashicorp/go-getter/helper/url"
+	urlhelper "github.com/jesseduffield/go-getter/helper/url"
 )
 
 const fixtureDir = "./test-fixtures"