From ba2c8d5b279a68710d0f64110ce2385230b5b39d Mon Sep 17 00:00:00 2001 From: royalcat Date: Mon, 20 Jan 2025 06:12:16 +0300 Subject: [PATCH] fix --- daemons/qbittorrent/go.mod | 75 +++++++++++++++++++++++++++++++++++++- daemons/rclone/go.mod | 2 - go.mod | 11 +++--- go.sum | 10 +++-- 4 files changed, 86 insertions(+), 12 deletions(-) diff --git a/daemons/qbittorrent/go.mod b/daemons/qbittorrent/go.mod index e7bc645..750eca4 100644 --- a/daemons/qbittorrent/go.mod +++ b/daemons/qbittorrent/go.mod @@ -1,3 +1,76 @@ module git.kmsign.ru/royalcat/tstor/daemons/qbittorrent -go 1.23.5 +require ( + git.kmsign.ru/royalcat/tstor v0.0.0-20250120021945-dfd0be3824e4 + github.com/anacrolix/torrent v1.46.0 + github.com/deckarep/golang-set/v2 v2.7.0 + github.com/google/go-github/v63 v63.0.0 + github.com/hashicorp/golang-lru/v2 v2.0.7 + github.com/iceber/iouring-go v0.0.0-20230403020409-002cfd2e2a90 + github.com/knadh/koanf/providers/structs v0.1.0 + github.com/knadh/koanf/v2 v2.1.2 + github.com/royalcat/btrgo v0.0.0-20240318160410-19bd27154450 + github.com/royalcat/ctxio v0.0.0-20240602084623-009bd79b3176 + github.com/stretchr/testify v1.10.0 + github.com/viccon/sturdyc v1.1.1 + go.opentelemetry.io/otel v1.34.0 + go.opentelemetry.io/otel/metric v1.34.0 + golang.org/x/sys v0.29.0 +) + +require ( + github.com/anacrolix/generics v0.0.3-0.20240902042256-7fb2702ef0ca // indirect + github.com/anacrolix/log v0.16.0 // indirect + github.com/anacrolix/missinggo v1.3.0 // indirect + github.com/anacrolix/missinggo/v2 v2.7.4 // indirect + github.com/bradfitz/iter v0.0.0-20191230175014-e8f45d346db8 // indirect + github.com/cespare/xxhash/v2 v2.3.0 // indirect + github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect + github.com/dgraph-io/badger/v4 v4.5.0 // indirect + github.com/dgraph-io/ristretto/v2 v2.0.0 // indirect + github.com/dustin/go-humanize v1.0.1 // indirect + github.com/fatih/structs v1.1.0 // indirect + github.com/go-git/go-billy/v5 v5.6.1 // indirect + github.com/go-logr/logr v1.4.2 // indirect + github.com/go-logr/stdr v1.2.2 // indirect + github.com/go-viper/mapstructure/v2 v2.2.1 // indirect + github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect + github.com/google/flatbuffers v24.3.25+incompatible // indirect + github.com/google/go-querystring v1.1.0 // indirect + github.com/gorilla/schema v1.4.1 // indirect + github.com/goware/singleflight v0.2.0 // indirect + github.com/huandu/xstrings v1.4.0 // indirect + github.com/klauspost/compress v1.17.11 // indirect + github.com/klauspost/cpuid/v2 v2.2.8 // indirect + github.com/knadh/koanf/maps v0.1.1 // indirect + github.com/mattn/go-colorable v0.1.13 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect + github.com/minio/sha256-simd v1.0.0 // indirect + github.com/mitchellh/copystructure v1.2.0 // indirect + github.com/mitchellh/reflectwalk v1.0.2 // indirect + github.com/mr-tron/base58 v1.2.0 // indirect + github.com/multiformats/go-multihash v0.2.3 // indirect + github.com/multiformats/go-varint v0.0.6 // indirect + github.com/pkg/errors v0.9.1 // indirect + github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect + github.com/rasky/go-xdr v0.0.0-20170124162913-1a41d1a06c93 // indirect + github.com/rs/zerolog v1.32.0 // indirect + github.com/samber/lo v1.47.0 // indirect + github.com/samber/slog-multi v1.0.2 // indirect + github.com/samber/slog-zerolog v1.0.0 // indirect + github.com/sourcegraph/conc v0.3.0 // indirect + github.com/spaolacci/murmur3 v1.1.0 // indirect + github.com/willscott/go-nfs-client v0.0.0-20240104095149-b44639837b00 // indirect + go.opencensus.io v0.24.0 // indirect + go.opentelemetry.io/auto/sdk v1.1.0 // indirect + go.opentelemetry.io/otel/trace v1.34.0 // indirect + go.uber.org/atomic v1.11.0 // indirect + go.uber.org/multierr v1.9.0 // indirect + golang.org/x/crypto v0.32.0 // indirect + golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8 // indirect + golang.org/x/net v0.34.0 // indirect + golang.org/x/text v0.21.0 // indirect + google.golang.org/protobuf v1.35.1 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect + lukechampine.com/blake3 v1.1.6 // indirect +) diff --git a/daemons/rclone/go.mod b/daemons/rclone/go.mod index bdec062..ad64765 100644 --- a/daemons/rclone/go.mod +++ b/daemons/rclone/go.mod @@ -1,7 +1,5 @@ module git.kmsign.ru/royalcat/tstor/daemons/rclone -go 1.23 - require ( git.kmsign.ru/royalcat/tstor v0.0.0-20241026221916-ff38d10fbfb3 github.com/rclone/rclone v1.68.1 diff --git a/go.mod b/go.mod index a131592..de78615 100644 --- a/go.mod +++ b/go.mod @@ -1,25 +1,22 @@ module git.kmsign.ru/royalcat/tstor -go 1.23.4 +go 1.23.5 replace github.com/iceber/iouring-go => github.com/royalcat/iouring-go v0.0.0-20240925200811-286062ac1b23 require ( + git.kmsign.ru/royalcat/tstor/daemons/qbittorrent v0.0.0-20250120021945-dfd0be3824e4 github.com/99designs/gqlgen v0.17.55 github.com/agoda-com/opentelemetry-go/otelslog v0.2.0 github.com/agoda-com/opentelemetry-logs-go v0.5.1 github.com/anacrolix/log v0.16.0 - github.com/anacrolix/torrent v1.58.0 github.com/billziss-gh/cgofuse v1.5.0 github.com/bodgit/sevenzip v1.5.1 github.com/cespare/xxhash/v2 v2.3.0 - github.com/creativecreature/sturdyc v1.0.6 - github.com/deckarep/golang-set/v2 v2.6.0 github.com/dgraph-io/badger/v4 v4.5.0 github.com/go-chi/stampede v0.6.0 github.com/go-git/go-billy/v5 v5.6.1 github.com/gofrs/uuid/v5 v5.1.0 - github.com/google/go-github/v63 v63.0.0 github.com/google/uuid v1.6.0 github.com/gorilla/schema v1.4.1 github.com/goware/singleflight v0.2.0 @@ -73,6 +70,7 @@ require ( github.com/anacrolix/generics v0.0.3-0.20240902042256-7fb2702ef0ca // indirect github.com/anacrolix/missinggo v1.3.0 // indirect github.com/anacrolix/missinggo/v2 v2.7.4 // indirect + github.com/anacrolix/torrent v1.58.1-0.20241228235504-75e6b6565845 // indirect github.com/andybalholm/brotli v1.1.0 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/bodgit/plumbing v1.3.0 // indirect @@ -82,6 +80,7 @@ require ( github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect github.com/cyphar/filepath-securejoin v0.3.6 // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect + github.com/deckarep/golang-set/v2 v2.6.0 // indirect github.com/dgraph-io/ristretto/v2 v2.0.0 // indirect github.com/dustin/go-humanize v1.0.1 // indirect github.com/fatih/structs v1.1.0 // indirect @@ -92,6 +91,7 @@ require ( github.com/golang-jwt/jwt v3.2.2+incompatible // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/google/flatbuffers v24.3.25+incompatible // indirect + github.com/google/go-github/v63 v63.0.0 // indirect github.com/google/go-querystring v1.1.0 // indirect github.com/gorilla/websocket v1.5.1 // indirect github.com/grafana/pyroscope-go/godeltaprof v0.1.8 // indirect @@ -129,6 +129,7 @@ require ( github.com/ulikunitz/xz v0.5.12 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect github.com/valyala/fasttemplate v1.2.2 // indirect + github.com/viccon/sturdyc v1.1.1 // indirect github.com/warpfork/go-errcat v0.0.0-20180917083543-335044ffc86e // indirect github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect go.opencensus.io v0.24.0 // indirect diff --git a/go.sum b/go.sum index f0ec064..4af0aa0 100644 --- a/go.sum +++ b/go.sum @@ -17,6 +17,8 @@ cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0Zeo crawshaw.io/iox v0.0.0-20181124134642-c51c3df30797/go.mod h1:sXBiorCo8c46JlQV3oXPKINnZ8mcqnye1EkVkqsectk= crawshaw.io/sqlite v0.3.2/go.mod h1:igAO5JulrQ1DbdZdtVq48mnZUBAPOeFzer7VhDWNtW4= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= +git.kmsign.ru/royalcat/tstor/daemons/qbittorrent v0.0.0-20250120021945-dfd0be3824e4 h1:qcV9w33ckdWG/4YC27Hohtw7bOxkwtxeALgJf8cqSj4= +git.kmsign.ru/royalcat/tstor/daemons/qbittorrent v0.0.0-20250120021945-dfd0be3824e4/go.mod h1:A1MjQvxzW3sO44K6Y+RaIrGPFSkvOxg+xI844/Th3uM= github.com/99designs/gqlgen v0.17.55 h1:3vzrNWYyzSZjGDFo68e5j9sSauLxfKvLp+6ioRokVtM= github.com/99designs/gqlgen v0.17.55/go.mod h1:3Bq768f8hgVPGZxL8aY9MaYmbxa6llPM/qu1IGH1EJo= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= @@ -63,8 +65,8 @@ github.com/anacrolix/stm v0.2.0/go.mod h1:zoVQRvSiGjGoTmbM0vSLIiaKjWtNPeTvXUSdJQ github.com/anacrolix/tagflag v0.0.0-20180109131632-2146c8d41bf0/go.mod h1:1m2U/K6ZT+JZG0+bdMK6qauP49QT4wE5pmhJXOKKCHw= github.com/anacrolix/tagflag v1.0.0/go.mod h1:1m2U/K6ZT+JZG0+bdMK6qauP49QT4wE5pmhJXOKKCHw= github.com/anacrolix/tagflag v1.1.0/go.mod h1:Scxs9CV10NQatSmbyjqmqmeQNwGzlNe0CMUMIxqHIG8= -github.com/anacrolix/torrent v1.58.0 h1:cZGqEEEXYVXKIwnPfS56udd2BRaCH2iMPpct6Ao+Z8U= -github.com/anacrolix/torrent v1.58.0/go.mod h1:n3SjHIE8oHXeH0Px0d5FXQ7cU4IgbEfTroen6B9KWJk= +github.com/anacrolix/torrent v1.58.1-0.20241228235504-75e6b6565845 h1:ZuYsqgbLCVJHHmYQKG6ImMtz+3hUOI1qvRJTuxTVEZY= +github.com/anacrolix/torrent v1.58.1-0.20241228235504-75e6b6565845/go.mod h1:n3SjHIE8oHXeH0Px0d5FXQ7cU4IgbEfTroen6B9KWJk= github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 h1:bvNMNQO63//z+xNgfBlViaCIJKLlCJ6/fmUseuG0wVQ= github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8= github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M= @@ -105,8 +107,6 @@ github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:ma github.com/cpuguy83/go-md2man/v2 v2.0.4 h1:wfIWP927BUkWJb2NmU/kNDYIBTh/ziUX91+lVfRxZq4= github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/creativecreature/sturdyc v1.0.6 h1:hSYm0j7L0Vug3ho8ozFKK9iihFMYgk/cOaQXmL2G/Ho= -github.com/creativecreature/sturdyc v1.0.6/go.mod h1:Qwi5+41ERVF0708Mymjrko+JlLnmJ2/T9Wb/Xsax3f4= github.com/cyphar/filepath-securejoin v0.3.6 h1:4d9N5ykBnSp5Xn2JkhocYDkOpURL/18CYMpo6xB9uWM= github.com/cyphar/filepath-securejoin v0.3.6/go.mod h1:Sdj7gXlvMcPZsbhwhQ33GguGLDGQL7h7bg04C/+u9jI= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -483,6 +483,8 @@ github.com/valyala/fasttemplate v1.2.2 h1:lxLXG0uE3Qnshl9QyaK6XJxMXlQZELvChBOCmQ github.com/valyala/fasttemplate v1.2.2/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= github.com/vektah/gqlparser/v2 v2.5.17 h1:9At7WblLV7/36nulgekUgIaqHZWn5hxqluxrxGUhOmI= github.com/vektah/gqlparser/v2 v2.5.17/go.mod h1:1lz1OeCqgQbQepsGxPVywrjdBHW2T08PUS3pJqepRww= +github.com/viccon/sturdyc v1.1.1 h1:ZrAdlQHDhkE2zwTLH/948vKCuaEOXGP3ezKDWh8xOHw= +github.com/viccon/sturdyc v1.1.1/go.mod h1:OCBEgG/i48uugKQ498UQlfMHmf5j8MYY8a4BApfVnMo= github.com/warpfork/go-errcat v0.0.0-20180917083543-335044ffc86e h1:FIB2fi7XJGHIdf5rWNsfFQqatIKxutT45G+wNuMQNgs= github.com/warpfork/go-errcat v0.0.0-20180917083543-335044ffc86e/go.mod h1:/qe02xr3jvTUz8u/PV0FHGpP8t96OQNP7U9BJMwMLEw= github.com/warpfork/go-wish v0.0.0-20200122115046-b9ea61034e4a/go.mod h1:x6AKhvSSexNrVSrViXSHUEbICjmGXhtgABaHIySUSGw=