Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package golangci-lint for openSUSE:Factory checked in at 2025-03-18 17:41:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/golangci-lint (Old) and /work/SRC/openSUSE:Factory/.golangci-lint.new.19136 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golangci-lint" Tue Mar 18 17:41:48 2025 rev:32 rq:1253951 version:1.64.8 Changes: -------- --- /work/SRC/openSUSE:Factory/golangci-lint/golangci-lint.changes 2025-03-15 16:17:35.383856402 +0100 +++ /work/SRC/openSUSE:Factory/.golangci-lint.new.19136/golangci-lint.changes 2025-03-18 17:43:47.655800469 +0100 @@ -1,0 +2,8 @@ +Mon Mar 17 21:11:58 UTC 2025 - Jeff Kowalczyk <jkowalc...@suse.com> + +- Update to version 1.64.8: + * fix: check version of the configuration (#5564) + * docs: update documentation assets (#5527) + * docs: update GitHub Action assets (#5528) + +------------------------------------------------------------------- Old: ---- golangci-lint-1.64.7.tar.xz New: ---- golangci-lint-1.64.8.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ golangci-lint.spec ++++++ --- /var/tmp/diff_new_pack.RjCDAT/_old 2025-03-18 17:43:48.311827994 +0100 +++ /var/tmp/diff_new_pack.RjCDAT/_new 2025-03-18 17:43:48.311827994 +0100 @@ -17,7 +17,7 @@ Name: golangci-lint -Version: 1.64.7 +Version: 1.64.8 Release: 0 Summary: A fast Go linters runner License: GPL-3.0-only ++++++ _service ++++++ --- /var/tmp/diff_new_pack.RjCDAT/_old 2025-03-18 17:43:48.371830512 +0100 +++ /var/tmp/diff_new_pack.RjCDAT/_new 2025-03-18 17:43:48.371830512 +0100 @@ -3,7 +3,7 @@ <param name="scm">git</param> <param name="url">https://github.com/golangci/golangci-lint.git</param> <param name="exclude">.git</param> - <param name="revision">v1.64.7</param> + <param name="revision">v1.64.8</param> <param name="versionformat">@PARENT_TAG@</param> <param name="filename">golangci-lint</param> <param name="versionrewrite-pattern">v(.*)</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.RjCDAT/_old 2025-03-18 17:43:48.395831519 +0100 +++ /var/tmp/diff_new_pack.RjCDAT/_new 2025-03-18 17:43:48.399831687 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/golangci/golangci-lint.git</param> - <param name="changesrevision">8cffdb7d21e5b2b89f163f70c60ac9686c9d6180</param></service></servicedata> + <param name="changesrevision">8b37f14162043f908949f1b363d061dc9ba713c0</param></service></servicedata> (No newline at EOF) ++++++ golangci-lint-1.64.7.tar.xz -> golangci-lint-1.64.8.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/golangci-lint-1.64.7/CHANGELOG.md new/golangci-lint-1.64.8/CHANGELOG.md --- old/golangci-lint-1.64.7/CHANGELOG.md 2025-03-10 21:28:25.000000000 +0100 +++ new/golangci-lint-1.64.8/CHANGELOG.md 2025-03-17 17:54:02.000000000 +0100 @@ -7,6 +7,16 @@ [](https://opencollective.com/golangci-lint) [](https://github.com/sponsors/golangci) +### v1.64.7 + +1. Linters bug fixes + * `depguard`: from 2.2.0 to 2.2.1 + * `dupl`: from 3e9179ac440a to f665c8d69b32 + * `gosec`: from 2.22.1 to 2.22.2 + * `staticcheck`: from 0.6.0 to 0.6.1 +2. Documentation + * Add GitLab documentation + ### v1.64.6 1. Linters bug fixes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/golangci-lint-1.64.7/assets/github-action-config-v1.json new/golangci-lint-1.64.8/assets/github-action-config-v1.json --- old/golangci-lint-1.64.7/assets/github-action-config-v1.json 2025-03-10 21:28:25.000000000 +0100 +++ new/golangci-lint-1.64.8/assets/github-action-config-v1.json 2025-03-17 17:54:02.000000000 +0100 @@ -1,7 +1,7 @@ { "MinorVersionToConfig": { "latest": { - "TargetVersion": "v1.64.6" + "TargetVersion": "v1.64.7" }, "v1.10": { "Error": "golangci-lint version 'v1.10' isn't supported: we support only v1.28.3 and later versions" @@ -178,7 +178,7 @@ "TargetVersion": "v1.63.4" }, "v1.64": { - "TargetVersion": "v1.64.6" + "TargetVersion": "v1.64.7" }, "v1.7": { "Error": "golangci-lint version 'v1.7' isn't supported: we support only v1.28.3 and later versions" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/golangci-lint-1.64.7/assets/github-action-config.json new/golangci-lint-1.64.8/assets/github-action-config.json --- old/golangci-lint-1.64.7/assets/github-action-config.json 2025-03-10 21:28:25.000000000 +0100 +++ new/golangci-lint-1.64.8/assets/github-action-config.json 2025-03-17 17:54:02.000000000 +0100 @@ -1,7 +1,7 @@ { "MinorVersionToConfig": { "latest": { - "TargetVersion": "v1.64.6" + "TargetVersion": "v1.64.7" }, "v1.10": { "Error": "golangci-lint version 'v1.10' isn't supported: we support only v1.28.3 and later versions" @@ -178,7 +178,7 @@ "TargetVersion": "v1.63.4" }, "v1.64": { - "TargetVersion": "v1.64.6" + "TargetVersion": "v1.64.7" }, "v1.7": { "Error": "golangci-lint version 'v1.7' isn't supported: we support only v1.28.3 and later versions" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/golangci-lint-1.64.7/assets/linters-info.json new/golangci-lint-1.64.8/assets/linters-info.json --- old/golangci-lint-1.64.7/assets/linters-info.json 2025-03-10 21:28:25.000000000 +0100 +++ new/golangci-lint-1.64.8/assets/linters-info.json 2025-03-17 17:54:02.000000000 +0100 @@ -151,7 +151,7 @@ }, { "name": "dupl", - "desc": "Tool for code clone detection", + "desc": "Detects duplicate fragments of code.", "loadMode": 8199, "inPresets": [ "style" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/golangci-lint-1.64.7/pkg/commands/run.go new/golangci-lint-1.64.8/pkg/commands/run.go --- old/golangci-lint-1.64.7/pkg/commands/run.go 2025-03-10 21:28:25.000000000 +0100 +++ new/golangci-lint-1.64.8/pkg/commands/run.go 2025-03-17 17:54:02.000000000 +0100 @@ -186,6 +186,10 @@ } func (c *runCommand) preRunE(_ *cobra.Command, args []string) error { + if c.cfg.GetConfigDir() != "" && c.cfg.Version != "" { + return errors.New("you are using a configuration file for golangci-lint v2 with golangci-lint v1: please use golangci-lint v2") + } + dbManager, err := lintersdb.NewManager(c.log.Child(logutils.DebugKeyLintersDB), c.cfg, lintersdb.NewLinterBuilder(), lintersdb.NewPluginModuleBuilder(c.log), lintersdb.NewPluginGoBuilder(c.log)) if err != nil { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/golangci-lint-1.64.7/pkg/config/config.go new/golangci-lint-1.64.8/pkg/config/config.go --- old/golangci-lint-1.64.7/pkg/config/config.go 2025-03-10 21:28:25.000000000 +0100 +++ new/golangci-lint-1.64.8/pkg/config/config.go 2025-03-17 17:54:02.000000000 +0100 @@ -20,6 +20,8 @@ cfgDir string // Path to the directory containing golangci-lint config file. basePath string // Path the root directory related to [Run.RelativePathMode]. + Version string `mapstructure:"version"` // From v2, to be able to detect v2 config file. + Run Run `mapstructure:"run"` Output Output `mapstructure:"output"` ++++++ vendor.tar.xz ++++++