diff --git a/arcreader/arcreader_test.go b/arcreader/arcreader_test.go index 2c214a54..c41e2bcf 100644 --- a/arcreader/arcreader_test.go +++ b/arcreader/arcreader_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/nlnwa/gowarc" - "github.com/nlnwa/warchaeology/internal/warc" + "github.com/nlnwa/warchaeology/v3/internal/warc" "github.com/spf13/afero" ) diff --git a/arcreader/unmarshaler.go b/arcreader/unmarshaler.go index 51eaac90..483df76b 100644 --- a/arcreader/unmarshaler.go +++ b/arcreader/unmarshaler.go @@ -13,7 +13,7 @@ import ( "github.com/klauspost/compress/gzip" "github.com/nlnwa/gowarc" - mytime "github.com/nlnwa/warchaeology/internal/time" + mytime "github.com/nlnwa/warchaeology/v3/internal/time" ) type unmarshaler struct { diff --git a/cmd/aart/aart.go b/cmd/aart/aart.go index 0938d6cf..428d9389 100644 --- a/cmd/aart/aart.go +++ b/cmd/aart/aart.go @@ -15,9 +15,9 @@ import ( "github.com/nfnt/resize" "github.com/nlnwa/gowarc" - "github.com/nlnwa/warchaeology/cmd/internal/flag" - "github.com/nlnwa/warchaeology/internal/filter" - "github.com/nlnwa/warchaeology/internal/warc" + "github.com/nlnwa/warchaeology/v3/cmd/internal/flag" + "github.com/nlnwa/warchaeology/v3/internal/filter" + "github.com/nlnwa/warchaeology/v3/internal/warc" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/cmd/cat/cat.go b/cmd/cat/cat.go index 9bce51c2..23b12067 100644 --- a/cmd/cat/cat.go +++ b/cmd/cat/cat.go @@ -12,11 +12,11 @@ import ( "syscall" "github.com/nlnwa/gowarc" - "github.com/nlnwa/warchaeology/cmd/internal/flag" - "github.com/nlnwa/warchaeology/cmd/internal/log" - "github.com/nlnwa/warchaeology/internal/filewalker" - "github.com/nlnwa/warchaeology/internal/filter" - "github.com/nlnwa/warchaeology/internal/warc" + "github.com/nlnwa/warchaeology/v3/cmd/internal/flag" + "github.com/nlnwa/warchaeology/v3/cmd/internal/log" + "github.com/nlnwa/warchaeology/v3/internal/filewalker" + "github.com/nlnwa/warchaeology/v3/internal/filter" + "github.com/nlnwa/warchaeology/v3/internal/warc" "github.com/spf13/afero" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/cmd/cat/cat_test.go b/cmd/cat/cat_test.go index c9f5f0f2..6d204537 100644 --- a/cmd/cat/cat_test.go +++ b/cmd/cat/cat_test.go @@ -12,7 +12,7 @@ import ( "time" "github.com/nlnwa/gowarc" - "github.com/nlnwa/warchaeology/internal/warc" + "github.com/nlnwa/warchaeology/v3/internal/warc" ) var ( diff --git a/cmd/cmd.go b/cmd/cmd.go index a71aa530..6fb5905d 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -6,15 +6,15 @@ import ( "strings" "github.com/kirsle/configdir" - "github.com/nlnwa/warchaeology/cmd/aart" - "github.com/nlnwa/warchaeology/cmd/cat" - "github.com/nlnwa/warchaeology/cmd/console" - "github.com/nlnwa/warchaeology/cmd/convert" - "github.com/nlnwa/warchaeology/cmd/dedup" - "github.com/nlnwa/warchaeology/cmd/internal/flag" - "github.com/nlnwa/warchaeology/cmd/ls" - "github.com/nlnwa/warchaeology/cmd/validate" - "github.com/nlnwa/warchaeology/cmd/version" + "github.com/nlnwa/warchaeology/v3/cmd/aart" + "github.com/nlnwa/warchaeology/v3/cmd/cat" + "github.com/nlnwa/warchaeology/v3/cmd/console" + "github.com/nlnwa/warchaeology/v3/cmd/convert" + "github.com/nlnwa/warchaeology/v3/cmd/dedup" + "github.com/nlnwa/warchaeology/v3/cmd/internal/flag" + "github.com/nlnwa/warchaeology/v3/cmd/ls" + "github.com/nlnwa/warchaeology/v3/cmd/validate" + "github.com/nlnwa/warchaeology/v3/cmd/version" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/cmd/console/RecordWidget.go b/cmd/console/RecordWidget.go index e4ead794..5ce46a2e 100644 --- a/cmd/console/RecordWidget.go +++ b/cmd/console/RecordWidget.go @@ -7,7 +7,7 @@ import ( "github.com/awesome-gocui/gocui" "github.com/nlnwa/gowarc" - "github.com/nlnwa/warchaeology/cmd/internal/flag" + "github.com/nlnwa/warchaeology/v3/cmd/internal/flag" "github.com/spf13/viper" ) diff --git a/cmd/console/console.go b/cmd/console/console.go index f89ad0f9..33f7ef2f 100644 --- a/cmd/console/console.go +++ b/cmd/console/console.go @@ -9,7 +9,7 @@ import ( "github.com/awesome-gocui/gocui" "github.com/nlnwa/gowarc" - "github.com/nlnwa/warchaeology/cmd/internal/flag" + "github.com/nlnwa/warchaeology/v3/cmd/internal/flag" "github.com/spf13/cobra" ) diff --git a/cmd/console/records.go b/cmd/console/records.go index 09260631..179eb24f 100644 --- a/cmd/console/records.go +++ b/cmd/console/records.go @@ -10,7 +10,7 @@ import ( "github.com/awesome-gocui/gocui" "github.com/nlnwa/gowarc" - "github.com/nlnwa/warchaeology/cmd/internal/flag" + "github.com/nlnwa/warchaeology/v3/cmd/internal/flag" "github.com/spf13/viper" ) diff --git a/cmd/convert/arc/arc.go b/cmd/convert/arc/arc.go index 448dc02a..03b64368 100644 --- a/cmd/convert/arc/arc.go +++ b/cmd/convert/arc/arc.go @@ -10,18 +10,18 @@ import ( "syscall" "github.com/nlnwa/gowarc" - "github.com/nlnwa/warchaeology/arcreader" - "github.com/nlnwa/warchaeology/cmd/internal/flag" - "github.com/nlnwa/warchaeology/cmd/internal/log" - "github.com/nlnwa/warchaeology/internal/filewalker" - "github.com/nlnwa/warchaeology/internal/hooks" - "github.com/nlnwa/warchaeology/internal/index" - "github.com/nlnwa/warchaeology/internal/stat" - "github.com/nlnwa/warchaeology/internal/util" - "github.com/nlnwa/warchaeology/internal/version" - "github.com/nlnwa/warchaeology/internal/warc" - "github.com/nlnwa/warchaeology/internal/warcwriterconfig" - "github.com/nlnwa/warchaeology/internal/workerpool" + "github.com/nlnwa/warchaeology/v3/arcreader" + "github.com/nlnwa/warchaeology/v3/cmd/internal/flag" + "github.com/nlnwa/warchaeology/v3/cmd/internal/log" + "github.com/nlnwa/warchaeology/v3/internal/filewalker" + "github.com/nlnwa/warchaeology/v3/internal/hooks" + "github.com/nlnwa/warchaeology/v3/internal/index" + "github.com/nlnwa/warchaeology/v3/internal/stat" + "github.com/nlnwa/warchaeology/v3/internal/util" + "github.com/nlnwa/warchaeology/v3/internal/version" + "github.com/nlnwa/warchaeology/v3/internal/warc" + "github.com/nlnwa/warchaeology/v3/internal/warcwriterconfig" + "github.com/nlnwa/warchaeology/v3/internal/workerpool" "github.com/spf13/afero" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/cmd/convert/arc/arc_test.go b/cmd/convert/arc/arc_test.go index e998e34f..9f8c0e4e 100644 --- a/cmd/convert/arc/arc_test.go +++ b/cmd/convert/arc/arc_test.go @@ -5,7 +5,7 @@ import ( "path/filepath" "testing" - "github.com/nlnwa/warchaeology/internal/warcwriterconfig" + "github.com/nlnwa/warchaeology/v3/internal/warcwriterconfig" "github.com/spf13/afero" ) diff --git a/cmd/convert/convert.go b/cmd/convert/convert.go index 7a0efe81..50f7c4e3 100644 --- a/cmd/convert/convert.go +++ b/cmd/convert/convert.go @@ -1,9 +1,9 @@ package convert import ( - "github.com/nlnwa/warchaeology/cmd/convert/arc" - "github.com/nlnwa/warchaeology/cmd/convert/nedlib" - "github.com/nlnwa/warchaeology/cmd/convert/warc" + "github.com/nlnwa/warchaeology/v3/cmd/convert/arc" + "github.com/nlnwa/warchaeology/v3/cmd/convert/nedlib" + "github.com/nlnwa/warchaeology/v3/cmd/convert/warc" "github.com/spf13/cobra" ) diff --git a/cmd/convert/nedlib/nedlib.go b/cmd/convert/nedlib/nedlib.go index f08db4a6..7ec52568 100644 --- a/cmd/convert/nedlib/nedlib.go +++ b/cmd/convert/nedlib/nedlib.go @@ -10,19 +10,19 @@ import ( "syscall" "github.com/nlnwa/gowarc" - "github.com/nlnwa/warchaeology/cmd/internal/flag" - "github.com/nlnwa/warchaeology/cmd/internal/log" - "github.com/nlnwa/warchaeology/internal/filewalker" - "github.com/nlnwa/warchaeology/internal/hooks" - "github.com/nlnwa/warchaeology/internal/index" - "github.com/nlnwa/warchaeology/internal/stat" - "github.com/nlnwa/warchaeology/internal/time" - "github.com/nlnwa/warchaeology/internal/util" - "github.com/nlnwa/warchaeology/internal/version" - "github.com/nlnwa/warchaeology/internal/warc" - "github.com/nlnwa/warchaeology/internal/warcwriterconfig" - "github.com/nlnwa/warchaeology/internal/workerpool" - "github.com/nlnwa/warchaeology/nedlibreader" + "github.com/nlnwa/warchaeology/v3/cmd/internal/flag" + "github.com/nlnwa/warchaeology/v3/cmd/internal/log" + "github.com/nlnwa/warchaeology/v3/internal/filewalker" + "github.com/nlnwa/warchaeology/v3/internal/hooks" + "github.com/nlnwa/warchaeology/v3/internal/index" + "github.com/nlnwa/warchaeology/v3/internal/stat" + "github.com/nlnwa/warchaeology/v3/internal/time" + "github.com/nlnwa/warchaeology/v3/internal/util" + "github.com/nlnwa/warchaeology/v3/internal/version" + "github.com/nlnwa/warchaeology/v3/internal/warc" + "github.com/nlnwa/warchaeology/v3/internal/warcwriterconfig" + "github.com/nlnwa/warchaeology/v3/internal/workerpool" + "github.com/nlnwa/warchaeology/v3/nedlibreader" "github.com/spf13/afero" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/cmd/convert/nedlib/nedlib_test.go b/cmd/convert/nedlib/nedlib_test.go index ef43ad98..8f1eff8f 100644 --- a/cmd/convert/nedlib/nedlib_test.go +++ b/cmd/convert/nedlib/nedlib_test.go @@ -5,7 +5,7 @@ import ( "path/filepath" "testing" - "github.com/nlnwa/warchaeology/internal/warcwriterconfig" + "github.com/nlnwa/warchaeology/v3/internal/warcwriterconfig" "github.com/spf13/afero" ) diff --git a/cmd/convert/warc/warc.go b/cmd/convert/warc/warc.go index 5fe81799..7a67006a 100644 --- a/cmd/convert/warc/warc.go +++ b/cmd/convert/warc/warc.go @@ -10,16 +10,16 @@ import ( "syscall" "github.com/nlnwa/gowarc" - "github.com/nlnwa/warchaeology/cmd/internal/flag" - "github.com/nlnwa/warchaeology/cmd/internal/log" - "github.com/nlnwa/warchaeology/internal/filewalker" - "github.com/nlnwa/warchaeology/internal/hooks" - "github.com/nlnwa/warchaeology/internal/index" - "github.com/nlnwa/warchaeology/internal/stat" - "github.com/nlnwa/warchaeology/internal/util" - "github.com/nlnwa/warchaeology/internal/warc" - "github.com/nlnwa/warchaeology/internal/warcwriterconfig" - "github.com/nlnwa/warchaeology/internal/workerpool" + "github.com/nlnwa/warchaeology/v3/cmd/internal/flag" + "github.com/nlnwa/warchaeology/v3/cmd/internal/log" + "github.com/nlnwa/warchaeology/v3/internal/filewalker" + "github.com/nlnwa/warchaeology/v3/internal/hooks" + "github.com/nlnwa/warchaeology/v3/internal/index" + "github.com/nlnwa/warchaeology/v3/internal/stat" + "github.com/nlnwa/warchaeology/v3/internal/util" + "github.com/nlnwa/warchaeology/v3/internal/warc" + "github.com/nlnwa/warchaeology/v3/internal/warcwriterconfig" + "github.com/nlnwa/warchaeology/v3/internal/workerpool" "github.com/spf13/afero" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/cmd/convert/warc/warc_test.go b/cmd/convert/warc/warc_test.go index 4cae1f12..a26a8354 100644 --- a/cmd/convert/warc/warc_test.go +++ b/cmd/convert/warc/warc_test.go @@ -5,7 +5,7 @@ import ( "path/filepath" "testing" - "github.com/nlnwa/warchaeology/internal/warcwriterconfig" + "github.com/nlnwa/warchaeology/v3/internal/warcwriterconfig" "github.com/spf13/afero" ) diff --git a/cmd/dedup/dedup.go b/cmd/dedup/dedup.go index 8d00e2c3..6e8e6bd7 100644 --- a/cmd/dedup/dedup.go +++ b/cmd/dedup/dedup.go @@ -10,17 +10,17 @@ import ( "syscall" "github.com/nlnwa/gowarc" - "github.com/nlnwa/warchaeology/cmd/internal/flag" - "github.com/nlnwa/warchaeology/cmd/internal/log" - "github.com/nlnwa/warchaeology/internal/filewalker" - "github.com/nlnwa/warchaeology/internal/filter" - "github.com/nlnwa/warchaeology/internal/hooks" - "github.com/nlnwa/warchaeology/internal/index" - "github.com/nlnwa/warchaeology/internal/stat" - "github.com/nlnwa/warchaeology/internal/util" - "github.com/nlnwa/warchaeology/internal/warc" - "github.com/nlnwa/warchaeology/internal/warcwriterconfig" - "github.com/nlnwa/warchaeology/internal/workerpool" + "github.com/nlnwa/warchaeology/v3/cmd/internal/flag" + "github.com/nlnwa/warchaeology/v3/cmd/internal/log" + "github.com/nlnwa/warchaeology/v3/internal/filewalker" + "github.com/nlnwa/warchaeology/v3/internal/filter" + "github.com/nlnwa/warchaeology/v3/internal/hooks" + "github.com/nlnwa/warchaeology/v3/internal/index" + "github.com/nlnwa/warchaeology/v3/internal/stat" + "github.com/nlnwa/warchaeology/v3/internal/util" + "github.com/nlnwa/warchaeology/v3/internal/warc" + "github.com/nlnwa/warchaeology/v3/internal/warcwriterconfig" + "github.com/nlnwa/warchaeology/v3/internal/workerpool" "github.com/spf13/afero" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/cmd/internal/flag/filewalker_flags.go b/cmd/internal/flag/filewalker_flags.go index 6c920e90..ec87957b 100644 --- a/cmd/internal/flag/filewalker_flags.go +++ b/cmd/internal/flag/filewalker_flags.go @@ -3,7 +3,7 @@ package flag import ( "fmt" - "github.com/nlnwa/warchaeology/internal/filewalker" + "github.com/nlnwa/warchaeology/v3/internal/filewalker" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/cmd/internal/flag/filter_flags.go b/cmd/internal/flag/filter_flags.go index c336dd91..2ee2b819 100644 --- a/cmd/internal/flag/filter_flags.go +++ b/cmd/internal/flag/filter_flags.go @@ -9,7 +9,7 @@ import ( "strings" "github.com/nlnwa/gowarc" - "github.com/nlnwa/warchaeology/internal/filter" + "github.com/nlnwa/warchaeology/v3/internal/filter" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/cmd/internal/flag/hook_flags.go b/cmd/internal/flag/hook_flags.go index 6d740c89..bb32fcfd 100644 --- a/cmd/internal/flag/hook_flags.go +++ b/cmd/internal/flag/hook_flags.go @@ -1,7 +1,7 @@ package flag import ( - "github.com/nlnwa/warchaeology/internal/hooks" + "github.com/nlnwa/warchaeology/v3/internal/hooks" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/cmd/internal/flag/index_flags.go b/cmd/internal/flag/index_flags.go index 86e8667e..0a319bfd 100644 --- a/cmd/internal/flag/index_flags.go +++ b/cmd/internal/flag/index_flags.go @@ -6,7 +6,7 @@ import ( "path/filepath" "runtime" - "github.com/nlnwa/warchaeology/internal/index" + "github.com/nlnwa/warchaeology/v3/internal/index" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/cmd/internal/flag/source_file_flags.go b/cmd/internal/flag/source_file_flags.go index 98a9b155..7c6f8022 100644 --- a/cmd/internal/flag/source_file_flags.go +++ b/cmd/internal/flag/source_file_flags.go @@ -5,7 +5,7 @@ import ( "fmt" "os" - "github.com/nlnwa/warchaeology/internal/fs" + "github.com/nlnwa/warchaeology/v3/internal/fs" "github.com/spf13/afero" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/cmd/internal/flag/util_flags.go b/cmd/internal/flag/util_flags.go index 13d7165e..323a46bf 100644 --- a/cmd/internal/flag/util_flags.go +++ b/cmd/internal/flag/util_flags.go @@ -1,7 +1,7 @@ package flag import ( - "github.com/nlnwa/warchaeology/internal/util" + "github.com/nlnwa/warchaeology/v3/internal/util" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/cmd/internal/flag/warcwriterconfig_flags.go b/cmd/internal/flag/warcwriterconfig_flags.go index 2672e65c..0c242771 100644 --- a/cmd/internal/flag/warcwriterconfig_flags.go +++ b/cmd/internal/flag/warcwriterconfig_flags.go @@ -4,7 +4,7 @@ import ( "compress/gzip" "time" - "github.com/nlnwa/warchaeology/internal/warcwriterconfig" + "github.com/nlnwa/warchaeology/v3/internal/warcwriterconfig" "github.com/spf13/cobra" "github.com/spf13/viper" ) diff --git a/cmd/internal/log/log.go b/cmd/internal/log/log.go index 250261fd..0ca57b48 100644 --- a/cmd/internal/log/log.go +++ b/cmd/internal/log/log.go @@ -5,7 +5,7 @@ import ( "log/slog" "os" - "github.com/nlnwa/warchaeology/cmd/internal/flag" + "github.com/nlnwa/warchaeology/v3/cmd/internal/flag" ) func getWriter(w io.WriteCloser) (io.WriteCloser, error) { diff --git a/cmd/ls/ls.go b/cmd/ls/ls.go index 4aed4fd2..d7f81f6f 100644 --- a/cmd/ls/ls.go +++ b/cmd/ls/ls.go @@ -10,12 +10,12 @@ import ( "syscall" "github.com/nlnwa/gowarc" - "github.com/nlnwa/warchaeology/cmd/internal/flag" - "github.com/nlnwa/warchaeology/cmd/internal/log" - "github.com/nlnwa/warchaeology/internal/filewalker" - "github.com/nlnwa/warchaeology/internal/filter" - "github.com/nlnwa/warchaeology/internal/warc" - "github.com/nlnwa/warchaeology/internal/workerpool" + "github.com/nlnwa/warchaeology/v3/cmd/internal/flag" + "github.com/nlnwa/warchaeology/v3/cmd/internal/log" + "github.com/nlnwa/warchaeology/v3/internal/filewalker" + "github.com/nlnwa/warchaeology/v3/internal/filter" + "github.com/nlnwa/warchaeology/v3/internal/warc" + "github.com/nlnwa/warchaeology/v3/internal/workerpool" "github.com/spf13/afero" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/cmd/ls/recordwriter.go b/cmd/ls/recordwriter.go index 579d4460..70c1c6ca 100644 --- a/cmd/ls/recordwriter.go +++ b/cmd/ls/recordwriter.go @@ -10,9 +10,9 @@ import ( "strings" "github.com/nlnwa/gowarc" - "github.com/nlnwa/warchaeology/internal/time" - "github.com/nlnwa/warchaeology/internal/util" - "github.com/nlnwa/warchaeology/internal/warc" + "github.com/nlnwa/warchaeology/v3/internal/time" + "github.com/nlnwa/warchaeology/v3/internal/util" + "github.com/nlnwa/warchaeology/v3/internal/warc" ) type JSONWriter struct { diff --git a/cmd/validate/validate.go b/cmd/validate/validate.go index 367e820a..1a2a48d8 100644 --- a/cmd/validate/validate.go +++ b/cmd/validate/validate.go @@ -19,15 +19,15 @@ import ( "syscall" "github.com/nlnwa/gowarc" - "github.com/nlnwa/warchaeology/cmd/internal/flag" - "github.com/nlnwa/warchaeology/cmd/internal/log" - "github.com/nlnwa/warchaeology/internal/filewalker" - "github.com/nlnwa/warchaeology/internal/filter" - "github.com/nlnwa/warchaeology/internal/hooks" - "github.com/nlnwa/warchaeology/internal/index" - "github.com/nlnwa/warchaeology/internal/stat" - "github.com/nlnwa/warchaeology/internal/warc" - "github.com/nlnwa/warchaeology/internal/workerpool" + "github.com/nlnwa/warchaeology/v3/cmd/internal/flag" + "github.com/nlnwa/warchaeology/v3/cmd/internal/log" + "github.com/nlnwa/warchaeology/v3/internal/filewalker" + "github.com/nlnwa/warchaeology/v3/internal/filter" + "github.com/nlnwa/warchaeology/v3/internal/hooks" + "github.com/nlnwa/warchaeology/v3/internal/index" + "github.com/nlnwa/warchaeology/v3/internal/stat" + "github.com/nlnwa/warchaeology/v3/internal/warc" + "github.com/nlnwa/warchaeology/v3/internal/workerpool" "github.com/spf13/afero" "github.com/spf13/cobra" "github.com/spf13/viper" diff --git a/cmd/version/version.go b/cmd/version/version.go index 03cedfd4..a4c9e5cc 100644 --- a/cmd/version/version.go +++ b/cmd/version/version.go @@ -4,7 +4,7 @@ import ( "encoding/json" "fmt" - "github.com/nlnwa/warchaeology/internal/version" + "github.com/nlnwa/warchaeology/v3/internal/version" "github.com/spf13/cobra" "gopkg.in/yaml.v3" ) diff --git a/docs/gen_docs.go b/docs/gen_docs.go index 5a468655..fa3774be 100644 --- a/docs/gen_docs.go +++ b/docs/gen_docs.go @@ -9,7 +9,7 @@ import ( "strings" "time" - "github.com/nlnwa/warchaeology/cmd" + "github.com/nlnwa/warchaeology/v3/cmd" "github.com/spf13/cobra/doc" ) diff --git a/go.mod b/go.mod index 2c77f9b3..7bcb6a48 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/nlnwa/warchaeology +module github.com/nlnwa/warchaeology/v3 go 1.22 diff --git a/internal/filewalker/filewalker_test.go b/internal/filewalker/filewalker_test.go index bee007e8..b38f77df 100644 --- a/internal/filewalker/filewalker_test.go +++ b/internal/filewalker/filewalker_test.go @@ -4,7 +4,7 @@ import ( "path/filepath" "testing" - "github.com/nlnwa/warchaeology/internal/filewalker" + "github.com/nlnwa/warchaeology/v3/internal/filewalker" "github.com/spf13/afero" "github.com/stretchr/testify/assert" ) diff --git a/internal/filewalker/helpers.go b/internal/filewalker/helpers.go index 779192a5..7927c856 100644 --- a/internal/filewalker/helpers.go +++ b/internal/filewalker/helpers.go @@ -7,7 +7,7 @@ import ( "sync" "time" - workerPool "github.com/nlnwa/warchaeology/internal/workerpool" + workerPool "github.com/nlnwa/warchaeology/v3/internal/workerpool" ) func closePool(walker *FileWalker, pool *workerPool.WorkerPool, resultChan chan filewalker.Result, allResults *sync.WaitGroup, startTime time.Time, stats filewalker.Stats) { diff --git a/internal/filewalker/prepost.go b/internal/filewalker/prepost.go index aa4c3dc5..ed59b2d1 100644 --- a/internal/filewalker/prepost.go +++ b/internal/filewalker/prepost.go @@ -4,9 +4,9 @@ import ( "errors" "fmt" - "github.com/nlnwa/warchaeology/internal/hooks" - "github.com/nlnwa/warchaeology/internal/index" - "github.com/nlnwa/warchaeology/internal/stat" + "github.com/nlnwa/warchaeology/v3/internal/hooks" + "github.com/nlnwa/warchaeology/v3/internal/index" + "github.com/nlnwa/warchaeology/v3/internal/stat" ) // Preposterous runs a function on a file, and handles open and close input file hooks. diff --git a/internal/fs/fs.go b/internal/fs/fs.go index 9e967a88..07baef83 100644 --- a/internal/fs/fs.go +++ b/internal/fs/fs.go @@ -11,8 +11,8 @@ import ( "strings" "github.com/klauspost/compress/gzip" - "github.com/nlnwa/warchaeology/internal/ftpfs" - "github.com/nlnwa/warchaeology/internal/zipfs" + "github.com/nlnwa/warchaeology/v3/internal/ftpfs" + "github.com/nlnwa/warchaeology/v3/internal/zipfs" whatwgUrl "github.com/nlnwa/whatwg-url/url" "github.com/spf13/afero" "github.com/spf13/afero/tarfs" diff --git a/internal/index/digestindex.go b/internal/index/digestindex.go index 64329a27..9dc4d80a 100644 --- a/internal/index/digestindex.go +++ b/internal/index/digestindex.go @@ -7,7 +7,7 @@ import ( "github.com/dgraph-io/badger/v3" "github.com/nlnwa/gowarc" - "github.com/nlnwa/warchaeology/internal/util" + "github.com/nlnwa/warchaeology/v3/internal/util" ) const minIndexDiskFree = 1 * 1024 * 1024 diff --git a/internal/index/fileindex.go b/internal/index/fileindex.go index f664ea9a..2d260ed4 100644 --- a/internal/index/fileindex.go +++ b/internal/index/fileindex.go @@ -7,7 +7,7 @@ import ( "path/filepath" "github.com/dgraph-io/badger/v3" - "github.com/nlnwa/warchaeology/internal/stat" + "github.com/nlnwa/warchaeology/v3/internal/stat" ) type FileIndex struct { diff --git a/internal/util/utils_test.go b/internal/util/utils_test.go index 2c2455ca..6251e1e2 100644 --- a/internal/util/utils_test.go +++ b/internal/util/utils_test.go @@ -4,7 +4,7 @@ import ( "slices" "testing" - "github.com/nlnwa/warchaeology/internal/util" + "github.com/nlnwa/warchaeology/v3/internal/util" ) func TestContainsMatchOnMatching(t *testing.T) { diff --git a/internal/warc/iterator.go b/internal/warc/iterator.go index e2c57344..385499ae 100644 --- a/internal/warc/iterator.go +++ b/internal/warc/iterator.go @@ -7,7 +7,7 @@ import ( "io" "github.com/nlnwa/gowarc" - "github.com/nlnwa/warchaeology/internal/filter" + "github.com/nlnwa/warchaeology/v3/internal/filter" ) // Record represents a WARC record with additional metadata diff --git a/internal/warcwriterconfig/config.go b/internal/warcwriterconfig/config.go index e0da53ee..d4bd911f 100644 --- a/internal/warcwriterconfig/config.go +++ b/internal/warcwriterconfig/config.go @@ -8,8 +8,8 @@ import ( "time" "github.com/nlnwa/gowarc" - "github.com/nlnwa/warchaeology/internal/hooks" - "github.com/nlnwa/warchaeology/internal/util" + "github.com/nlnwa/warchaeology/v3/internal/hooks" + "github.com/nlnwa/warchaeology/v3/internal/util" ) const DefaultDateFormat = "2006-1-2" diff --git a/main.go b/main.go index b5002e38..50620300 100644 --- a/main.go +++ b/main.go @@ -1,8 +1,8 @@ package main import ( - "github.com/nlnwa/warchaeology/cmd" - cmdversion "github.com/nlnwa/warchaeology/internal/version" + "github.com/nlnwa/warchaeology/v3/cmd" + cmdversion "github.com/nlnwa/warchaeology/v3/internal/version" ) var (