From 749d5095c93f2fdc3bbe17a378cd615886174551 Mon Sep 17 00:00:00 2001 From: Niko Storni Date: Thu, 11 Jun 2020 18:45:56 +0200 Subject: [PATCH] fix semver --- blobs_reflector/reflect.go | 2 +- e2e/supporty/supporty.go | 2 +- go.mod | 2 +- ip_manager/throttle.go | 2 +- main.go | 6 +++--- manager/manager.go | 10 +++++----- manager/setup.go | 8 ++++---- manager/transfer.go | 4 ++-- manager/ytsync.go | 14 +++++++------- sdk/api.go | 2 +- sources/shared.go | 2 +- sources/youtubeVideo.go | 14 +++++++------- timing/timing.go | 2 +- util/util.go | 2 +- 14 files changed, 36 insertions(+), 36 deletions(-) diff --git a/blobs_reflector/reflect.go b/blobs_reflector/reflect.go index 150392e..7758c24 100644 --- a/blobs_reflector/reflect.go +++ b/blobs_reflector/reflect.go @@ -14,7 +14,7 @@ import ( "github.com/lbryio/reflector.go/store" "github.com/sirupsen/logrus" - "github.com/lbryio/ytsync/util" + "github.com/lbryio/ytsync/v5/util" ) var dbHandle *db.SQL diff --git a/e2e/supporty/supporty.go b/e2e/supporty/supporty.go index e6e7422..43f02e2 100644 --- a/e2e/supporty/supporty.go +++ b/e2e/supporty/supporty.go @@ -5,7 +5,7 @@ import ( "strconv" "strings" - "github.com/lbryio/ytsync/util" + "github.com/lbryio/ytsync/v5/util" "github.com/sirupsen/logrus" ) diff --git a/go.mod b/go.mod index 1e32f9c..d4e3139 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/lbryio/ytsync +module github.com/lbryio/ytsync/v5 replace github.com/btcsuite/btcd => github.com/lbryio/lbrycrd.go v0.0.0-20200203050410-e1076f12bf19 diff --git a/ip_manager/throttle.go b/ip_manager/throttle.go index bf48b88..43be077 100644 --- a/ip_manager/throttle.go +++ b/ip_manager/throttle.go @@ -9,7 +9,7 @@ import ( "github.com/asaskevich/govalidator" "github.com/lbryio/lbry.go/v2/extras/errors" "github.com/lbryio/lbry.go/v2/extras/stop" - "github.com/lbryio/ytsync/util" + "github.com/lbryio/ytsync/v5/util" log "github.com/sirupsen/logrus" ) diff --git a/main.go b/main.go index a1569c9..e9f9d3c 100644 --- a/main.go +++ b/main.go @@ -9,9 +9,9 @@ import ( "github.com/lbryio/lbry.go/v2/extras/errors" "github.com/lbryio/lbry.go/v2/extras/util" - "github.com/lbryio/ytsync/manager" - "github.com/lbryio/ytsync/sdk" - ytUtils "github.com/lbryio/ytsync/util" + "github.com/lbryio/ytsync/v5/manager" + "github.com/lbryio/ytsync/v5/sdk" + ytUtils "github.com/lbryio/ytsync/v5/util" "github.com/prometheus/client_golang/prometheus/promhttp" log "github.com/sirupsen/logrus" diff --git a/manager/manager.go b/manager/manager.go index bfc2ab7..2f831b9 100644 --- a/manager/manager.go +++ b/manager/manager.go @@ -6,11 +6,11 @@ import ( "syscall" "time" - "github.com/lbryio/ytsync/blobs_reflector" - "github.com/lbryio/ytsync/ip_manager" - "github.com/lbryio/ytsync/namer" - "github.com/lbryio/ytsync/sdk" - logUtils "github.com/lbryio/ytsync/util" + "github.com/lbryio/ytsync/v5/blobs_reflector" + "github.com/lbryio/ytsync/v5/ip_manager" + "github.com/lbryio/ytsync/v5/namer" + "github.com/lbryio/ytsync/v5/sdk" + logUtils "github.com/lbryio/ytsync/v5/util" "github.com/lbryio/lbry.go/v2/extras/errors" "github.com/lbryio/lbry.go/v2/extras/util" diff --git a/manager/setup.go b/manager/setup.go index c1a33e5..aeab832 100644 --- a/manager/setup.go +++ b/manager/setup.go @@ -10,11 +10,11 @@ import ( "github.com/lbryio/lbry.go/v2/extras/errors" "github.com/lbryio/lbry.go/v2/extras/jsonrpc" "github.com/lbryio/lbry.go/v2/extras/util" - "github.com/lbryio/ytsync/timing" - logUtils "github.com/lbryio/ytsync/util" + "github.com/lbryio/ytsync/v5/timing" + logUtils "github.com/lbryio/ytsync/v5/util" - "github.com/lbryio/ytsync/tags_manager" - "github.com/lbryio/ytsync/thumbs" + "github.com/lbryio/ytsync/v5/tags_manager" + "github.com/lbryio/ytsync/v5/thumbs" "github.com/shopspring/decimal" log "github.com/sirupsen/logrus" diff --git a/manager/transfer.go b/manager/transfer.go index 720eb2d..1fdd8fb 100644 --- a/manager/transfer.go +++ b/manager/transfer.go @@ -10,8 +10,8 @@ import ( "github.com/lbryio/lbry.go/v2/extras/jsonrpc" "github.com/lbryio/lbry.go/v2/extras/stop" "github.com/lbryio/lbry.go/v2/extras/util" - "github.com/lbryio/ytsync/sdk" - "github.com/lbryio/ytsync/timing" + "github.com/lbryio/ytsync/v5/sdk" + "github.com/lbryio/ytsync/v5/timing" log "github.com/sirupsen/logrus" ) diff --git a/manager/ytsync.go b/manager/ytsync.go index d08d40f..f6dbdfe 100644 --- a/manager/ytsync.go +++ b/manager/ytsync.go @@ -14,13 +14,13 @@ import ( "syscall" "time" - "github.com/lbryio/ytsync/ip_manager" - "github.com/lbryio/ytsync/namer" - "github.com/lbryio/ytsync/sdk" - "github.com/lbryio/ytsync/sources" - "github.com/lbryio/ytsync/thumbs" - "github.com/lbryio/ytsync/timing" - logUtils "github.com/lbryio/ytsync/util" + "github.com/lbryio/ytsync/v5/ip_manager" + "github.com/lbryio/ytsync/v5/namer" + "github.com/lbryio/ytsync/v5/sdk" + "github.com/lbryio/ytsync/v5/sources" + "github.com/lbryio/ytsync/v5/thumbs" + "github.com/lbryio/ytsync/v5/timing" + logUtils "github.com/lbryio/ytsync/v5/util" "github.com/lbryio/lbry.go/v2/extras/errors" "github.com/lbryio/lbry.go/v2/extras/jsonrpc" diff --git a/sdk/api.go b/sdk/api.go index c36f713..e51640c 100644 --- a/sdk/api.go +++ b/sdk/api.go @@ -14,7 +14,7 @@ import ( "github.com/lbryio/lbry.go/v2/extras/errors" "github.com/lbryio/lbry.go/v2/extras/null" - "github.com/lbryio/ytsync/util" + "github.com/lbryio/ytsync/v5/util" log "github.com/sirupsen/logrus" ) diff --git a/sources/shared.go b/sources/shared.go index 25380a1..ba76eea 100644 --- a/sources/shared.go +++ b/sources/shared.go @@ -5,7 +5,7 @@ import ( "sync" "github.com/lbryio/lbry.go/v2/extras/jsonrpc" - "github.com/lbryio/ytsync/namer" + "github.com/lbryio/ytsync/v5/namer" ) type SyncSummary struct { diff --git a/sources/youtubeVideo.go b/sources/youtubeVideo.go index 1f6b47a..26c2f66 100644 --- a/sources/youtubeVideo.go +++ b/sources/youtubeVideo.go @@ -17,14 +17,14 @@ import ( "github.com/lbryio/lbry.go/v2/extras/jsonrpc" "github.com/lbryio/lbry.go/v2/extras/stop" "github.com/lbryio/lbry.go/v2/extras/util" - "github.com/lbryio/ytsync/timing" - logUtils "github.com/lbryio/ytsync/util" + "github.com/lbryio/ytsync/v5/timing" + logUtils "github.com/lbryio/ytsync/v5/util" - "github.com/lbryio/ytsync/ip_manager" - "github.com/lbryio/ytsync/namer" - "github.com/lbryio/ytsync/sdk" - "github.com/lbryio/ytsync/tags_manager" - "github.com/lbryio/ytsync/thumbs" + "github.com/lbryio/ytsync/v5/ip_manager" + "github.com/lbryio/ytsync/v5/namer" + "github.com/lbryio/ytsync/v5/sdk" + "github.com/lbryio/ytsync/v5/tags_manager" + "github.com/lbryio/ytsync/v5/thumbs" duration "github.com/ChannelMeter/iso8601duration" "github.com/aws/aws-sdk-go/aws" diff --git a/timing/timing.go b/timing/timing.go index 41e7478..a9df0eb 100644 --- a/timing/timing.go +++ b/timing/timing.go @@ -5,7 +5,7 @@ import ( "sync/atomic" "time" - "github.com/lbryio/ytsync/metrics" + "github.com/lbryio/ytsync/v5/metrics" "github.com/sirupsen/logrus" ) diff --git a/util/util.go b/util/util.go index 0252a32..096ec71 100644 --- a/util/util.go +++ b/util/util.go @@ -11,7 +11,7 @@ import ( "github.com/lbryio/lbry.go/v2/extras/errors" "github.com/lbryio/lbry.go/v2/lbrycrd" - "github.com/lbryio/ytsync/timing" + "github.com/lbryio/ytsync/v5/timing" "github.com/docker/docker/api/types" "github.com/docker/docker/api/types/filters"