[#7] Add local tool for building database file #11
No reviewers
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
6 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-locode-db#11
Loading…
Reference in a new issue
No description provided.
Delete branch "george.bartolomey/frostfs-locode-db:feature-local-util"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added frostfs-locode-db utility that can generate and view database
file. Interdependency between frostfs-node and frostfs-locode-db
eliminated. Now it is possible to generate database file by just typing
the make command. Go package
git.frostfs.info/TrueCloudLab/frostfs-node/pkg/util/locode copied to this
repository.
Signed-off-by: George Bartolomey george@bh4.ru
Closes: #7
Please break it into several commits.
40e1ea859b
to998cc3786f
Done.
@ -0,0 +23,4 @@
## Development Workflow
Start by forking the `frostfs-node` repository, make changes in a branch and then
Need to fix repository name.
Fixed.
@ -0,0 +3,4 @@
First, thank you for contributing! We love and encourage pull requests from
everyone. Please follow the guidelines:
- Check the open [issues](https://git.frostfs.info/TrueCloudLab/frostfs-node/issues) and
frostfs-node -> frostfs-locode-db
Need to do the same changes for the
pull requests
too.I fixed that.
@ -43,11 +43,11 @@ $ make
Then run frost-cli command to generate boltDB file.
frost-cli
->frostfs-locode-db
boltDB file
->UN/LOCODE database
Updated.
@ -71,7 +71,7 @@ $ ./frostfs-cli util locode generate \
You can test generated database with `frostfs-cli`.
frostfs-cli
->frostfs-locode-db
Done.
998cc3786f
tob240cb937a
@ -0,0 +1,21 @@
module git.frostfs.info/TrueCloudLab/frostfs-locode-db
go 1.22.4
Let's use the same version as in
frostfs-node
repo.Thank you, I fixed it.
Oh, in README.md i found the requirement of Go 1.22.4.
Could you be so kind to reflect in the commit message that this code moved from
frostfs-node
.b240cb937a
to066cfc3e8b
066cfc3e8b
to9e53f4d88c
9e53f4d88c
to65761deb5c