Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package editorconfig-checker for
openSUSE:Factory checked in at 2025-11-26 18:50:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/editorconfig-checker (Old)
and /work/SRC/openSUSE:Factory/.editorconfig-checker.new.14147 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "editorconfig-checker"
Wed Nov 26 18:50:07 2025 rev:10 rq:1320119 version:3.6.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/editorconfig-checker/editorconfig-checker.changes
2025-11-24 14:09:37.102352973 +0100
+++
/work/SRC/openSUSE:Factory/.editorconfig-checker.new.14147/editorconfig-checker.changes
2025-11-26 18:50:25.031248707 +0100
@@ -1,0 +2,13 @@
+Wed Nov 26 06:22:33 UTC 2025 - Johannes Kastl
<[email protected]>
+
+- Update to version 3.6.0:
+ * Features
+ - add Rust target/ dir to default excludes (#507) (1c7d477)
+ * Bug Fixes
+ - support when charset is not set (#506) (85fcb6b), closes #505
+ * Dependencies
+ - chore(deps): bump github.com/gkampitakis/go-snaps from 0.5.15
+ to 0.5.16 (#508)
+ - chore(deps): bump actions/checkout from 5 to 6 (#504)
+
+-------------------------------------------------------------------
Old:
----
editorconfig-checker-3.5.0.obscpio
New:
----
editorconfig-checker-3.6.0.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ editorconfig-checker.spec ++++++
--- /var/tmp/diff_new_pack.0QqzoM/_old 2025-11-26 18:50:27.315345476 +0100
+++ /var/tmp/diff_new_pack.0QqzoM/_new 2025-11-26 18:50:27.319345645 +0100
@@ -19,7 +19,7 @@
%define executable_name ec
Name: editorconfig-checker
-Version: 3.5.0
+Version: 3.6.0
Release: 0
Summary: Tool to verify that your files are in harmony with your
.editorconfig
License: MIT
++++++ _service ++++++
--- /var/tmp/diff_new_pack.0QqzoM/_old 2025-11-26 18:50:27.355347171 +0100
+++ /var/tmp/diff_new_pack.0QqzoM/_new 2025-11-26 18:50:27.359347340 +0100
@@ -3,7 +3,7 @@
<param
name="url">https://github.com/editorconfig-checker/editorconfig-checker</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
- <param name="revision">v3.5.0</param>
+ <param name="revision">v3.6.0</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.0QqzoM/_old 2025-11-26 18:50:27.387348526 +0100
+++ /var/tmp/diff_new_pack.0QqzoM/_new 2025-11-26 18:50:27.391348696 +0100
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param
name="url">https://github.com/editorconfig-checker/editorconfig-checker</param>
- <param
name="changesrevision">44f8ebb6cdbe629b14f514a046069ea90e354b28</param></service></servicedata>
+ <param
name="changesrevision">6b2f463397341e827af22305a5630d26a9aedc21</param></service></servicedata>
(No newline at EOF)
++++++ editorconfig-checker-3.5.0.obscpio -> editorconfig-checker-3.6.0.obscpio
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-checker-3.5.0/.release-please-manifest.json
new/editorconfig-checker-3.6.0/.release-please-manifest.json
--- old/editorconfig-checker-3.5.0/.release-please-manifest.json
2025-11-21 09:34:05.000000000 +0100
+++ new/editorconfig-checker-3.6.0/.release-please-manifest.json
2025-11-25 17:39:46.000000000 +0100
@@ -1,3 +1,3 @@
{
- ".": "3.5.0"
+ ".": "3.6.0"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/editorconfig-checker-3.5.0/CHANGELOG.md
new/editorconfig-checker-3.6.0/CHANGELOG.md
--- old/editorconfig-checker-3.5.0/CHANGELOG.md 2025-11-21 09:34:05.000000000
+0100
+++ new/editorconfig-checker-3.6.0/CHANGELOG.md 2025-11-25 17:39:46.000000000
+0100
@@ -1,11 +1,23 @@
# Changelog
+##
[3.6.0](https://github.com/editorconfig-checker/editorconfig-checker/compare/v3.5.0...v3.6.0)
(2025-11-25)
+
+
+### Features
+
+* add Rust target/ dir to default excludes
([#507](https://github.com/editorconfig-checker/editorconfig-checker/issues/507))
([1c7d477](https://github.com/editorconfig-checker/editorconfig-checker/commit/1c7d4776466484f320b77525a83c3be919c59e90))
+
+
+### Bug Fixes
+
+* support when charset is not set
([#506](https://github.com/editorconfig-checker/editorconfig-checker/issues/506))
([85fcb6b](https://github.com/editorconfig-checker/editorconfig-checker/commit/85fcb6b6a30d392ee92746603ea4aea44e756766)),
closes
[#505](https://github.com/editorconfig-checker/editorconfig-checker/issues/505)
+
##
[3.5.0](https://github.com/editorconfig-checker/editorconfig-checker/compare/v3.4.1...v3.5.0)
(2025-11-18)
### Features
-* support chardet config file setting
([#457](https://github.com/editorconfig-checker/editorconfig-checker/issues/457))
([f216ce5](https://github.com/editorconfig-checker/editorconfig-checker/commit/f216ce52132e5fbe1d8c7abdcccd6627b264e285))
+* support charset config file setting
([#457](https://github.com/editorconfig-checker/editorconfig-checker/issues/457))
([f216ce5](https://github.com/editorconfig-checker/editorconfig-checker/commit/f216ce52132e5fbe1d8c7abdcccd6627b264e285))
##
[3.4.1](https://github.com/editorconfig-checker/editorconfig-checker/compare/v3.4.0...v3.4.1)
(2025-10-09)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/editorconfig-checker-3.5.0/Makefile
new/editorconfig-checker-3.6.0/Makefile
--- old/editorconfig-checker-3.5.0/Makefile 2025-11-21 09:34:05.000000000
+0100
+++ new/editorconfig-checker-3.6.0/Makefile 2025-11-25 17:39:46.000000000
+0100
@@ -26,6 +26,26 @@
go build -o $1 ./cmd/editorconfig-checker/main.go
endef
+RACE_OPT := -race
+
+# go: -race requires cgo
+ifneq ($(strip $(CGO_ENABLED)),1)
+RACE_OPT =
+endif
+
+GO_VERSION := $(shell go version)
+# go: -race is not supported on windows/arm64
+ifeq ($(findstring windows/arm64,$(GO_VERSION)),windows/arm64)
+RACE_OPT =
+endif
+
+# cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in
$PATH
+CC := $(shell go env CC)
+HAS_CC := $(shell command -v $(CC) >/dev/null)
+ifeq ($(HAS_CC),)
+RACE_OPT =
+endif
+
$(EXE): $(SOURCES)
$(call _build,$(EXE))
@@ -40,8 +60,8 @@
rm -f $(DESTDIR)$(prefix)$(mandir)/man1/editorconfig-checker.1
test: ## Run test suite
- go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- go test -trimpath -race -coverprofile=coverage.txt -covermode=atomic
./...
+ go test $(RACE_OPT) -coverprofile=coverage.txt -covermode=atomic ./...
+ go test -trimpath $(RACE_OPT) -coverprofile=coverage.txt
-covermode=atomic ./...
go vet ./...
@test -z $(shell gofmt -s -l . | tee $(STDERR)) || (echo "[ERROR] Fix
formatting issues with 'gofmt'" && exit 1)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/editorconfig-checker-3.5.0/README.md
new/editorconfig-checker-3.6.0/README.md
--- old/editorconfig-checker-3.5.0/README.md 2025-11-21 09:34:05.000000000
+0100
+++ new/editorconfig-checker-3.6.0/README.md 2025-11-25 17:39:46.000000000
+0100
@@ -60,7 +60,7 @@
<!-- x-release-please-start-version -->
```shell
-VERSION="v3.5.0"
+VERSION="v3.6.0"
OS="linux"
ARCH="amd64"
curl -O -L -C -
https://github.com/editorconfig-checker/editorconfig-checker/releases/download/$VERSION/ec-$OS-$ARCH.tar.gz
&& \
@@ -302,6 +302,7 @@
// package manager, generated, & lock files
// Cargo (Rust)
"Cargo\\.lock$",
+"/target/",
// Composer (PHP)
"composer\\.lock$",
// RubyGems (Ruby)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-checker-3.5.0/cmd/editorconfig-checker/main.go
new/editorconfig-checker-3.6.0/cmd/editorconfig-checker/main.go
--- old/editorconfig-checker-3.5.0/cmd/editorconfig-checker/main.go
2025-11-21 09:34:05.000000000 +0100
+++ new/editorconfig-checker-3.6.0/cmd/editorconfig-checker/main.go
2025-11-25 17:39:46.000000000 +0100
@@ -22,7 +22,7 @@
// version is used for the help and to verify against the version stored in
the config file
// version is dynamically set at compiletime
-var version string = "v3.5.0" // x-release-please-version
+var version string = "v3.6.0" // x-release-please-version
// defaultConfigFileNames determines the file names where the config is located
var defaultConfigFileNames = []string{".editorconfig-checker.json", ".ecrc"}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/editorconfig-checker-3.5.0/default.nix
new/editorconfig-checker-3.6.0/default.nix
--- old/editorconfig-checker-3.5.0/default.nix 2025-11-21 09:34:05.000000000
+0100
+++ new/editorconfig-checker-3.6.0/default.nix 2025-11-25 17:39:46.000000000
+0100
@@ -2,7 +2,7 @@
with pkgs;
buildGoPackage rec {
- version = "v3.5.0" # x-release-please-version
+ version = "v3.6.0" # x-release-please-version
# create link so the tool can also be executed as `ec`
postInstall = ''
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/editorconfig-checker-3.5.0/go.mod
new/editorconfig-checker-3.6.0/go.mod
--- old/editorconfig-checker-3.5.0/go.mod 2025-11-21 09:34:05.000000000
+0100
+++ new/editorconfig-checker-3.6.0/go.mod 2025-11-25 17:39:46.000000000
+0100
@@ -11,12 +11,12 @@
require (
github.com/gkampitakis/ciinfo v0.3.2 // indirect
- github.com/gkampitakis/go-diff v1.3.2 // indirect
github.com/goccy/go-yaml v1.18.0 // indirect
github.com/kr/pretty v0.3.1 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/maruel/natural v1.1.1 // indirect
github.com/rogpeppe/go-internal v1.13.1 // indirect
+ github.com/sergi/go-diff v1.4.0 // indirect
github.com/stretchr/testify v1.8.1 // indirect
github.com/tidwall/gjson v1.18.0 // indirect
github.com/tidwall/match v1.1.1 // indirect
@@ -25,7 +25,7 @@
)
require (
- github.com/gkampitakis/go-snaps v0.5.15
+ github.com/gkampitakis/go-snaps v0.5.16
golang.org/x/mod v0.29.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/editorconfig-checker-3.5.0/go.sum
new/editorconfig-checker-3.6.0/go.sum
--- old/editorconfig-checker-3.5.0/go.sum 2025-11-21 09:34:05.000000000
+0100
+++ new/editorconfig-checker-3.6.0/go.sum 2025-11-25 17:39:46.000000000
+0100
@@ -8,16 +8,17 @@
github.com/gabriel-vasile/mimetype v1.4.11/go.mod
h1:d+9Oxyo1wTzWdyVUPMmXFvp4F9tea18J8ufA774AB3s=
github.com/gkampitakis/ciinfo v0.3.2
h1:JcuOPk8ZU7nZQjdUhctuhQofk7BGHuIy0c9Ez8BNhXs=
github.com/gkampitakis/ciinfo v0.3.2/go.mod
h1:1NIwaOcFChN4fa/B0hEBdAb6npDlFL8Bwx4dfRLRqAo=
-github.com/gkampitakis/go-diff v1.3.2
h1:Qyn0J9XJSDTgnsgHRdz9Zp24RaJeKMUHg2+PDZZdC4M=
-github.com/gkampitakis/go-diff v1.3.2/go.mod
h1:LLgOrpqleQe26cte8s36HTWcTmMEur6OPYerdAAS9tk=
-github.com/gkampitakis/go-snaps v0.5.15
h1:amyJrvM1D33cPHwVrjo9jQxX8g/7E2wYdZ+01KS3zGE=
-github.com/gkampitakis/go-snaps v0.5.15/go.mod
h1:HNpx/9GoKisdhw9AFOBT1N7DBs9DiHo/hGheFGBZ+mc=
+github.com/gkampitakis/go-snaps v0.5.16
h1:tihmwY3YMe+kv0hohos2AB4yM1SiRUE9VFleGEnKt1Q=
+github.com/gkampitakis/go-snaps v0.5.16/go.mod
h1:gC3YqxQTPyIXvQrw/Vpt3a8VqR1MO8sVpZFWN4DGwNs=
github.com/goccy/go-yaml v1.18.0
h1:8W7wMFS12Pcas7KU+VVkaiCng+kG8QiFeFwzFb+rwuw=
github.com/goccy/go-yaml v1.18.0/go.mod
h1:XBurs7gK8ATbW4ZPGKgcbrY1Br56PdM69F7LkFRi1kA=
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
github.com/google/go-cmp v0.7.0/go.mod
h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
+github.com/kr/pretty v0.1.0/go.mod
h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty v0.3.1/go.mod
h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
+github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
+github.com/kr/text v0.1.0/go.mod
h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod
h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/maruel/natural v1.1.1
h1:Hja7XhhmvEFhcByqDoHz9QZbkWey+COd9xWfCfn1ioo=
@@ -28,9 +29,12 @@
github.com/rogpeppe/go-internal v1.9.0/go.mod
h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
github.com/rogpeppe/go-internal v1.13.1
h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR38lUII=
github.com/rogpeppe/go-internal v1.13.1/go.mod
h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o=
+github.com/sergi/go-diff v1.4.0 h1:n/SP9D5ad1fORl+llWyN+D6qoUETXNZARKjyY2/KVCw=
+github.com/sergi/go-diff v1.4.0/go.mod
h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4=
github.com/stretchr/objx v0.1.0/go.mod
h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.4.0/go.mod
h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/objx v0.5.0/go.mod
h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
+github.com/stretchr/testify v1.4.0/go.mod
h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.7.1/go.mod
h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.0/go.mod
h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.1
h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
@@ -52,8 +56,11 @@
golang.org/x/text v0.31.0 h1:aC8ghyu4JhP8VojJ2lEHBnochRno1sgL6nEi9WGFGMM=
golang.org/x/text v0.31.0/go.mod
h1:tKRAlv61yKIjGGHX/4tP1LTbc13YSec1pxVEWXzfoeM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod
h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod
h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA=
gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
+gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod
h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/editorconfig-checker-3.5.0/pkg/config/config.go
new/editorconfig-checker-3.6.0/pkg/config/config.go
--- old/editorconfig-checker-3.5.0/pkg/config/config.go 2025-11-21
09:34:05.000000000 +0100
+++ new/editorconfig-checker-3.6.0/pkg/config/config.go 2025-11-25
17:39:46.000000000 +0100
@@ -28,6 +28,7 @@
// package manager, generated, & lock files
// Cargo (Rust)
"Cargo\\.lock$",
+ "/target/",
// Composer (PHP)
"composer\\.lock$",
// RubyGems (Ruby)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/editorconfig-checker-3.5.0/pkg/config/config_test.go
new/editorconfig-checker-3.6.0/pkg/config/config_test.go
--- old/editorconfig-checker-3.5.0/pkg/config/config_test.go 2025-11-21
09:34:05.000000000 +0100
+++ new/editorconfig-checker-3.6.0/pkg/config/config_test.go 2025-11-25
17:39:46.000000000 +0100
@@ -89,7 +89,7 @@
}
actual = c.GetExcludesAsRegularExpression()
- expected =
`testfiles|testdata|\.git/|\.jj/|Cargo\.lock$|composer\.lock$|Gemfile\.lock$|go\.(mod|sum|work|work\.sum)$|gradle/wrapper/gradle-wrapper\.properties$|gradlew(\.bat)?$|(buildscript-)?gradle\.lockfile?$|\.mvn/wrapper/maven-wrapper\.properties$|\.mvn/wrapper/MavenWrapperDownloader\.java$|mvnw(\.cmd)?$|/node_modules/|npm-shrinkwrap\.json$|package-lock\.json$|Pipfile\.lock$|poetry\.lock$|pnpm-lock\.yaml$|\.terraform\.lock\.hcl$|uv\.lock$|\.pnp\.c?js$|\.pnp\.loader\.mjs$|\.yarn/|yarn\.lock$|\.eot$|\.otf$|\.ttf$|\.woff2?$|\.avif$|\.gif$|\.ico$|\.jpe?g$|\.mp4$|\.p[bgnp]m$|\.png$|\.svg$|\.tiff?$|\.webp$|\.wmv$|\.bak$|\.bin$|\.docx?$|\.exe$|\.pdf$|\.snap$|\.xlsx?$|\.7z$|\.bz2$|\.gz$|\.jar$|\.tar$|\.tgz$|\.war$|\.zip$|\.log$|\.patch$|\.(css|js)\.map$|min\.(css|js)$|~$`
+ expected =
`testfiles|testdata|\.git/|\.jj/|Cargo\.lock$|/target/|composer\.lock$|Gemfile\.lock$|go\.(mod|sum|work|work\.sum)$|gradle/wrapper/gradle-wrapper\.properties$|gradlew(\.bat)?$|(buildscript-)?gradle\.lockfile?$|\.mvn/wrapper/maven-wrapper\.properties$|\.mvn/wrapper/MavenWrapperDownloader\.java$|mvnw(\.cmd)?$|/node_modules/|npm-shrinkwrap\.json$|package-lock\.json$|Pipfile\.lock$|poetry\.lock$|pnpm-lock\.yaml$|\.terraform\.lock\.hcl$|uv\.lock$|\.pnp\.c?js$|\.pnp\.loader\.mjs$|\.yarn/|yarn\.lock$|\.eot$|\.otf$|\.ttf$|\.woff2?$|\.avif$|\.gif$|\.ico$|\.jpe?g$|\.mp4$|\.p[bgnp]m$|\.png$|\.svg$|\.tiff?$|\.webp$|\.wmv$|\.bak$|\.bin$|\.docx?$|\.exe$|\.pdf$|\.snap$|\.xlsx?$|\.7z$|\.bz2$|\.gz$|\.jar$|\.tar$|\.tgz$|\.war$|\.zip$|\.log$|\.patch$|\.(css|js)\.map$|min\.(css|js)$|~$`
if actual != expected {
t.Errorf("expected %s, got %s", expected, actual)
@@ -116,7 +116,7 @@
mergeConfig := Config{
ShowVersion: true,
- Version: "v3.5.0", // x-release-please-version
+ Version: "v3.6.0", // x-release-please-version
Help: true,
DryRun: true,
Path: "some-other",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/editorconfig-checker-3.5.0/pkg/encoding/encoding.go
new/editorconfig-checker-3.6.0/pkg/encoding/encoding.go
--- old/editorconfig-checker-3.5.0/pkg/encoding/encoding.go 2025-11-21
09:34:05.000000000 +0100
+++ new/editorconfig-checker-3.6.0/pkg/encoding/encoding.go 2025-11-25
17:39:46.000000000 +0100
@@ -246,6 +246,10 @@
// (at least until we can improve our success rate on encoding detection).
// Per
https://github.com/editorconfig-checker/editorconfig-checker/pull/457#issuecomment-2779587476
func CharsetsMatch(charsetFound, charsetWanted string) bool {
+ if strings.TrimSpace(charsetWanted) == "" {
+ return true
+ }
+
charsetFound = normalizeCharsetName(charsetFound)
charsetWanted = normalizeCharsetName(charsetWanted)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-checker-3.5.0/pkg/encoding/encoding_test.go
new/editorconfig-checker-3.6.0/pkg/encoding/encoding_test.go
--- old/editorconfig-checker-3.5.0/pkg/encoding/encoding_test.go
2025-11-21 09:34:05.000000000 +0100
+++ new/editorconfig-checker-3.6.0/pkg/encoding/encoding_test.go
2025-11-25 17:39:46.000000000 +0100
@@ -194,7 +194,11 @@
}
}
- charset2s := []string{"", BinaryData, UnknownEncoding, "latin", "utf",
"utf32", "unset"}
+ for _, charset1 := range ValidCharsets {
+ tests = append(tests, test{charset1, "", true})
+ }
+
+ charset2s := []string{BinaryData, UnknownEncoding, "latin", "utf",
"utf32", "unset"}
for _, charset2 := range charset2s {
for _, charset1 := range ValidCharsets {
tests = append(tests, test{charset1, charset2, false})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-checker-3.5.0/pkg/encoding/testdata/.editorconfig
new/editorconfig-checker-3.6.0/pkg/encoding/testdata/.editorconfig
--- old/editorconfig-checker-3.5.0/pkg/encoding/testdata/.editorconfig
2025-11-21 09:34:05.000000000 +0100
+++ new/editorconfig-checker-3.6.0/pkg/encoding/testdata/.editorconfig
2025-11-25 17:39:46.000000000 +0100
@@ -1,9 +1,11 @@
root = true
[*]
-charset = latin1
end_of_line=lf
+[.editorconfig]
+charset = latin1
+
[*{utf8,utf-8,UTF-8}*]
charset = utf8
++++++ editorconfig-checker.obsinfo ++++++
--- /var/tmp/diff_new_pack.0QqzoM/_old 2025-11-26 18:50:28.855410723 +0100
+++ /var/tmp/diff_new_pack.0QqzoM/_new 2025-11-26 18:50:28.863411062 +0100
@@ -1,5 +1,5 @@
name: editorconfig-checker
-version: 3.5.0
-mtime: 1763714045
-commit: 44f8ebb6cdbe629b14f514a046069ea90e354b28
+version: 3.6.0
+mtime: 1764088786
+commit: 6b2f463397341e827af22305a5630d26a9aedc21
++++++ vendor.tar.gz ++++++
++++ 5453 lines of diff (skipped)