- Aug 14, 2024
-
-
Shengjing Zhu authored
-
Shengjing Zhu authored
Update to upstream version '2024.1' with Debian dir 29d3f9627c62e199d0cd1ba201f82ea9847e1d47
-
Shengjing Zhu authored
-
- Aug 13, 2024
-
-
Shengjing Zhu authored
-
Shengjing Zhu authored
-
Dominik Honnef authored
-
Dominik Honnef authored
-
Shengjing Zhu authored
-
Dominik Honnef authored
Closes: gh-1582 (cherry picked from commit 06d3e3e4b67b699e4e97993c51529b20097e537b)
-
Dominik Honnef authored
(cherry picked from commit 4a7ea0e540d6d861d1e0971b0f583496ff35b31c)
-
Shengjing Zhu authored
Drop 0001-Add-loong64-support-for-test-file.patch (applied)
-
Shengjing Zhu authored
-
Shengjing Zhu authored
Update to upstream version '2024.1~rc1' with Debian dir 273432893cb6316bc94df77833f8b84c88654418
-
- Jul 08, 2024
-
-
Dominik Honnef authored
In d074ce03 we stopped dropping objects with blank names on the floor. However, we forgot to actually build functions with blank names, therefore exposing malformed Function objects to users of go/ir. Closes: gh-1572 (cherry picked from commit d0a0c6521c9caf7ab90e19205990ebba45cee788)
-
- Jul 01, 2024
-
-
Dominik Honnef authored
-
Dominik Honnef authored
-
Dominik Honnef authored
-
Dominik Honnef authored
Even though Go 1.21 and newer interpret "go" in go.mod files to mean a minimum requirement, users may still be working with older versions of Go, or outside of Go modules. For them, the flag is still useful.
-
Dominik Honnef authored
Same reasoning as in previous commit.
-
Dominik Honnef authored
checks.json is a generated file. We initially committed it so that `hugo serve` would work without any preceding build steps. However, the file is almost always out of date because we don't update it when adding new checks. Furthermore, the required build step is trivial and only requires Go.
-
Dominik Honnef authored
-
Dominik Honnef authored
Updating to newer versions of Hugo requires updating to newer versions of Docsy, which requires updating to Bootstrap 5. All of them contain backwards incompatible changes. We're not interested in dealing with that.
-
Dominik Honnef authored
-
- Jun 30, 2024
-
-
Dominik Honnef authored
-
Dominik Honnef authored
-
- Jun 29, 2024
-
-
Dominik Honnef authored
-
Dominik Honnef authored
A lot of bugs or version incompatibilities presented themselves by failing to find an object for an identifier. Theoretically this should no longer be possible as of the previous commit, but to be safe instead of sorry, we keep the more descriptive panics we added during debugging.
-
Dominik Honnef authored
-
- Jun 28, 2024
-
-
Dominik Honnef authored
In 146a4562 we removed handling of errors.As. Update the documentation to reflect that.
-
- Jun 24, 2024
-
-
Dominik Honnef authored
-
Dominik Honnef authored
Go 1.22.0 has a bug in interpreting very old Go versions in go.mod files, which breaks our tests.
-
Dominik Honnef authored
-
Dominik Honnef authored
-
guangwu authored
Closes: gh-1492 [via git-merge-pr]
-
seiya authored
Closes: gh-1448 [via git-merge-pr]
-
Dominik Honnef authored
Be more strict about what we consider an incorrect compiler directive. Notably, compiler directives (other than //line) can't occur in block comments or in columns other than 1. Furthermore, comments that start with "go: " probably talk about Go.
-
Eric Chlebek authored
This commit adds SA9009, a check that looks for ineffectual Go compiler directives. The check flags comments that appear to be valid Go compiler directives, but have tabs or spaces between the start of the comment block and the directive itself. Signed-off-by:
Eric Chlebek <eric@sensu.io> Closes: gh-1120 Closes: gh-1480
-
- Jun 21, 2024
-
-
Dominik Honnef authored
Closes: gh-1564
-
Dominik Honnef authored
Closes: gh-1560
-
- Jun 16, 2024
-
-
Dominik Honnef authored
errors.As(err, io.EOF) is even more wrong than errors.As(io.EOF, err), so we shouldn't suggest replacing the latter with the former. errors.As(io.EOF, &err) might make some sense, even. go vet already catches most misuses of errors.As, whenever the second argument isn't a pointer.
-