Synchronize with frostfs-node repository #4

Closed
opened 2024-07-12 08:08:13 +00:00 by george.bartolomey · 3 comments

frostfs-node is ahead of this repository. If we want to distribute basic template across all repositories, we need to pull changes from frostfs-node first.

frostfs-node is ahead of this repository. If we want to distribute `basic` template across all repositories, we need to pull changes from frostfs-node first.
Author
Member

Important differences:

  • gitlint removed
  • golangci-lint uses fixed version and runs via make lint
  • gofumpt added (runs via make fumpt)
  • go-staticcheck-repo-mod and go-mod-tidy added

How to transfer changes from frostfs-node, if we don't use Makefile in basic repo? Maybe, alternative method of installing local gofumpt and golangci-lint needed? Dedicated hidden make file (.linters.mk) or shell script?

Important differences: - `gitlint` removed - `golangci-lint` uses fixed version and runs via `make lint` - `gofumpt` added (runs via `make fumpt`) - `go-staticcheck-repo-mod` and `go-mod-tidy` added How to transfer changes from `frostfs-node`, if we don't use Makefile in basic repo? Maybe, alternative method of installing local `gofumpt` and `golangci-lint` needed? Dedicated hidden `make` file (`.linters.mk`) or shell script?
Owner

gitlint removed -- yes, we use DCO action on CI, it annoys us during development.
golanci-lint -- the version is pinned in repo, the target is shared. A separate makefile which we can just copy and then include in the main file is ok.

We can use Makefile here, this repo serves as a starting example.

gitlint removed -- yes, we use DCO action on CI, it annoys us during development. golanci-lint -- the version is pinned in repo, the target is shared. A separate makefile which we can just copy and then include in the main file is ok. We can use Makefile here, this repo serves as a _starting_ example.
Author
Member

@fyrchik, Is it worth applying these changes to basic?

@fyrchik, Is it worth applying these changes to basic?
george.bartolomey was assigned by realloc 2024-09-06 13:28:33 +00:00
potyarkin was assigned by realloc 2024-09-06 13:28:33 +00:00
Sign in to join this conversation.
No description provided.