From ef21646edbd38dd45368f4fd2202e6c0c57f8ac0 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Wed, 13 Apr 2022 12:29:09 +0200 Subject: switch to sigsum-go Updates import paths only. --- cmd/sigsum_log_go/main.go | 2 +- cmd/tmp/cosign/main.go | 6 +++--- cmd/tmp/dns/main.go | 4 ++-- cmd/tmp/keygen/main.go | 2 +- cmd/tmp/submit/main.go | 2 +- go.mod | 2 +- go.sum | 6 ++---- pkg/db/client.go | 4 ++-- pkg/db/mocks/client.go | 4 ++-- pkg/db/trillian.go | 4 ++-- pkg/db/trillian_test.go | 4 ++-- pkg/dns/dns.go | 4 ++-- pkg/dns/mocks/dns.go | 2 +- pkg/instance/experimental.go | 2 +- pkg/instance/handler.go | 2 +- pkg/instance/handler_test.go | 2 +- pkg/instance/instance.go | 4 ++-- pkg/state/mocks/state_manager.go | 2 +- pkg/state/single.go | 2 +- pkg/state/single_test.go | 2 +- pkg/state/state_manager.go | 2 +- 21 files changed, 31 insertions(+), 33 deletions(-) diff --git a/cmd/sigsum_log_go/main.go b/cmd/sigsum_log_go/main.go index c81b76a..994836e 100644 --- a/cmd/sigsum_log_go/main.go +++ b/cmd/sigsum_log_go/main.go @@ -21,7 +21,7 @@ import ( "github.com/prometheus/client_golang/prometheus/promhttp" "google.golang.org/grpc" - "git.sigsum.org/sigsum-lib-go/pkg/types" + "git.sigsum.org/sigsum-go/pkg/types" "git.sigsum.org/sigsum-log-go/pkg/db" "git.sigsum.org/sigsum-log-go/pkg/dns" "git.sigsum.org/sigsum-log-go/pkg/instance" diff --git a/cmd/tmp/cosign/main.go b/cmd/tmp/cosign/main.go index 122241f..419ef59 100644 --- a/cmd/tmp/cosign/main.go +++ b/cmd/tmp/cosign/main.go @@ -8,9 +8,9 @@ import ( "log" "net/http" - "git.sigsum.org/sigsum-lib-go/pkg/hex" - "git.sigsum.org/sigsum-lib-go/pkg/requests" - "git.sigsum.org/sigsum-lib-go/pkg/types" + "git.sigsum.org/sigsum-go/pkg/hex" + "git.sigsum.org/sigsum-go/pkg/requests" + "git.sigsum.org/sigsum-go/pkg/types" ) var ( diff --git a/cmd/tmp/dns/main.go b/cmd/tmp/dns/main.go index 5f4e5bf..2b19770 100644 --- a/cmd/tmp/dns/main.go +++ b/cmd/tmp/dns/main.go @@ -6,8 +6,8 @@ import ( "fmt" "log" - "git.sigsum.org/sigsum-lib-go/pkg/hex" - "git.sigsum.org/sigsum-lib-go/pkg/types" + "git.sigsum.org/sigsum-go/pkg/hex" + "git.sigsum.org/sigsum-go/pkg/types" "git.sigsum.org/sigsum-log-go/pkg/dns" ) diff --git a/cmd/tmp/keygen/main.go b/cmd/tmp/keygen/main.go index c381022..b692f7f 100644 --- a/cmd/tmp/keygen/main.go +++ b/cmd/tmp/keygen/main.go @@ -6,7 +6,7 @@ import ( "fmt" "log" - "git.sigsum.org/sigsum-lib-go/pkg/types" + "git.sigsum.org/sigsum-go/pkg/types" ) func main() { diff --git a/cmd/tmp/submit/main.go b/cmd/tmp/submit/main.go index a1f0fff..e688284 100644 --- a/cmd/tmp/submit/main.go +++ b/cmd/tmp/submit/main.go @@ -10,7 +10,7 @@ import ( "fmt" "log" - "git.sigsum.org/sigsum-lib-go/pkg/types" + "git.sigsum.org/sigsum-go/pkg/types" ) var ( diff --git a/go.mod b/go.mod index 5efddb0..46d11db 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module git.sigsum.org/sigsum-log-go go 1.15 require ( - git.sigsum.org/sigsum-lib-go v0.0.3 + git.sigsum.org/sigsum-go v0.0.4 github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b github.com/golang/mock v1.4.4 github.com/google/certificate-transparency-go v1.1.1 // indirect diff --git a/go.sum b/go.sum index ce98daf..ed376ee 100644 --- a/go.sum +++ b/go.sum @@ -33,10 +33,8 @@ cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohl cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= contrib.go.opencensus.io/exporter/stackdriver v0.13.4/go.mod h1:aXENhDJ1Y4lIg4EUaVTwzvYETVNZk10Pu26tevFKLUc= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -git.sigsum.org/sigsum-lib-go v0.0.2 h1:1FwdnraPaasw1D1Lb+flRMJRGLTuZrp17AZ6tx+iT/0= -git.sigsum.org/sigsum-lib-go v0.0.2/go.mod h1:DVmlcf0MBHy4IZdnZ5DcbsKkGEd0EkOAoLINhLgcndY= -git.sigsum.org/sigsum-lib-go v0.0.3 h1:VXtUC/LOPVb990P8dFitQkYx8a1M54hKFcsK7MiZ514= -git.sigsum.org/sigsum-lib-go v0.0.3/go.mod h1:DVmlcf0MBHy4IZdnZ5DcbsKkGEd0EkOAoLINhLgcndY= +git.sigsum.org/sigsum-go v0.0.4 h1:X9Fn81Jrol8WUYsyiYYTSo7go1wfp25l7tAgNE+ZdAY= +git.sigsum.org/sigsum-go v0.0.4/go.mod h1:atThndG2UQarpAMDfAWmgm9YYIvuYwbeTDx12kztD0w= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= diff --git a/pkg/db/client.go b/pkg/db/client.go index 090dfff..09b8bfb 100644 --- a/pkg/db/client.go +++ b/pkg/db/client.go @@ -3,8 +3,8 @@ package db import ( "context" - "git.sigsum.org/sigsum-lib-go/pkg/requests" - "git.sigsum.org/sigsum-lib-go/pkg/types" + "git.sigsum.org/sigsum-go/pkg/requests" + "git.sigsum.org/sigsum-go/pkg/types" ) // Client is an interface that interacts with a log's database backend diff --git a/pkg/db/mocks/client.go b/pkg/db/mocks/client.go index 182869f..0313bfb 100644 --- a/pkg/db/mocks/client.go +++ b/pkg/db/mocks/client.go @@ -8,8 +8,8 @@ import ( context "context" reflect "reflect" - requests "git.sigsum.org/sigsum-lib-go/pkg/requests" - types "git.sigsum.org/sigsum-lib-go/pkg/types" + requests "git.sigsum.org/sigsum-go/pkg/requests" + types "git.sigsum.org/sigsum-go/pkg/types" gomock "github.com/golang/mock/gomock" ) diff --git a/pkg/db/trillian.go b/pkg/db/trillian.go index 453a884..34501b9 100644 --- a/pkg/db/trillian.go +++ b/pkg/db/trillian.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - "git.sigsum.org/sigsum-lib-go/pkg/requests" - "git.sigsum.org/sigsum-lib-go/pkg/types" + "git.sigsum.org/sigsum-go/pkg/requests" + "git.sigsum.org/sigsum-go/pkg/types" "github.com/golang/glog" "github.com/google/trillian" trillianTypes "github.com/google/trillian/types" diff --git a/pkg/db/trillian_test.go b/pkg/db/trillian_test.go index 4dc561d..943321c 100644 --- a/pkg/db/trillian_test.go +++ b/pkg/db/trillian_test.go @@ -8,8 +8,8 @@ import ( "testing" "time" - "git.sigsum.org/sigsum-lib-go/pkg/requests" - "git.sigsum.org/sigsum-lib-go/pkg/types" + "git.sigsum.org/sigsum-go/pkg/requests" + "git.sigsum.org/sigsum-go/pkg/types" "git.sigsum.org/sigsum-log-go/pkg/db/mocks" "github.com/golang/mock/gomock" "github.com/google/trillian" diff --git a/pkg/dns/dns.go b/pkg/dns/dns.go index 94cbdeb..5baccc3 100644 --- a/pkg/dns/dns.go +++ b/pkg/dns/dns.go @@ -5,8 +5,8 @@ import ( "fmt" "net" - "git.sigsum.org/sigsum-lib-go/pkg/hex" - "git.sigsum.org/sigsum-lib-go/pkg/types" + "git.sigsum.org/sigsum-go/pkg/hex" + "git.sigsum.org/sigsum-go/pkg/types" ) // Verifier can verify that a domain name is aware of a public key diff --git a/pkg/dns/mocks/dns.go b/pkg/dns/mocks/dns.go index c60082b..27a32cf 100644 --- a/pkg/dns/mocks/dns.go +++ b/pkg/dns/mocks/dns.go @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - types "git.sigsum.org/sigsum-lib-go/pkg/types" + types "git.sigsum.org/sigsum-go/pkg/types" gomock "github.com/golang/mock/gomock" ) diff --git a/pkg/instance/experimental.go b/pkg/instance/experimental.go index 5dab870..3db11e9 100644 --- a/pkg/instance/experimental.go +++ b/pkg/instance/experimental.go @@ -11,7 +11,7 @@ import ( "fmt" "net/http" - "git.sigsum.org/sigsum-lib-go/pkg/types" + "git.sigsum.org/sigsum-go/pkg/types" "github.com/golang/glog" ) diff --git a/pkg/instance/handler.go b/pkg/instance/handler.go index ca3395e..24fa575 100644 --- a/pkg/instance/handler.go +++ b/pkg/instance/handler.go @@ -6,7 +6,7 @@ import ( "net/http" "time" - "git.sigsum.org/sigsum-lib-go/pkg/types" + "git.sigsum.org/sigsum-go/pkg/types" "github.com/golang/glog" ) diff --git a/pkg/instance/handler_test.go b/pkg/instance/handler_test.go index 05388fa..94e8b8e 100644 --- a/pkg/instance/handler_test.go +++ b/pkg/instance/handler_test.go @@ -12,7 +12,7 @@ import ( "testing" "time" - "git.sigsum.org/sigsum-lib-go/pkg/types" + "git.sigsum.org/sigsum-go/pkg/types" mocksDB "git.sigsum.org/sigsum-log-go/pkg/db/mocks" mocksDNS "git.sigsum.org/sigsum-log-go/pkg/dns/mocks" mocksState "git.sigsum.org/sigsum-log-go/pkg/state/mocks" diff --git a/pkg/instance/instance.go b/pkg/instance/instance.go index f62922e..95a8868 100644 --- a/pkg/instance/instance.go +++ b/pkg/instance/instance.go @@ -7,8 +7,8 @@ import ( "net/http" "time" - "git.sigsum.org/sigsum-lib-go/pkg/requests" - "git.sigsum.org/sigsum-lib-go/pkg/types" + "git.sigsum.org/sigsum-go/pkg/requests" + "git.sigsum.org/sigsum-go/pkg/types" "git.sigsum.org/sigsum-log-go/pkg/db" "git.sigsum.org/sigsum-log-go/pkg/dns" "git.sigsum.org/sigsum-log-go/pkg/state" diff --git a/pkg/state/mocks/state_manager.go b/pkg/state/mocks/state_manager.go index dd7e3f1..05831c6 100644 --- a/pkg/state/mocks/state_manager.go +++ b/pkg/state/mocks/state_manager.go @@ -8,7 +8,7 @@ import ( context "context" reflect "reflect" - types "git.sigsum.org/sigsum-lib-go/pkg/types" + types "git.sigsum.org/sigsum-go/pkg/types" gomock "github.com/golang/mock/gomock" ) diff --git a/pkg/state/single.go b/pkg/state/single.go index 5c69232..f362e50 100644 --- a/pkg/state/single.go +++ b/pkg/state/single.go @@ -8,7 +8,7 @@ import ( "sync" "time" - "git.sigsum.org/sigsum-lib-go/pkg/types" + "git.sigsum.org/sigsum-go/pkg/types" "git.sigsum.org/sigsum-log-go/pkg/db" "github.com/golang/glog" ) diff --git a/pkg/state/single_test.go b/pkg/state/single_test.go index f619e2f..81889ba 100644 --- a/pkg/state/single_test.go +++ b/pkg/state/single_test.go @@ -10,7 +10,7 @@ import ( "testing" "time" - "git.sigsum.org/sigsum-lib-go/pkg/types" + "git.sigsum.org/sigsum-go/pkg/types" db "git.sigsum.org/sigsum-log-go/pkg/db/mocks" "git.sigsum.org/sigsum-log-go/pkg/state/mocks" "github.com/golang/mock/gomock" diff --git a/pkg/state/state_manager.go b/pkg/state/state_manager.go index ab0293c..9533479 100644 --- a/pkg/state/state_manager.go +++ b/pkg/state/state_manager.go @@ -3,7 +3,7 @@ package state import ( "context" - "git.sigsum.org/sigsum-lib-go/pkg/types" + "git.sigsum.org/sigsum-go/pkg/types" ) // StateManager coordinates access to a log's tree heads and (co)signatures. -- cgit v1.2.3