Add VSCode debug example #892

Merged
fyrchik merged 1 commits from dstepanov-yadro/frostfs-node:feat/devenv into master 2023-12-29 16:38:11 +00:00

Added example of the debug configuration for VSCode. I hope it will simplify newcomers life.

Added example of the debug configuration for VSCode. I hope it will simplify newcomers life.
dstepanov-yadro force-pushed feat/devenv from fb88c5f675 to 2b00ba74be 2023-12-29 11:19:51 +00:00 Compare
dstepanov-yadro requested review from storage-core-committers 2023-12-29 11:20:01 +00:00
dstepanov-yadro requested review from storage-core-developers 2023-12-29 11:20:04 +00:00
realloc reviewed 2023-12-29 11:33:36 +00:00
Makefile Outdated
@ -236,1 +239,4 @@
dh clean
locode-download:
@wget -q -O ./.cache/locode_db.gz 'https://git.frostfs.info/attachments/a2e8def7-52b6-49f1-89cd-a056712e8e54'

Would it be more efficient to have a variable pointing to a specific version, providing a way to override it, or possibly detecting the latest release available?

Would it be more efficient to have a variable pointing to a specific version, providing a way to override it, or possibly detecting the latest release available?
Poster
Collaborator

Fixed

Fixed
realloc reviewed 2023-12-29 11:33:46 +00:00
aarifullin approved these changes 2023-12-29 11:40:25 +00:00
aarifullin approved these changes 2023-12-29 11:40:31 +00:00
fyrchik reviewed 2023-12-29 11:49:07 +00:00
README.md Outdated
@ -79,0 +87,4 @@
```
/
├── src
   ├── frostfs-node

Gitea shows warnings for unprintable symbols, don'w we have just tabs here?

Gitea shows warnings for unprintable symbols, don'w we have just tabs here?
Poster
Collaborator

fixed

fixed
fyrchik marked this conversation as resolved
@ -0,0 +53,4 @@
"FROSTFS_TREE_ENABLED":"true",
"FROSTFS_OBJECT_DELETE_TOMBSTONE_LIFETIME":"10",
"FROSTFS_STORAGE_SHARD_0_WRITECACHE_ENABLED":"true",
"FROSTFS_STORAGE_SHARD_0_WRITECACHE_PATH":"${workspaceFolder}/.cache/storage/wc0",

Why is neo-go config in YAML, and IR/storage in ENV strings?

Why is neo-go config in YAML, and IR/storage in ENV strings?
Poster
Collaborator

This is done so that there are no unnecessary config files, but neo-go doesn't support env-configs.
Also developers can change storage-node and IR settings in .vscode/launch.json and this changes will not be committed.

This is done so that there are no unnecessary `config` files, but `neo-go` doesn't support env-configs. Also developers can change storage-node and IR settings in `.vscode/launch.json` and this changes will not be committed.
fyrchik marked this conversation as resolved
dstepanov-yadro force-pushed feat/devenv from 2b00ba74be to b736357266 2023-12-29 12:05:34 +00:00 Compare
dstepanov-yadro force-pushed feat/devenv from b736357266 to 80d7f19ccf 2023-12-29 12:24:32 +00:00 Compare
fyrchik approved these changes 2023-12-29 12:34:52 +00:00
@ -236,1 +240,4 @@
dh clean
locode-download:
@wget -q -O ./.cache/locode_db.gz 'https://git.frostfs.info/TrueCloudLab/frostfs-locode-db/releases/download/${LOCODE_DB_VERSION}/locode_db.gz'

Don't we also need to invoke frostfs-cli locode generate?

Don't we also need to invoke `frostfs-cli locode generate`?
Poster
Collaborator
This is done by: https://git.frostfs.info/TrueCloudLab/frostfs-locode-db/src/branch/master/Makefile
fyrchik marked this conversation as resolved
fyrchik approved these changes 2023-12-29 14:15:44 +00:00
fyrchik merged commit d5d3d8badb into master 2023-12-29 16:38:11 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
4 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#892
There is no content yet.