Skip to content

Conversation

ldez
Copy link
Member

@ldez ldez commented Sep 26, 2025

The dirhash.HashDir function should technically be used on a packaged module, which is different than a repo source code.

I adapted the code to basically follow the same rule as a packaged module.

Fixes #6099

@ldez ldez added this to the v2-unreleased milestone Sep 26, 2025
@ldez ldez added the linter: custom About custom/private linters label Sep 26, 2025
@ldez ldez changed the title fix: ignore some files to hash the version fix: ignore some files to hash the version for custom build Sep 27, 2025
@ldez ldez added the bug Something isn't working label Sep 28, 2025
@ldez ldez merged commit faa618a into golangci:main Sep 28, 2025
18 checks passed
@ldez ldez deleted the fix/version-hash branch September 28, 2025 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working linter: custom About custom/private linters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hashing custom version directories takes a very long time then fails
2 participants