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 2026-06-28 21:11:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/editorconfig-checker (Old)
and /work/SRC/openSUSE:Factory/.editorconfig-checker.new.11887 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "editorconfig-checker"
Sun Jun 28 21:11:25 2026 rev:13 rq:1362206 version:3.8.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/editorconfig-checker/editorconfig-checker.changes
2026-05-28 17:33:11.535241211 +0200
+++
/work/SRC/openSUSE:Factory/.editorconfig-checker.new.11887/editorconfig-checker.changes
2026-06-28 21:12:49.642826417 +0200
@@ -1,0 +2,17 @@
+Sun Jun 28 15:30:42 UTC 2026 - Johannes Kastl
<[email protected]>
+
+- Update to version 3.8.0:
+ * Features
+ - exclude .gpg files (#571) (e5b53f4)
+ * Bug Fixes
+ - anchor node_modules and target default excludes at path start
+ (#568) (c0c39af)
+ - honor -no-color for .ecrc deprecation warning (#575)
+ (dbb0dbb)
+ * Dependencies
+ - chore(deps): bump actions/checkout from 6 to 7 (#573)
+ - chore(deps): bump golang.org/x/text from 0.37.0 to 0.38.0
+ (#566)
+ - chore(deps): bump codecov/codecov-action from 6 to 7 (#565)
+
+-------------------------------------------------------------------
Old:
----
editorconfig-checker-3.7.0.obscpio
New:
----
editorconfig-checker-3.8.0.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ editorconfig-checker.spec ++++++
--- /var/tmp/diff_new_pack.xN2pe6/_old 2026-06-28 21:12:51.614893101 +0200
+++ /var/tmp/diff_new_pack.xN2pe6/_new 2026-06-28 21:12:51.630893642 +0200
@@ -19,7 +19,7 @@
%define executable_name ec
Name: editorconfig-checker
-Version: 3.7.0
+Version: 3.8.0
Release: 0
Summary: Tool to verify that your files are in harmony with your
.editorconfig
License: MIT
++++++ _service ++++++
--- /var/tmp/diff_new_pack.xN2pe6/_old 2026-06-28 21:12:52.010906492 +0200
+++ /var/tmp/diff_new_pack.xN2pe6/_new 2026-06-28 21:12:52.034907304 +0200
@@ -3,7 +3,7 @@
<param
name="url">https://github.com/editorconfig-checker/editorconfig-checker.git</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
- <param name="revision">refs/tags/v3.7.0</param>
+ <param name="revision">refs/tags/v3.8.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.xN2pe6/_old 2026-06-28 21:12:52.258914878 +0200
+++ /var/tmp/diff_new_pack.xN2pe6/_new 2026-06-28 21:12:52.330917312 +0200
@@ -3,6 +3,6 @@
<param
name="url">https://github.com/editorconfig-checker/editorconfig-checker</param>
<param
name="changesrevision">aa06cea887b26f372f9368aa53665266ec6dc364</param></service><service
name="tar_scm">
<param
name="url">https://github.com/editorconfig-checker/editorconfig-checker.git</param>
- <param
name="changesrevision">03db2cca9a525b3831377be1e4696c06fdfef07a</param></service></servicedata>
+ <param
name="changesrevision">6fa6539948897d1dceee75b6680d7e9688b5c9e9</param></service></servicedata>
(No newline at EOF)
++++++ editorconfig-checker-3.7.0.obscpio -> editorconfig-checker-3.8.0.obscpio
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-checker-3.7.0/.editorconfig-checker.json
new/editorconfig-checker-3.8.0/.editorconfig-checker.json
--- old/editorconfig-checker-3.7.0/.editorconfig-checker.json 2026-05-25
19:18:48.000000000 +0200
+++ new/editorconfig-checker-3.8.0/.editorconfig-checker.json 2026-06-28
15:21:13.000000000 +0200
@@ -1,10 +1,11 @@
{
+ "$schema": "./.editorconfig-checker.schema.json",
"Verbose": false,
"Debug": false,
"IgnoreDefaults": false,
"SpacesAfterTabs": false,
"NoColor": false,
- "exclude": [
+ "Exclude": [
"testfiles",
"testdata"
],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-checker-3.7.0/.editorconfig-checker.schema.json
new/editorconfig-checker-3.8.0/.editorconfig-checker.schema.json
--- old/editorconfig-checker-3.7.0/.editorconfig-checker.schema.json
1970-01-01 01:00:00.000000000 +0100
+++ new/editorconfig-checker-3.8.0/.editorconfig-checker.schema.json
2026-06-28 15:21:13.000000000 +0200
@@ -0,0 +1,135 @@
+{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "title": "editorconfig-checker configuration",
+ "description": "Configuration for editorconfig-checker",
+ "type": "object",
+ "additionalProperties": false,
+ "properties": {
+ "$schema": {
+ "type": "string",
+ "description": "A field for the JSON schema specification."
+ },
+ "Version": {
+ "type": "string",
+ "default": "",
+ "description": "When set, the tool verifies this value matches the
binary version and exits with an error if they differ. Useful for pinning a
specific version in CI"
+ },
+ "Verbose": {
+ "type": "boolean",
+ "default": false,
+ "description": "Print verbose output during checking"
+ },
+ "Format": {
+ "type": "string",
+ "default": "default",
+ "description": "Specify the output format",
+ "enum": [
+ "",
+ "default",
+ "codeclimate",
+ "gcc",
+ "github-actions"
+ ]
+ },
+ "Debug": {
+ "type": "boolean",
+ "default": false,
+ "description": "Print debugging information"
+ },
+ "IgnoreDefaults": {
+ "type": "boolean",
+ "default": false,
+ "description": "Ignore the default exclude patterns"
+ },
+ "SpacesAfterTabs": {
+ "type": "boolean",
+ "default": false,
+ "description": "Allow spaces after tabs in indentation (mixed
indentation). When `false`, spaces following tabs are flagged as errors"
+ },
+ "SpacesAftertabs": {
+ "type": "boolean",
+ "deprecated": true,
+ "description": "The configuration key `SpacesAftertabs` is
deprecated. Use `SpacesAfterTabs` instead"
+ },
+ "NoColor": {
+ "type": "boolean",
+ "default": false,
+ "description": "Disable colored output"
+ },
+ "Exclude": {
+ "type": "array",
+ "default": [],
+ "description": "Regular expressions for files to exclude from
checking",
+ "items": {
+ "type": "string"
+ }
+ },
+ "AllowedContentTypes": {
+ "type": "array",
+ "default": [],
+ "description": "Additional content types to check, added to the
default allowed content types",
+ "items": {
+ "type": "string"
+ }
+ },
+ "PassedFiles": {
+ "type": "array",
+ "default": [],
+ "description": "Explicit list of files, directories, or
shell-style glob patterns (e.g. `src/*.go`) to check. When set, only these
paths are checked instead of auto-discovering files from the working directory
or git. Glob patterns that don't match any file are left as-is so a subsequent
content-type check surfaces the missing path",
+ "items": {
+ "type": "string"
+ }
+ },
+ "Disable": {
+ "type": "object",
+ "default": {
+ "Charset": false,
+ "EndOfLine": false,
+ "Indentation": false,
+ "InsertFinalNewline": false,
+ "TrimTrailingWhitespace": false,
+ "IndentSize": false,
+ "MaxLineLength": false
+ },
+ "description": "Set any of the options under the `Disable` section
to `true` to disable those particular checks",
+ "additionalProperties": false,
+ "properties": {
+ "Charset": {
+ "type": "boolean",
+ "default": false,
+ "description": "Disables only the charset check"
+ },
+ "EndOfLine": {
+ "type": "boolean",
+ "default": false,
+ "description": "Disables the end-of-line check"
+ },
+ "Indentation": {
+ "type": "boolean",
+ "default": false,
+ "description": "Disables the indentation check"
+ },
+ "InsertFinalNewline": {
+ "type": "boolean",
+ "default": false,
+ "description": "Disables the final newline check"
+ },
+ "TrimTrailingWhitespace": {
+ "type": "boolean",
+ "default": false,
+ "description": "Disables the trailing whitespace check"
+ },
+ "IndentSize": {
+ "type": "boolean",
+ "default": false,
+ "description": "Disables only the indent-size check"
+ },
+ "MaxLineLength": {
+ "type": "boolean",
+ "default": false,
+ "description": "Disables only the max-line-length check"
+ }
+ }
+ }
+ }
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-checker-3.7.0/.release-please-manifest.json
new/editorconfig-checker-3.8.0/.release-please-manifest.json
--- old/editorconfig-checker-3.7.0/.release-please-manifest.json
2026-05-25 19:18:48.000000000 +0200
+++ new/editorconfig-checker-3.8.0/.release-please-manifest.json
2026-06-28 15:21:13.000000000 +0200
@@ -1,3 +1,3 @@
{
- ".": "3.7.0"
+ ".": "3.8.0"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/editorconfig-checker-3.7.0/CHANGELOG.md
new/editorconfig-checker-3.8.0/CHANGELOG.md
--- old/editorconfig-checker-3.7.0/CHANGELOG.md 2026-05-25 19:18:48.000000000
+0200
+++ new/editorconfig-checker-3.8.0/CHANGELOG.md 2026-06-28 15:21:13.000000000
+0200
@@ -1,5 +1,18 @@
# Changelog
+##
[3.8.0](https://github.com/editorconfig-checker/editorconfig-checker/compare/v3.7.0...v3.8.0)
(2026-06-25)
+
+
+### Features
+
+* exclude .gpg files
([#571](https://github.com/editorconfig-checker/editorconfig-checker/issues/571))
([e5b53f4](https://github.com/editorconfig-checker/editorconfig-checker/commit/e5b53f488f7e52a2665316e34500e65a8f3740d8))
+
+
+### Bug Fixes
+
+* anchor node_modules and target default excludes at path start
([#568](https://github.com/editorconfig-checker/editorconfig-checker/issues/568))
([c0c39af](https://github.com/editorconfig-checker/editorconfig-checker/commit/c0c39af8af2f692a36716481bc89ab4ee68d03e9))
+* honor -no-color for .ecrc deprecation warning
([#575](https://github.com/editorconfig-checker/editorconfig-checker/issues/575))
([dbb0dbb](https://github.com/editorconfig-checker/editorconfig-checker/commit/dbb0dbb2b100fedc87aa292476c9b7bf029e688e))
+
##
[3.7.0](https://github.com/editorconfig-checker/editorconfig-checker/compare/v3.6.1...v3.7.0)
(2026-05-25)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/editorconfig-checker-3.7.0/README.md
new/editorconfig-checker-3.8.0/README.md
--- old/editorconfig-checker-3.7.0/README.md 2026-05-25 19:18:48.000000000
+0200
+++ new/editorconfig-checker-3.8.0/README.md 2026-06-28 15:21:13.000000000
+0200
@@ -59,7 +59,7 @@
<!-- x-release-please-start-version -->
```shell
-VERSION="v3.7.0"
+VERSION="v3.8.0"
OS="linux"
ARCH="amd64"
curl -O -L -C -
https://github.com/editorconfig-checker/editorconfig-checker/releases/download/$VERSION/ec-$OS-$ARCH.tar.gz
&& \
@@ -250,8 +250,10 @@
A sample configuration file can look like this and will be used from your
current working directory if not specified via the `--config` argument:
+<!-- x-release-please-start-version -->
```json
{
+ "$schema":
"https://raw.githubusercontent.com/editorconfig-checker/editorconfig-checker/v3.8.0/.editorconfig-checker.schema.json",
"Verbose": false,
"Debug": false,
"IgnoreDefaults": false,
@@ -271,6 +273,9 @@
}
}
```
+<!-- x-release-please-end -->
+
+The `$schema` property is an optional field for specifying the JSON Schema and
is ignored by editorconfig-checker.
### Configuration Keys
@@ -394,7 +399,7 @@
// package manager, generated, & lock files
// Cargo (Rust)
"Cargo\\.lock$",
-"/target/",
+"(^|/)target/",
// Composer (PHP)
"composer\\.lock$",
// RubyGems (Ruby)
@@ -410,7 +415,7 @@
"\\.mvn/wrapper/MavenWrapperDownloader\\.java$",
"mvnw(\\.cmd)?$",
// NodeJS
-"/node_modules/",
+"(^|/)node_modules/",
// npm (NodeJS)
"npm-shrinkwrap\\.json$",
"package-lock\\.json$",
@@ -453,6 +458,7 @@
"\\.bin$",
"\\.docx?$",
"\\.exe$",
+"\\.gpg$",
"\\.pdf$",
"\\.snap$",
"\\.xlsx?$",
@@ -481,13 +487,15 @@
##### via configuration
-In your [configuration file](#configuration) you can exclude files with the
`"exclude"` key which takes an array of regular expressions.
+In your [configuration file](#configuration) you can exclude files with the
`"Exclude"` key which takes an array of regular expressions.
This will get merged with the default excludes (if not
[ignored](#ignoring-default-excludes)). You should remember to escape your
regular expressions correctly.
A [configuration file](#configuration) which would ignore all test files and
all Markdown files can look like this:
+<!-- x-release-please-start-version -->
```json
{
+ "$schema":
"https://raw.githubusercontent.com/editorconfig-checker/editorconfig-checker/v3.8.0/.editorconfig-checker.schema.json",
"Verbose": false,
"IgnoreDefaults": false,
"Exclude": ["testfiles", "\\.md$"],
@@ -503,6 +511,7 @@
}
}
```
+<!-- x-release-please-end -->
##### via arguments
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-checker-3.7.0/cmd/editorconfig-checker/main.go
new/editorconfig-checker-3.8.0/cmd/editorconfig-checker/main.go
--- old/editorconfig-checker-3.7.0/cmd/editorconfig-checker/main.go
2026-05-25 19:18:48.000000000 +0200
+++ new/editorconfig-checker-3.8.0/cmd/editorconfig-checker/main.go
2026-06-28 15:21:13.000000000 +0200
@@ -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.7.0" // x-release-please-version
+var version string = "v3.8.0" // x-release-please-version
// defaultConfigFileNames determines the file names where the config is located
var defaultConfigFileNames = []string{".editorconfig-checker.json", ".ecrc"}
@@ -125,6 +125,8 @@
currentConfig = config.NewConfig(configPaths)
loggerInjectionHook()
+ currentConfig.Logger.NoColor = cmdlineConfig.NoColor
+
if strings.HasSuffix(currentConfig.Path, ".ecrc") {
currentConfig.Logger.Warning("The default configuration file
name `.ecrc` is deprecated. Use `.editorconfig-checker.json` instead. You can
simply rename it")
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/editorconfig-checker-3.7.0/cmd/editorconfig-checker/main_test.go
new/editorconfig-checker-3.8.0/cmd/editorconfig-checker/main_test.go
--- old/editorconfig-checker-3.7.0/cmd/editorconfig-checker/main_test.go
2026-05-25 19:18:48.000000000 +0200
+++ new/editorconfig-checker-3.8.0/cmd/editorconfig-checker/main_test.go
2026-06-28 15:21:13.000000000 +0200
@@ -110,6 +110,37 @@
}
}
+func TestMainEcrcDeprecationWarningHonorsNoColor(t *testing.T) {
+ output, lastSeenCode := runWithArguments(t, "--no-color", "--config",
"testdata/.ecrc")
+ if lastSeenCode != exitCodeNormal {
+ t.Errorf("main exited with return code %d, but we expected %d",
lastSeenCode, exitCodeNormal)
+ t.Logf("Output:\n%s", output)
+ }
+ if !strings.Contains(output, "`.ecrc` is deprecated") {
+ t.Error("main did not produce a warning that .ecrc is
deprecated despite being given a file named .ecrc.")
+ t.Logf("Output:\n%s", output)
+ }
+ if strings.Contains(output, "\x1b[") {
+ t.Errorf("main produced ANSI color escape codes despite
--no-color being set\nOutput:\n%q", output)
+ }
+}
+
+func TestMainEcrcDeprecationWarningHonorsNoColorEnvVar(t *testing.T) {
+ t.Setenv("NO_COLOR", "1")
+ output, lastSeenCode := runWithArguments(t, "--config",
"testdata/.ecrc")
+ if lastSeenCode != exitCodeNormal {
+ t.Errorf("main exited with return code %d, but we expected %d",
lastSeenCode, exitCodeNormal)
+ t.Logf("Output:\n%s", output)
+ }
+ if !strings.Contains(output, "`.ecrc` is deprecated") {
+ t.Error("main did not produce a warning that .ecrc is
deprecated despite being given a file named .ecrc.")
+ t.Logf("Output:\n%s", output)
+ }
+ if strings.Contains(output, "\x1b[") {
+ t.Errorf("main produced ANSI color escape codes despite
NO_COLOR being set\nOutput:\n%q", output)
+ }
+}
+
func TestMainShowVersion(t *testing.T) {
output, lastSeenCode := runWithArguments(t, "--version")
if lastSeenCode != exitCodeNormal {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/editorconfig-checker-3.7.0/default.nix
new/editorconfig-checker-3.8.0/default.nix
--- old/editorconfig-checker-3.7.0/default.nix 2026-05-25 19:18:48.000000000
+0200
+++ new/editorconfig-checker-3.8.0/default.nix 2026-06-28 15:21:13.000000000
+0200
@@ -2,7 +2,7 @@
with pkgs;
buildGoPackage rec {
- version = "v3.7.0" # x-release-please-version
+ version = "v3.8.0" # x-release-please-version
# create link so the tool can also be executed as `ec`
postInstall = ''
Binary files old/editorconfig-checker-3.7.0/editorconfig-checker and
new/editorconfig-checker-3.8.0/editorconfig-checker differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/editorconfig-checker-3.7.0/go.mod
new/editorconfig-checker-3.8.0/go.mod
--- old/editorconfig-checker-3.7.0/go.mod 2026-05-25 19:18:48.000000000
+0200
+++ new/editorconfig-checker-3.8.0/go.mod 2026-06-28 15:21:13.000000000
+0200
@@ -6,7 +6,7 @@
github.com/editorconfig/editorconfig-core-go/v2 v2.6.4
github.com/gabriel-vasile/mimetype v1.4.13
github.com/wlynxg/chardet v1.0.5
- golang.org/x/text v0.37.0
+ golang.org/x/text v0.38.0
)
require (
@@ -26,6 +26,6 @@
require (
github.com/gkampitakis/go-snaps v0.5.22
- golang.org/x/mod v0.35.0 // indirect
+ golang.org/x/mod v0.36.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/editorconfig-checker-3.7.0/go.sum
new/editorconfig-checker-3.8.0/go.sum
--- old/editorconfig-checker-3.7.0/go.sum 2026-05-25 19:18:48.000000000
+0200
+++ new/editorconfig-checker-3.8.0/go.sum 2026-06-28 15:21:13.000000000
+0200
@@ -51,10 +51,10 @@
github.com/tidwall/sjson v1.2.5/go.mod
h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28=
github.com/wlynxg/chardet v1.0.5
h1:BNEolSEujJUtKwkaqNb0D6Ue+d7VTKTh5rXDyEdiipU=
github.com/wlynxg/chardet v1.0.5/go.mod
h1:q4N3YNbywQtX0u12Eh0+0LZB53Ayc7nOfHHaio+RcVA=
-golang.org/x/mod v0.35.0 h1:Ww1D637e6Pg+Zb2KrWfHQUnH2dQRLBQyAtpr/haaJeM=
-golang.org/x/mod v0.35.0/go.mod h1:+GwiRhIInF8wPm+4AoT6L0FA1QWAad3OMdTRx4tFYlU=
-golang.org/x/text v0.37.0 h1:Cqjiwd9eSg8e0QAkyCaQTNHFIIzWtidPahFWR83rTrc=
-golang.org/x/text v0.37.0/go.mod
h1:a5sjxXGs9hsn/AJVwuElvCAo9v8QYLzvavO5z2PiM38=
+golang.org/x/mod v0.36.0 h1:JJjpVx6myfUsUdAzZuOSTTmRE0PfZeNWzzvKrP7amb4=
+golang.org/x/mod v0.36.0/go.mod h1:moc6ELqsWcOw5Ef3xVprK5ul/MvtVvkIXLziUOICjUQ=
+golang.org/x/text v0.38.0 h1:sXmwo9DwP3OK9EZ7PqAdaooSGozfl/3a6/xJcbzPRhE=
+golang.org/x/text v0.38.0/go.mod
h1:YXZt3QhHUKYT53r2lLKFIVi6Ao1jdzrTR/KQ09qyxF4=
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=
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/editorconfig-checker-3.7.0/pkg/config/config.go
new/editorconfig-checker-3.8.0/pkg/config/config.go
--- old/editorconfig-checker-3.7.0/pkg/config/config.go 2026-05-25
19:18:48.000000000 +0200
+++ new/editorconfig-checker-3.8.0/pkg/config/config.go 2026-06-28
15:21:13.000000000 +0200
@@ -28,7 +28,7 @@
// package manager, generated, & lock files
// Cargo (Rust)
"Cargo\\.lock$",
- "/target/",
+ "(^|/)target/",
// Composer (PHP)
"composer\\.lock$",
// RubyGems (Ruby)
@@ -44,7 +44,7 @@
"\\.mvn/wrapper/MavenWrapperDownloader\\.java$",
"mvnw(\\.cmd)?$",
// NodeJS
- "/node_modules/",
+ "(^|/)node_modules/",
// npm (NodeJS)
"npm-shrinkwrap\\.json$",
"package-lock\\.json$",
@@ -87,6 +87,7 @@
"\\.bin$",
"\\.docx?$",
"\\.exe$",
+ "\\.gpg$",
"\\.pdf$",
"\\.snap$",
"\\.xlsx?$",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/editorconfig-checker-3.7.0/pkg/config/config_test.go
new/editorconfig-checker-3.8.0/pkg/config/config_test.go
--- old/editorconfig-checker-3.7.0/pkg/config/config_test.go 2026-05-25
19:18:48.000000000 +0200
+++ new/editorconfig-checker-3.8.0/pkg/config/config_test.go 2026-06-28
15:21:13.000000000 +0200
@@ -4,6 +4,7 @@
"os"
"path/filepath"
"reflect"
+ "regexp"
"testing"
// x-release-please-start-major
@@ -89,7 +90,7 @@
}
actual = c.GetExcludesAsRegularExpression()
- 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$|buf\.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$|buf\.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$|\.gpg$|\.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 +117,7 @@
mergeConfig := Config{
ShowVersion: true,
- Version: "v3.7.0", // x-release-please-version
+ Version: "v3.8.0", // x-release-please-version
Help: true,
DryRun: true,
Path: "some-other",
@@ -215,3 +216,32 @@
snaps.MatchJSON(t, c.String())
}
+
+func TestDefaultExcludesAnchoring(t *testing.T) {
+ re, err := regexp.Compile(DefaultExcludes)
+ if err != nil {
+ t.Fatalf("DefaultExcludes should compile, got: %v", err)
+ }
+
+ excluded := []string{
+ "node_modules/foo/index.js",
+ "packages/a/node_modules/foo/index.js",
+ "target/debug/main",
+ "crates/a/target/debug/main",
+ }
+ for _, path := range excluded {
+ if !re.MatchString(path) {
+ t.Errorf("expected %q to match the default excludes",
path)
+ }
+ }
+
+ notExcluded := []string{
+ "my_node_modules/foo/index.js",
+ "not_target/main.go",
+ }
+ for _, path := range notExcluded {
+ if re.MatchString(path) {
+ t.Errorf("expected %q to not match the default
excludes", path)
+ }
+ }
+}
++++++ editorconfig-checker.obsinfo ++++++
--- /var/tmp/diff_new_pack.xN2pe6/_old 2026-06-28 21:12:56.211048516 +0200
+++ /var/tmp/diff_new_pack.xN2pe6/_new 2026-06-28 21:12:56.247049734 +0200
@@ -1,5 +1,5 @@
name: editorconfig-checker
-version: 3.7.0
-mtime: 1779729528
-commit: 03db2cca9a525b3831377be1e4696c06fdfef07a
+version: 3.8.0
+mtime: 1782652873
+commit: 6fa6539948897d1dceee75b6680d7e9688b5c9e9
++++++ vendor.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/vendor/modules.txt new/vendor/modules.txt
--- old/vendor/modules.txt 2026-05-25 19:18:48.000000000 +0200
+++ new/vendor/modules.txt 2026-06-28 15:21:13.000000000 +0200
@@ -66,10 +66,10 @@
github.com/wlynxg/chardet/cda
github.com/wlynxg/chardet/consts
github.com/wlynxg/chardet/probe
-# golang.org/x/mod v0.35.0
+# golang.org/x/mod v0.36.0
## explicit; go 1.25.0
golang.org/x/mod/semver
-# golang.org/x/text v0.37.0
+# golang.org/x/text v0.38.0
## explicit; go 1.25.0
golang.org/x/text/encoding
golang.org/x/text/encoding/charmap