Package: go-cve-dictionary / 0.3.1-4

fix-path-of-cheggaaa-pb.patch Patch series | download
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
Description: Fix import path of cheggaaa's pb from pb to pb.v1
 version 1 of pb has been renamed to pb.v1 in debian.
 Therefore, we need to change import path of this package from pb to pb.v1.
 
 find . -name "*.go" |\
	 xargs sed -ie "[email protected]/cheggaaa/[email protected]/cheggaaa/pb.v1@g"

Forwarded: not-needed
Author: Nobuhiro Iwamatsu <[email protected]>
Last-Update: 2018-05-29

diff --git a/db/rdb.go b/db/rdb.go
index e8a5010..f268337 100644
--- a/db/rdb.go
    b/db/rdb.go
@@ -5,7  5,7 @@ import (
 	"io/ioutil"
 	"os"
 
-	"github.com/cheggaaa/pb"
 	"gopkg.in/cheggaaa/pb.v2"
 	"github.com/jinzhu/gorm"
 	"github.com/knqyf263/go-cpe/common"
 	"github.com/knqyf263/go-cpe/naming"
diff --git a/db/redis.go b/db/redis.go
index f190d4c..baeb51c 100644
--- a/db/redis.go
    b/db/redis.go
@@ -6,7  6,7 @@ import (
 	"io/ioutil"
 	"os"
 
-	"github.com/cheggaaa/pb"
 	"gopkg.in/cheggaaa/pb.v2"
 	"github.com/go-redis/redis"
 	"github.com/knqyf263/go-cpe/common"
 	"github.com/knqyf263/go-cpe/naming"