[#4] Synchronize with frostfs-node repository #5
No reviewers
Labels
No labels
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/basic#5
Loading…
Reference in a new issue
No description provided.
Delete branch "george.bartolomey/basic:sync-frostfs-node"
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?
Signed-off-by: George Bartolomey george@bh4.ru
Closes: #4
@ -34,0 +45,4 @@
noliteral:
target-methods : ["reportFlushError", "reportError"]
disable-packages: ["codes", "err", "res","exec"]
constants-package: "git.frostfs.info/TrueCloudLab/frostfs-node/internal/logs"
This relates only for
frostfs-node
repository@ -0,0 +25,4 @@
$(LINT_DIR)/golangci-lint run
# Run gofumpt
fumpt:
gofumpt
install step is also requiredAlso
staticcheck
andgopls
?Thank you for the remark. Done.
While we are here:
I expect
Makefile
to be different in each repo, there are many differences between the repositories.That being said we have TrueCloudLab/frostfs-node#389 where we would like to split our monstruous
Makefile
into multiple ones.I suggest to make a dir in this repo (
mk
) where we can storelint.mk
,gopls.mk
,staticcheck.mk
etc., while usinginclude gopls.mk
in the main Makefile. This way we can completely override the files we store here, while leaving theMakefile
untouched (here it could serve as an example).Note: I will rebase branch including fixups after agreement of PR.
@ -0,0 +28,4 @@
are the steps in details:
### Set up your Forgejo repository
Fork [FrostFS node upstream](https://git.frostfs.info/TrueCloudLab/basic) source
FrostFS node upstream
->FrostFS basic upstream
@ -0,0 +58,4 @@
After your code changes, make sure
- To add test cases for the new code.
- To run `make lint` and `make staticcheck-run`
No such targets in this repo.
What should I do? Delete this instructions or create Makefile?
I think delete this instructions
Done.
@ -0,0 +61,4 @@
- To run `make lint` and `make staticcheck-run`
- To squash your commits into a single commit or a series of logically separated
commits run `git rebase -i`. It's okay to force update your pull request.
- To run `make test` and `make all` completes.
No such targets in this repo.
@ -0,0 +14,4 @@
$(GOFUMPT_VERSION_DIR): fumpt-install
# Run gofumpt
fumpt: $(GOFUMPT_VERSION_DIR)
Does this mean that the installation will be performed at each
make fumpt
? If yes, then this is not correct: there should be no unnecessary network requests if they are not necessary.No, the installation will be performed only if
$(GOFUMPT_VERSION_DIR)
does not exist.@ -0,0 +15,4 @@
$(GOPLS_VERSION_DIR): gopls-install
# Run gopls
gopls-run: $(GOPLS_VERSION_DIR)
The same as for
fumpt
about installation.d9c750bd78
tod6acb1d1c0