Skip to content

Commit

Permalink
Merge pull request #317 from SiaFoundation/chris/restructure
Browse files Browse the repository at this point in the history
Move stores package out of internal
  • Loading branch information
peterjan authored Apr 27, 2023
2 parents 2b7e03a + ae9cb34 commit 021f623
Show file tree
Hide file tree
Showing 27 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion autopilot/accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"go.opentelemetry.io/otel/codes"
"go.sia.tech/core/types"
"go.sia.tech/renterd/api"
"go.sia.tech/renterd/internal/tracing"
"go.sia.tech/renterd/tracing"
"go.uber.org/zap"
)

Expand Down
2 changes: 1 addition & 1 deletion autopilot/autopilot.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
"go.sia.tech/jape"
"go.sia.tech/renterd/api"
"go.sia.tech/renterd/hostdb"
"go.sia.tech/renterd/internal/tracing"
"go.sia.tech/renterd/object"
"go.sia.tech/renterd/tracing"
"go.sia.tech/renterd/wallet"
"go.uber.org/zap"
"lukechampine.com/frand"
Expand Down
2 changes: 1 addition & 1 deletion autopilot/contractor.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"go.sia.tech/core/types"
"go.sia.tech/renterd/api"
"go.sia.tech/renterd/hostdb"
"go.sia.tech/renterd/internal/tracing"
"go.sia.tech/renterd/tracing"
"go.sia.tech/renterd/wallet"
"go.sia.tech/renterd/worker"
"go.uber.org/zap"
Expand Down
2 changes: 1 addition & 1 deletion autopilot/migrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"sync"

"go.sia.tech/renterd/api"
"go.sia.tech/renterd/internal/tracing"
"go.sia.tech/renterd/tracing"
"go.uber.org/zap"
)

Expand Down
2 changes: 1 addition & 1 deletion bus/bus.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import (
"go.sia.tech/jape"
"go.sia.tech/renterd/api"
"go.sia.tech/renterd/hostdb"
"go.sia.tech/renterd/internal/tracing"
"go.sia.tech/renterd/object"
"go.sia.tech/renterd/tracing"
"go.sia.tech/renterd/wallet"
"go.uber.org/zap"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/renterd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"go.sia.tech/renterd/build"
"go.sia.tech/renterd/bus"
"go.sia.tech/renterd/internal/node"
"go.sia.tech/renterd/internal/stores"
"go.sia.tech/renterd/internal/tracing"
"go.sia.tech/renterd/stores"
"go.sia.tech/renterd/tracing"
"go.sia.tech/renterd/wallet"
"go.sia.tech/renterd/worker"
"golang.org/x/term"
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,6 @@ go.sia.tech/mux v1.2.0 h1:ofa1Us9mdymBbGMY2XH/lSpY8itFsKIo/Aq8zwe+GHU=
go.sia.tech/mux v1.2.0/go.mod h1:Yyo6wZelOYTyvrHmJZ6aQfRoer3o4xyKQ4NmQLJrBSo=
go.sia.tech/siad v1.5.10-0.20230228235644-3059c0b930ca h1:aZMg2AKevn7jKx+wlusWQfwSM5pNU9aGtRZme29q3O4=
go.sia.tech/siad v1.5.10-0.20230228235644-3059c0b930ca/go.mod h1:h/1afFwpxzff6/gG5i1XdAgPK7dEY6FaibhK7N5F86Y=
go.sia.tech/web/renterd v0.12.0 h1:Ic9MTgBh9rInUEqUPYTYQZa3LcVHgRrEy23pxJmOAyQ=
go.sia.tech/web/renterd v0.12.0/go.mod h1:jr4PVQW1KU8JpAzmJRfFecDeJ5SPIRrKM3OKZ+FvGvE=
go.sia.tech/web/renterd v0.13.0 h1:wG02yiwrS5PPCELHlPMqZ5sMO0+11V6T73941mJrfqY=
go.sia.tech/web/renterd v0.13.0/go.mod h1:jr4PVQW1KU8JpAzmJRfFecDeJ5SPIRrKM3OKZ+FvGvE=
go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
Expand Down
2 changes: 1 addition & 1 deletion internal/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"go.sia.tech/core/types"
"go.sia.tech/renterd/autopilot"
"go.sia.tech/renterd/bus"
"go.sia.tech/renterd/internal/stores"
"go.sia.tech/renterd/stores"
"go.sia.tech/renterd/wallet"
"go.sia.tech/renterd/worker"
"go.sia.tech/siad/modules"
Expand Down
2 changes: 1 addition & 1 deletion internal/testing/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"go.sia.tech/renterd/autopilot"
"go.sia.tech/renterd/bus"
"go.sia.tech/renterd/internal/node"
"go.sia.tech/renterd/internal/stores"
"go.sia.tech/renterd/stores"
"go.uber.org/zap"
"gorm.io/gorm"
"lukechampine.com/frand"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion worker/sessionpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

rhpv2 "go.sia.tech/core/rhp/v2"
"go.sia.tech/core/types"
"go.sia.tech/renterd/internal/tracing"
"go.sia.tech/renterd/tracing"
)

func (s *Session) appendSector(ctx context.Context, sector *[rhpv2.SectorSize]byte, currentHeight uint64) (types.Hash256, error) {
Expand Down
2 changes: 1 addition & 1 deletion worker/spending.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"go.sia.tech/core/types"
"go.sia.tech/renterd/api"
"go.sia.tech/renterd/internal/tracing"
"go.sia.tech/renterd/tracing"
"go.uber.org/zap"
)

Expand Down
2 changes: 1 addition & 1 deletion worker/transfer.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
rhpv2 "go.sia.tech/core/rhp/v2"
"go.sia.tech/core/types"
"go.sia.tech/renterd/api"
"go.sia.tech/renterd/internal/tracing"
"go.sia.tech/renterd/object"
"go.sia.tech/renterd/tracing"
"go.uber.org/zap"
"lukechampine.com/frand"
)
Expand Down
2 changes: 1 addition & 1 deletion worker/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ import (
"go.sia.tech/jape"
"go.sia.tech/renterd/api"
"go.sia.tech/renterd/hostdb"
"go.sia.tech/renterd/internal/tracing"
"go.sia.tech/renterd/metrics"
"go.sia.tech/renterd/object"
"go.sia.tech/renterd/tracing"
"go.sia.tech/siad/modules"
"go.uber.org/zap"
"golang.org/x/crypto/blake2b"
Expand Down

0 comments on commit 021f623

Please sign in to comment.