Unify *-install
rules in Makefile #9
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/frostfs-qos#9
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
When working on #6, I noticed that the Makefile is missing a
goimports-install
rule. Currently, we have many similar rules*-install
for installing tools for linting and formatting. We usemake
to write simple shell scripts, even thoughmake
has great metaprogramming capabilities. For example:Possible problems
make
usersRefs TrueCloudLab/frostfs-node#389
This repo could serve as a prototype.
I would manage all tools in separate files, including them in
Makefile
.See https://git.frostfs.info/TrueCloudLab/basic/src/branch/master/mk
Makefile:
ci/gopls.mk:
ci/tool.mk:
Maybe we should move to go tool approach, where available?
go tool
requires go1.24, we could move this summerIn some cases (golanci-lint with plugins), research is required.