[#1259] Remove locode package and add frostfs-locode-db dependency #1260

Merged
fyrchik merged 1 commit from george.bartolomey/frostfs-node:locode into master 2024-09-04 19:51:10 +00:00

Moved locode package to frostfs-locode-db repository. frostfs-node will depend on frostfs-locode-db.

  • Removed pkg/util/locode
  • Removed cmd/frostfs-cli/modules/util/locode*
  • Replaced git.frostfs.info/TrueCloudLab/frostfs-node/pkg/util/locode -> git.frostfs.info/TrueCloudLab/frostfs-locode-db/pkg/locode
  • Updated go.mod and go.sum

Closes: #1259

Moved locode package to frostfs-locode-db repository. frostfs-node will depend on frostfs-locode-db. * Removed `pkg/util/locode` * Removed `cmd/frostfs-cli/modules/util/locode*` * Replaced `git.frostfs.info/TrueCloudLab/frostfs-node/pkg/util/locode` -> `git.frostfs.info/TrueCloudLab/frostfs-locode-db/pkg/locode` * Updated go.mod and go.sum Closes: #1259
fyrchik requested changes 2024-07-22 08:34:25 +00:00
fyrchik left a comment
Owner

Regarding commit messages:

[#1259] Remove locode utility -> [#1259] cli: Remove locode subcommand

Regarding commit messages: `[#1259] Remove locode utility` -> `[#1259] cli: Remove locode subcommand`
go.mod Outdated
@ -35,3 +35,3 @@
github.com/ssgreg/journald v1.0.0
github.com/stretchr/testify v1.9.0
go.etcd.io/bbolt v1.3.9
go.etcd.io/bbolt v1.3.10
Owner

This dependency is important, it is better not to update it now (separate test needed).

This dependency is important, it is better not to update it now (separate test needed).
Author
Member

Ok, I fixed that.

Ok, I fixed that.
george.bartolomey marked this conversation as resolved
george.bartolomey force-pushed locode from 7a935c6dfa to db705f77c4 2024-07-22 09:25:43 +00:00 Compare
Author
Member

Regarding commit messages:

[#1259] Remove locode utility -> [#1259] cli: Remove locode subcommand

@fyrchik, changed.

> Regarding commit messages: > > `[#1259] Remove locode utility` -> `[#1259] cli: Remove locode subcommand` @fyrchik, changed.
george.bartolomey requested review from fyrchik 2024-07-22 10:53:53 +00:00
fyrchik requested review from storage-core-committers 2024-07-22 11:27:40 +00:00
fyrchik requested review from storage-core-developers 2024-07-22 11:27:52 +00:00
dstepanov-yadro approved these changes 2024-07-22 11:34:31 +00:00
achuprov approved these changes 2024-07-22 11:46:41 +00:00
george.bartolomey force-pushed locode from c8b1a75aea to 381f55f28c 2024-07-22 11:47:52 +00:00 Compare
Author
Member

I fixed conflict with master.

I fixed conflict with master.
Owner

@george.bartolomey Currently, we are trying to stabilise master branch. The PR looks OK, but I will postpone merging it a bit (will merge in a few days).

@george.bartolomey Currently, we are trying to stabilise master branch. The PR looks OK, but I will postpone merging it a bit (will merge in a few days).
fyrchik reviewed 2024-07-22 12:43:14 +00:00
go.mod Outdated
@ -30,3 +30,3 @@
github.com/prometheus/client_golang v1.19.0
github.com/spf13/cast v1.6.0
github.com/spf13/cobra v1.8.0
github.com/spf13/cobra v1.8.1
Owner

Speaking of other dependencies too -- do you have any specific reason for update?

Speaking of other dependencies too -- do you have any specific reason for update?
Author
Member

go mod tidy changes version of these dependencies.

frostfs-locode-db has newer version of packages. Could we downgrade these packages in frostfs-locode-db module?

`go mod tidy` changes version of these dependencies. frostfs-locode-db has newer version of packages. Could we downgrade these packages in frostfs-locode-db module?
Owner

ok, not that important, let's leave as is.

ok, not that important, let's leave as is.
Owner

I will update in another PR, let's rebase this one after.

I will update in another PR, let's rebase this one after.
george.bartolomey force-pushed locode from 381f55f28c to 3432bc4351 2024-07-22 14:15:56 +00:00 Compare
aarifullin approved these changes 2024-07-23 06:43:34 +00:00
george.bartolomey force-pushed locode from 3432bc4351 to 92d9f3c4b5 2024-07-23 08:00:26 +00:00 Compare
Owner

@george.bartolomey #1264 was merged, could you rebase on master, so that I could merge this PR?

@george.bartolomey https://git.frostfs.info/TrueCloudLab/frostfs-node/pulls/1264 was merged, could you rebase on master, so that I could merge this PR?
george.bartolomey force-pushed locode from 92d9f3c4b5 to 4ef96fd068 2024-07-23 09:54:03 +00:00 Compare
Author
Member

@george.bartolomey #1264 was merged, could you rebase on master, so that I could merge this PR?

@fyrchik, done! Please, check.

> @george.bartolomey https://git.frostfs.info/TrueCloudLab/frostfs-node/pulls/1264 was merged, could you rebase on master, so that I could merge this PR? @fyrchik, done! Please, check.
george.bartolomey force-pushed locode from 4ef96fd068 to f614948671 2024-07-23 11:11:53 +00:00 Compare
Owner

Please, look at the pre-commit action -- https://git.frostfs.info/TrueCloudLab/frostfs-node/actions/runs/9431/jobs/0
It seems go mod tidy needs to be run.

Please, look at the pre-commit action -- https://git.frostfs.info/TrueCloudLab/frostfs-node/actions/runs/9431/jobs/0 It seems `go mod tidy` needs to be run.
george.bartolomey force-pushed locode from f614948671 to d3126504e3 2024-07-23 11:58:27 +00:00 Compare
george.bartolomey force-pushed locode from d3126504e3 to 9c2c76ca32 2024-07-23 11:59:38 +00:00 Compare
Author
Member

@fyrchik, fixed.

@fyrchik, fixed.
fyrchik merged commit 9c2c76ca32 into master 2024-07-23 12:56:09 +00:00
Owner

@george.bartolomey Thanks for your contribution!

@george.bartolomey Thanks for your contribution!
george.bartolomey deleted branch locode 2024-07-23 14:51:26 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
5 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1260
No description provided.