Local tool for building database file #7

Closed
opened 2024-01-22 08:22:15 +00:00 by realloc · 1 comment
Owner

The current process of generating the database relies on the availability of the 'frostfs-cli' binary. This can be inconvenient when everything is being built in parallel, as the 'locode-db' may depend on 'frostfs-node' and vice versa. This interdependency can lead to issues and inefficiencies in the build process. Also, in isolated environments it may be challenging to get externally build binary.

Describe the solution you'd like

I suggest adding a small tool for building locode-db to the repository. The tool should utilize the same code module as frostfs-cli to ensure consistency. In cases where frostfs-cli is not available during build time, the make target should build a local tool and process the database using it.

## Is your feature request related to a problem? Please describe. The current process of generating the database relies on the availability of the 'frostfs-cli' binary. This can be inconvenient when everything is being built in parallel, as the 'locode-db' may depend on 'frostfs-node' and vice versa. This interdependency can lead to issues and inefficiencies in the build process. Also, in isolated environments it may be challenging to get externally build binary. ## Describe the solution you'd like I suggest adding a small tool for building `locode-db` to the repository. The tool should utilize the same code module as `frostfs-cli` to ensure consistency. In cases where `frostfs-cli` is not available during build time, the make target should build a local tool and process the database using it.
realloc added the
help wanted
good first issue
Infrastructure
labels 2024-01-22 08:22:15 +00:00
fyrchik changed title from Local tool for building databsase file to Local tool for building database file 2024-01-24 17:13:51 +00:00

Would you like to reuse frostfs-node/cmd/frostfs-cli/modules/util code, but not the frostfs-cli binary entirely?

Would you like to reuse [frostfs-node/cmd/frostfs-cli/modules/util](https://git.frostfs.info/TrueCloudLab/frostfs-node/src/branch/master/cmd/frostfs-cli/modules/util) code, but not the frostfs-cli binary entirely?
realloc referenced this issue from a commit 2024-07-16 10:09:11 +00:00
realloc referenced this issue from a commit 2024-07-16 10:09:11 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 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-locode-db#7
No description provided.