From 5591df04795ec1af7fbd5eae8f5994e15e5f4b57 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Wed, 20 Oct 2021 21:28:06 +0200 Subject: rename module to gitlab.com/internetarchive/refcat This changes all the import paths to the current canonical location on http://gitlab.com/internetarchive/refcat. --- skate/cache.go | 2 +- skate/cmd/skate-cdx-lookup/main.go | 2 +- skate/cmd/skate-cleanup/main.go | 4 ++-- skate/cmd/skate-conv/main.go | 6 +++--- skate/cmd/skate-from-unstructured/main.go | 4 ++-- skate/cmd/skate-map/main.go | 4 ++-- skate/cmd/skate-reduce/main.go | 4 ++-- skate/cmd/skate-resolve-journal-name/main.go | 6 +++--- skate/cmd/skate-wikipedia-doi/main.go | 4 ++-- skate/data.go | 2 +- skate/go.mod | 2 +- skate/reduce.go | 6 +++--- skate/reduce_test.go | 4 ++-- skate/schema.go | 4 ++-- skate/testutil/extra.go | 2 +- skate/verify.go | 2 +- skate/zipkey/zipkey_test.go | 2 +- 17 files changed, 30 insertions(+), 30 deletions(-) diff --git a/skate/cache.go b/skate/cache.go index e5b0171..5ef4551 100644 --- a/skate/cache.go +++ b/skate/cache.go @@ -9,7 +9,7 @@ import ( "os" "path" - "git.archive.org/martin/cgraph/skate/atomic" + "gitlab.com/internetarchive/refcat/skate/atomic" ) var ErrCacheMiss = errors.New("cache miss") diff --git a/skate/cmd/skate-cdx-lookup/main.go b/skate/cmd/skate-cdx-lookup/main.go index 1bfbdb8..828e73e 100644 --- a/skate/cmd/skate-cdx-lookup/main.go +++ b/skate/cmd/skate-cdx-lookup/main.go @@ -13,8 +13,8 @@ import ( "strings" "time" - "git.archive.org/martin/cgraph/skate" "github.com/adrg/xdg" + "gitlab.com/internetarchive/refcat/skate" ) var ( diff --git a/skate/cmd/skate-cleanup/main.go b/skate/cmd/skate-cleanup/main.go index e2fd27e..5fdc22d 100644 --- a/skate/cmd/skate-cleanup/main.go +++ b/skate/cmd/skate-cleanup/main.go @@ -14,8 +14,8 @@ import ( "runtime" "strings" - "git.archive.org/martin/cgraph/skate" - "git.archive.org/martin/cgraph/skate/parallel" + "gitlab.com/internetarchive/refcat/skate" + "gitlab.com/internetarchive/refcat/skate/parallel" ) var ( diff --git a/skate/cmd/skate-conv/main.go b/skate/cmd/skate-conv/main.go index 972a7d0..ccce592 100644 --- a/skate/cmd/skate-conv/main.go +++ b/skate/cmd/skate-conv/main.go @@ -13,10 +13,10 @@ import ( "runtime" "strings" - "git.archive.org/martin/cgraph/skate" - "git.archive.org/martin/cgraph/skate/parallel" - "git.archive.org/martin/cgraph/skate/xio" "github.com/segmentio/encoding/json" + "gitlab.com/internetarchive/refcat/skate" + "gitlab.com/internetarchive/refcat/skate/parallel" + "gitlab.com/internetarchive/refcat/skate/xio" ) var ( diff --git a/skate/cmd/skate-from-unstructured/main.go b/skate/cmd/skate-from-unstructured/main.go index 2df22af..d3e64d6 100644 --- a/skate/cmd/skate-from-unstructured/main.go +++ b/skate/cmd/skate-from-unstructured/main.go @@ -8,9 +8,9 @@ import ( "os" "runtime" - "git.archive.org/martin/cgraph/skate" - "git.archive.org/martin/cgraph/skate/parallel" "github.com/segmentio/encoding/json" + "gitlab.com/internetarchive/refcat/skate" + "gitlab.com/internetarchive/refcat/skate/parallel" ) var ( diff --git a/skate/cmd/skate-map/main.go b/skate/cmd/skate-map/main.go index 57a1498..43663e6 100644 --- a/skate/cmd/skate-map/main.go +++ b/skate/cmd/skate-map/main.go @@ -41,8 +41,8 @@ import ( "runtime" "text/tabwriter" - "git.archive.org/martin/cgraph/skate" - "git.archive.org/martin/cgraph/skate/parallel" + "gitlab.com/internetarchive/refcat/skate" + "gitlab.com/internetarchive/refcat/skate/parallel" ) var ( diff --git a/skate/cmd/skate-reduce/main.go b/skate/cmd/skate-reduce/main.go index 6d743b7..a39b6d2 100644 --- a/skate/cmd/skate-reduce/main.go +++ b/skate/cmd/skate-reduce/main.go @@ -60,9 +60,9 @@ import ( "os" "runtime" - "git.archive.org/martin/cgraph/skate" - "git.archive.org/martin/cgraph/skate/xio" gzip "github.com/klauspost/compress/gzip" + "gitlab.com/internetarchive/refcat/skate" + "gitlab.com/internetarchive/refcat/skate/xio" ) var ( diff --git a/skate/cmd/skate-resolve-journal-name/main.go b/skate/cmd/skate-resolve-journal-name/main.go index 79923a0..75ce1c7 100644 --- a/skate/cmd/skate-resolve-journal-name/main.go +++ b/skate/cmd/skate-resolve-journal-name/main.go @@ -20,10 +20,10 @@ import ( "runtime" "strings" - "git.archive.org/martin/cgraph/skate" - "git.archive.org/martin/cgraph/skate/parallel" - "git.archive.org/martin/cgraph/skate/set" "github.com/segmentio/encoding/json" + "gitlab.com/internetarchive/refcat/skate" + "gitlab.com/internetarchive/refcat/skate/parallel" + "gitlab.com/internetarchive/refcat/skate/set" ) var ( diff --git a/skate/cmd/skate-wikipedia-doi/main.go b/skate/cmd/skate-wikipedia-doi/main.go index 3f7afde..358fed4 100644 --- a/skate/cmd/skate-wikipedia-doi/main.go +++ b/skate/cmd/skate-wikipedia-doi/main.go @@ -10,9 +10,9 @@ import ( "runtime" "strings" - "git.archive.org/martin/cgraph/skate" - "git.archive.org/martin/cgraph/skate/parallel" "github.com/segmentio/encoding/json" + "gitlab.com/internetarchive/refcat/skate" + "gitlab.com/internetarchive/refcat/skate/parallel" ) var ( diff --git a/skate/data.go b/skate/data.go index b00e240..a473cea 100644 --- a/skate/data.go +++ b/skate/data.go @@ -1,6 +1,6 @@ package skate -import "git.archive.org/martin/cgraph/skate/set" +import "gitlab.com/internetarchive/refcat/skate/set" var ( BlacklistTitleFragments = set.FromSlice([]string{ diff --git a/skate/go.mod b/skate/go.mod index 13804b3..69383ef 100644 --- a/skate/go.mod +++ b/skate/go.mod @@ -1,4 +1,4 @@ -module git.archive.org/martin/cgraph/skate +module gitlab.com/internetarchive/refcat/skate go 1.15 diff --git a/skate/reduce.go b/skate/reduce.go index c68b2dd..031e9bc 100644 --- a/skate/reduce.go +++ b/skate/reduce.go @@ -44,10 +44,10 @@ import ( "strings" "time" - "git.archive.org/martin/cgraph/skate/set" - "git.archive.org/martin/cgraph/skate/xio" - "git.archive.org/martin/cgraph/skate/zipkey" "github.com/segmentio/encoding/json" + "gitlab.com/internetarchive/refcat/skate/set" + "gitlab.com/internetarchive/refcat/skate/xio" + "gitlab.com/internetarchive/refcat/skate/zipkey" ) var ( diff --git a/skate/reduce_test.go b/skate/reduce_test.go index f751afe..276dcc7 100644 --- a/skate/reduce_test.go +++ b/skate/reduce_test.go @@ -6,9 +6,9 @@ import ( "testing" "time" - "git.archive.org/martin/cgraph/skate/testutil" - "git.archive.org/martin/cgraph/skate/xio" "github.com/kr/pretty" + "gitlab.com/internetarchive/refcat/skate/testutil" + "gitlab.com/internetarchive/refcat/skate/xio" ) func TestLineColumn(t *testing.T) { diff --git a/skate/schema.go b/skate/schema.go index 078556c..1fbb9d9 100644 --- a/skate/schema.go +++ b/skate/schema.go @@ -11,8 +11,8 @@ import ( "sync" "time" - "git.archive.org/martin/cgraph/skate/isbn" - "git.archive.org/martin/cgraph/skate/set" + "gitlab.com/internetarchive/refcat/skate/isbn" + "gitlab.com/internetarchive/refcat/skate/set" ) var ( diff --git a/skate/testutil/extra.go b/skate/testutil/extra.go index 7537f75..e638890 100644 --- a/skate/testutil/extra.go +++ b/skate/testutil/extra.go @@ -5,7 +5,7 @@ import ( "io/ioutil" "reflect" - "git.archive.org/martin/cgraph/skate/atomic" + "gitlab.com/internetarchive/refcat/skate/atomic" ) // BufferFileEquals returns true, if the contents of a given buffer matches the diff --git a/skate/verify.go b/skate/verify.go index c5fbeff..54a8800 100644 --- a/skate/verify.go +++ b/skate/verify.go @@ -14,8 +14,8 @@ import ( "strings" "unicode/utf8" - "git.archive.org/martin/cgraph/skate/set" "github.com/segmentio/encoding/json" + "gitlab.com/internetarchive/refcat/skate/set" ) type ( diff --git a/skate/zipkey/zipkey_test.go b/skate/zipkey/zipkey_test.go index 0a49a45..4c81597 100644 --- a/skate/zipkey/zipkey_test.go +++ b/skate/zipkey/zipkey_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "git.archive.org/martin/cgraph/skate/must" + "gitlab.com/internetarchive/refcat/skate/must" ) func TestZipRun(t *testing.T) { -- cgit v1.2.3