You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In general, it is nice for software to have version numbers, and gofumpt is no exception.
Having versioning is particularly important because according to this comment, gofumpt would automatically be updated inside golangci-lint if it used version tags.
It would be nice if gofumpt would follow the same conventions that gci and other linters do, so that golangci-lint would be automatically updated. Even if you don't want to package up a proper release with a zip file or whatnot, it is my understanding that by simply tagging the latest commit on master with a version number, it will get the job done.
Thanks again for the tool.
The text was updated successfully, but these errors were encountered:
I have to say - it feels rather arbitrary that golangci-lint requires tags to automatically update. They could just as easily have a weekly or daily cron job that does a go get some-tool@latest and it would work just fine with tools which don't use tags.
That said, I have been thinking about using tags for a couple of months, simply because the project has grown in popularity and it makes stable usage and packaging easier.
This allows for versioned go get/install commands to bundle the module
version in the binary, then the version flag can print it as-is.
Prebuilt binaries will also include it via ldflags.
Not for gofumports, since its days are counted.
For #99.
Hello again,
In general, it is nice for software to have version numbers, and
gofumpt
is no exception.Having versioning is particularly important because according to this comment,
gofumpt
would automatically be updated insidegolangci-lint
if it used version tags.For example, by looking at the commit history for golangci-lint, we can see that one of the latest commits is an automatic commit by Dependabot for the
gci
linter. This is because thegci
linter uses git tags, which are listed here.It would be nice if
gofumpt
would follow the same conventions thatgci
and other linters do, so thatgolangci-lint
would be automatically updated. Even if you don't want to package up a proper release with a zip file or whatnot, it is my understanding that by simply tagging the latest commit on master with a version number, it will get the job done.Thanks again for the tool.
The text was updated successfully, but these errors were encountered: