From c4811a104308415c5c3121666a13fe37b160d8fe22d001e4520e3bd6fd0e7d26 Mon Sep 17 00:00:00 2001
From: Johannes Kastl <opensuse_buildservice@ojkastl.de>
Date: Tue, 28 Jan 2025 18:24:02 +0000
Subject: [PATCH] update to 3.2.0

OBS-URL: https://build.opensuse.org/package/show/editors/editorconfig-checker?expand=0&rev=8
---
 .gitattributes                     |  23 ++++++
 .gitignore                         |   1 +
 _service                           |  22 ++++++
 _servicedata                       |   4 +
 editorconfig-checker-3.0.3.obscpio |   3 +
 editorconfig-checker-3.1.1.obscpio |   3 +
 editorconfig-checker-3.1.2.obscpio |   3 +
 editorconfig-checker-3.2.0.obscpio |   3 +
 editorconfig-checker.changes       | 114 +++++++++++++++++++++++++++++
 editorconfig-checker.obsinfo       |   4 +
 editorconfig-checker.spec          |  66 +++++++++++++++++
 vendor.tar.gz                      |   3 +
 12 files changed, 249 insertions(+)
 create mode 100644 .gitattributes
 create mode 100644 .gitignore
 create mode 100644 _service
 create mode 100644 _servicedata
 create mode 100644 editorconfig-checker-3.0.3.obscpio
 create mode 100644 editorconfig-checker-3.1.1.obscpio
 create mode 100644 editorconfig-checker-3.1.2.obscpio
 create mode 100644 editorconfig-checker-3.2.0.obscpio
 create mode 100644 editorconfig-checker.changes
 create mode 100644 editorconfig-checker.obsinfo
 create mode 100644 editorconfig-checker.spec
 create mode 100644 vendor.tar.gz

diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..9b03811
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,23 @@
+## Default LFS
+*.7z filter=lfs diff=lfs merge=lfs -text
+*.bsp filter=lfs diff=lfs merge=lfs -text
+*.bz2 filter=lfs diff=lfs merge=lfs -text
+*.gem filter=lfs diff=lfs merge=lfs -text
+*.gz filter=lfs diff=lfs merge=lfs -text
+*.jar filter=lfs diff=lfs merge=lfs -text
+*.lz filter=lfs diff=lfs merge=lfs -text
+*.lzma filter=lfs diff=lfs merge=lfs -text
+*.obscpio filter=lfs diff=lfs merge=lfs -text
+*.oxt filter=lfs diff=lfs merge=lfs -text
+*.pdf filter=lfs diff=lfs merge=lfs -text
+*.png filter=lfs diff=lfs merge=lfs -text
+*.rpm filter=lfs diff=lfs merge=lfs -text
+*.tbz filter=lfs diff=lfs merge=lfs -text
+*.tbz2 filter=lfs diff=lfs merge=lfs -text
+*.tgz filter=lfs diff=lfs merge=lfs -text
+*.ttf filter=lfs diff=lfs merge=lfs -text
+*.txz filter=lfs diff=lfs merge=lfs -text
+*.whl filter=lfs diff=lfs merge=lfs -text
+*.xz filter=lfs diff=lfs merge=lfs -text
+*.zip filter=lfs diff=lfs merge=lfs -text
+*.zst filter=lfs diff=lfs merge=lfs -text
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..57affb6
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.osc
diff --git a/_service b/_service
new file mode 100644
index 0000000..5d88383
--- /dev/null
+++ b/_service
@@ -0,0 +1,22 @@
+<services>
+  <service name="obs_scm" mode="manual">
+    <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.2.0</param>
+    <param name="versionformat">@PARENT_TAG@</param>
+    <param name="versionrewrite-pattern">v(.*)</param>
+    <param name="changesgenerate">enable</param>
+  </service>
+  <service name="set_version" mode="manual">
+  </service>
+  <service name="go_modules" mode="manual">
+  </service>
+  <!-- services below are running at buildtime -->
+  <service name="tar" mode="buildtime">
+  </service>
+  <service name="recompress" mode="buildtime">
+    <param name="file">*.tar</param>
+    <param name="compression">gz</param>
+  </service>
+</services>
diff --git a/_servicedata b/_servicedata
new file mode 100644
index 0000000..950e662
--- /dev/null
+++ b/_servicedata
@@ -0,0 +1,4 @@
+<servicedata>
+<service name="tar_scm">
+                <param name="url">https://github.com/editorconfig-checker/editorconfig-checker</param>
+              <param name="changesrevision">3bf69e34d0c84ad7c3ba9e490c4b150139a28f55</param></service></servicedata>
\ No newline at end of file
diff --git a/editorconfig-checker-3.0.3.obscpio b/editorconfig-checker-3.0.3.obscpio
new file mode 100644
index 0000000..10ec7af
--- /dev/null
+++ b/editorconfig-checker-3.0.3.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:70cb398aedeaf81c5f619cdfd89e3b862e920993b3ab36840c613f4b52ecf6a2
+size 1915916
diff --git a/editorconfig-checker-3.1.1.obscpio b/editorconfig-checker-3.1.1.obscpio
new file mode 100644
index 0000000..18b684b
--- /dev/null
+++ b/editorconfig-checker-3.1.1.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ffd33107f1afb9aae85a87dd88692ffb8889a2c7008b362fbdce37139b73b2df
+size 1987596
diff --git a/editorconfig-checker-3.1.2.obscpio b/editorconfig-checker-3.1.2.obscpio
new file mode 100644
index 0000000..91d994f
--- /dev/null
+++ b/editorconfig-checker-3.1.2.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d5d30f25d450ee4d6f343dbed31ed8c5cd50d6a06efec78a774da1a886721252
+size 1988108
diff --git a/editorconfig-checker-3.2.0.obscpio b/editorconfig-checker-3.2.0.obscpio
new file mode 100644
index 0000000..62c8307
--- /dev/null
+++ b/editorconfig-checker-3.2.0.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:54d4e1507369041f1697d11ba0ba7a3068c248f714b0912f6364664e3a2812b2
+size 1994252
diff --git a/editorconfig-checker.changes b/editorconfig-checker.changes
new file mode 100644
index 0000000..52bd58f
--- /dev/null
+++ b/editorconfig-checker.changes
@@ -0,0 +1,114 @@
+-------------------------------------------------------------------
+Tue Jan 28 14:26:03 UTC 2025 - opensuse_buildservice@ojkastl.de
+
+- Update to version 3.2.0:
+  * chore(main): release 3.2.0 (#426)
+  * feat: add support for env var NO_COLOR (#429)
+  * chore(deps): bump anchore/sbom-action from 0.17.9 to 0.18.0
+    (#431)
+  * chore: replace token bound to a human by one bound to a bot
+    (#422)
+  * fix: improve default excludes (#427)
+  * feat: only output "0 errors found" when verbose output is
+    enabled (#423)
+  * chore: replace DOCKER_USERNAME secret by a variable (#421)
+  * chore: remove VERSION file (#419)
+  * chore: remove old build-binary-in-docker Dockerfile (#418)
+  * chore(deps): bump wagoid/commitlint-github-action from 6.2.0 to
+    6.2.1 (#424)
+
+-------------------------------------------------------------------
+Mon Jan 13 06:11:32 UTC 2025 - opensuse_buildservice@ojkastl.de
+
+- Update to version 3.1.2:
+  * chore(main): release 3.1.2 (#417)
+  * fix: provide both .tar.gz as well as .zip archives (#416)
+  * chore(deps): bump github.com/gkampitakis/go-snaps from 0.5.7 to
+    0.5.8 (#401)
+  * chore: use go1.23(.4) to build and release (#414)
+
+-------------------------------------------------------------------
+Thu Jan 09 06:41:18 UTC 2025 - opensuse_buildservice@ojkastl.de
+
+- Update to version 3.1.1:
+  * chore(main): release 3.1.1 (#412)
+  * fix: dockerfile expected binary at /, not /usr/bin/ #410 (#411)
+
+-------------------------------------------------------------------
+Wed Jan 08 12:04:18 UTC 2025 - opensuse_buildservice@ojkastl.de
+
+- Update to version 3.1.0:
+  * chore(main): release 3.1.0 (#408)
+  * chore(deps): bump anchore/sbom-action from 0.17.4 to 0.17.9
+    (#407)
+  * chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.7
+    to 1.4.8 (#406)
+  * fix: actually use the correct end marker (#405)
+  * fix: this release-please marker (#403)
+  * ci: build artifacts with GoReleaser and use Release Please
+    (#385)
+  * chore(deps): bump wagoid/commitlint-github-action from 6.1.2 to
+    6.2.0 (#400)
+  * chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.6
+    to 1.4.7 (#398)
+  * chore(deps): bump golang.org/x/text from 0.20.0 to 0.21.0
+    (#399)
+  * chore(deps): bump codecov/codecov-action from 4 to 5 (#396)
+  * chore(deps): bump golang.org/x/text from 0.19.0 to 0.20.0
+    (#395)
+  * refactor: replace Logger.LogMessage by storing an io.Writer
+    (#380)
+  * chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.5
+    to 1.4.6 (#393)
+  * docs: fix Hits-of-Code badge (#391)
+  * chore: rename our own .ecrc to the new name (#392)
+  * chore: pre-commit v2 (#384)
+  * chore: add a pre-commit config (#381)
+  * fix: add `.ecrc` deprecation warning (#389)
+  * fix: typo in config, `SpacesAftertabs` => `SpacesAfterTabs`
+    (#386)
+  * chore(deps): bump golang.org/x/text from 0.18.0 to 0.19.0
+    (#387)
+  * chore: load codecov token from secrets (#382)
+  * docs: add CONTRIBUTING.md and MAINTAINERS.md (#378)
+  * refactor: output FormatErrors (#377)
+  * feat: support `.editorconfig-checker.json` config (#375)
+  * docs: try to explain excludes better for #370 (#372)
+  * chore: docker `FROM…as` to `FROM…AS` (#376)
+  * feat: provide Codeclimate compatible report fromat (#367)
+  * chore(deps): bump golang.org/x/text from 0.17.0 to 0.18.0
+    (#369)
+  * chore(deps): bump wagoid/commitlint-github-action from 6.1.1 to
+    6.1.2 (#368)
+  * feat: consolidate adjacent error messages (#360)
+  * feat: editorconfig-checker-disable-next-line (#363)
+  * feat: add zip version when compressing all binaries (#321)
+    (#362)
+  * chore(deps): bump wagoid/commitlint-github-action from 6.0.2 to
+    6.1.1 (#361)
+  * chore(deps): bump golang.org/x/text from 0.16.0 to 0.17.0
+    (#358)
+  * chore(deps): bump wagoid/commitlint-github-action from 6.0.1 to
+    6.0.2 (#357)
+  * chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.4
+    to 1.4.5 (#356)
+
+-------------------------------------------------------------------
+Mon Dec 23 07:44:06 UTC 2024 - opensuse_buildservice@ojkastl.de
+
+- Update to version 3.0.3:
+  * chore(release): v3.0.3
+  * ci: publish docker image (#355)
+  * Revert "fix: check if multiple newlines are at EOF (#350)" (#354)
+  * chore(release): v3.0.2
+  * build: remove openbsd/mips64
+  * fix: check if multiple newlines are at EOF (#350)
+  * ci: run docker login and publish on main and on tags creation (#344)
+  * ci: remove changelog gen (#352)
+  * chore(deps): bump docker/build-push-action from 5 to 6 (#349)
+
+-------------------------------------------------------------------
+Mon Dec 23 07:43:27 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
+
+- new package editorconfig-checker: a tool to verify that your
+  files are in harmony with your .editorconfig
diff --git a/editorconfig-checker.obsinfo b/editorconfig-checker.obsinfo
new file mode 100644
index 0000000..cdf0139
--- /dev/null
+++ b/editorconfig-checker.obsinfo
@@ -0,0 +1,4 @@
+name: editorconfig-checker
+version: 3.2.0
+mtime: 1738005969
+commit: 3bf69e34d0c84ad7c3ba9e490c4b150139a28f55
diff --git a/editorconfig-checker.spec b/editorconfig-checker.spec
new file mode 100644
index 0000000..ceb081c
--- /dev/null
+++ b/editorconfig-checker.spec
@@ -0,0 +1,66 @@
+#
+# spec file for package editorconfig-checker
+#
+# Copyright (c) 2025 SUSE LLC
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
+
+
+%define executable_name ec
+
+Name:           editorconfig-checker
+Version:        3.2.0
+Release:        0
+Summary:        Tool to verify that your files are in harmony with your .editorconfig
+License:        MIT
+URL:            https://github.com/editorconfig-checker/editorconfig-checker
+Source:         %{name}-%{version}.tar.gz
+Source1:        vendor.tar.gz
+BuildRequires:  bash-completion
+BuildRequires:  fish
+BuildRequires:  go >= 1.22
+BuildRequires:  zsh
+Provides:       ec = %{version}
+
+%description
+This is a tool to check if your files consider your .editorconfig rules. Most
+tools—like linters, for example—only test one filetype and need an extra
+configuration. This tool only needs your .editorconfig to check all files.
+
+If you don't know about editorconfig already you can read about it here:
+editorconfig.org.
+
+%prep
+%autosetup -p 1 -a 1
+
+%build
+go build \
+   -mod=vendor \
+   -buildmode=pie \
+   -ldflags=" \
+   -X main.version=v%{version}" \
+   -o bin/%{executable_name} ./cmd/%{name}
+
+%install
+# Install the binary.
+install -D -m 0755 bin/%{executable_name} %{buildroot}/%{_bindir}/%{executable_name}
+
+%check
+%{buildroot}/%{_bindir}/%{executable_name} -version | grep v%{version}
+
+%files
+%doc README.md
+%license LICENSE
+%{_bindir}/%{executable_name}
+
+%changelog
diff --git a/vendor.tar.gz b/vendor.tar.gz
new file mode 100644
index 0000000..73e6a23
--- /dev/null
+++ b/vendor.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:aa9356926075a879485429450f5069f8b9c38778482d28241618f5ca234cc0f2
+size 1143052