From d8ed9e09278d7b0915c310269c8ecc045f8ec79d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 06:08:34 +0000 Subject: [PATCH 01/16] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vcs-diff-lint.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcs-diff-lint.spec b/vcs-diff-lint.spec index 7747421..047b99c 100644 --- a/vcs-diff-lint.spec +++ b/vcs-diff-lint.spec @@ -1,6 +1,6 @@ Name: vcs-diff-lint Version: 4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: VCS Differential Code Analysis Tool BuildArch: noarch @@ -49,6 +49,9 @@ install -p vcs-diff-lint-csdiff-mypy %buildroot%_bindir %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Fri Nov 18 2022 Pavel Raiskup 4-1 - don't print Mypy errors from files that are not explicitly analyzed From 3ca98fbb1015db4f54883251de64e7677178de80 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 17:27:31 +0000 Subject: [PATCH 02/16] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- vcs-diff-lint.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcs-diff-lint.spec b/vcs-diff-lint.spec index 047b99c..1366c10 100644 --- a/vcs-diff-lint.spec +++ b/vcs-diff-lint.spec @@ -1,6 +1,6 @@ Name: vcs-diff-lint Version: 4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: VCS Differential Code Analysis Tool BuildArch: noarch @@ -49,6 +49,9 @@ install -p vcs-diff-lint-csdiff-mypy %buildroot%_bindir %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sat Jan 21 2023 Fedora Release Engineering - 4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 8bfbf557e78b7910589fcf20c08732b99f2f0cc1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 07:33:46 +0000 Subject: [PATCH 03/16] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- vcs-diff-lint.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcs-diff-lint.spec b/vcs-diff-lint.spec index 1366c10..7d39506 100644 --- a/vcs-diff-lint.spec +++ b/vcs-diff-lint.spec @@ -1,6 +1,6 @@ Name: vcs-diff-lint Version: 4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: VCS Differential Code Analysis Tool BuildArch: noarch @@ -49,6 +49,9 @@ install -p vcs-diff-lint-csdiff-mypy %buildroot%_bindir %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jul 22 2023 Fedora Release Engineering - 4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 17605a299f4fcf9c29170e2d3bbb6abbdcd43bdf Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 08:36:43 +0000 Subject: [PATCH 04/16] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- vcs-diff-lint.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcs-diff-lint.spec b/vcs-diff-lint.spec index 7d39506..f8dea27 100644 --- a/vcs-diff-lint.spec +++ b/vcs-diff-lint.spec @@ -1,6 +1,6 @@ Name: vcs-diff-lint Version: 4 -Release: 4%{?dist} +Release: 5%{?dist} Summary: VCS Differential Code Analysis Tool BuildArch: noarch @@ -49,6 +49,9 @@ install -p vcs-diff-lint-csdiff-mypy %buildroot%_bindir %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Sat Jan 27 2024 Fedora Release Engineering - 4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 7dddd2753874493e22a3edd23bb77c93db9d2d39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Fri, 26 Jul 2024 03:30:49 +0200 Subject: [PATCH 05/16] convert GPLv2+ license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- vcs-diff-lint.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/vcs-diff-lint.spec b/vcs-diff-lint.spec index f8dea27..6bb764a 100644 --- a/vcs-diff-lint.spec +++ b/vcs-diff-lint.spec @@ -1,10 +1,11 @@ Name: vcs-diff-lint Version: 4 -Release: 5%{?dist} +Release: 6%{?dist} Summary: VCS Differential Code Analysis Tool BuildArch: noarch -License: GPLv2+ +# Automatically converted from old format: GPLv2+ - review is highly recommended. +License: GPL-2.0-or-later URL: https://github.com/fedora-copr/vcs-diff-lint # Source is created by: # git clone %%url && cd vcs-diff-lint @@ -49,6 +50,9 @@ install -p vcs-diff-lint-csdiff-mypy %buildroot%_bindir %changelog +* Fri Jul 26 2024 Miroslav Suchý - 4-6 +- convert license to SPDX + * Sat Jul 20 2024 Fedora Release Engineering - 4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From e2c779266efadb299dbcafad032932cbad9b5bc8 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Wed, 28 Aug 2024 10:04:41 +0200 Subject: [PATCH 06/16] Update vcs-diff-lint to 6.1-1 Resolves: # - linter-tag option added --- sources | 2 +- vcs-diff-lint.spec | 31 ++++++++++++++++--------------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/sources b/sources index a62199f..82ed17b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vcs-diff-lint-4.tar.gz) = 8e1620b33efa4069d80ac4df307efa1a11104e65f24a41313356e234ec4762bca78bce12251571cff083ec179f69688593e6769f4069f382af08e3a92b34897f +SHA512 (vcs-diff-lint-6.1.tar.gz) = 97ee89f4708d2568e30422eabf8ca863e10688909e42b11d5206003cdd14f5b37676fdda2ac45df0992011d68052a59abc96d6e878b8459627a3bb047aa65505 diff --git a/vcs-diff-lint.spec b/vcs-diff-lint.spec index 6bb764a..3d9a254 100644 --- a/vcs-diff-lint.spec +++ b/vcs-diff-lint.spec @@ -1,10 +1,9 @@ Name: vcs-diff-lint -Version: 4 -Release: 6%{?dist} +Version: 6.1 +Release: 1%{?dist} Summary: VCS Differential Code Analysis Tool BuildArch: noarch -# Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later URL: https://github.com/fedora-copr/vcs-diff-lint # Source is created by: @@ -16,6 +15,8 @@ Requires: csdiff Requires: git Requires: pylint Requires: python3-mypy +Requires: python3-types-requests +Requires: ruff %description Analyze code, and print only reports related to a particular change. @@ -41,6 +42,7 @@ install -d %buildroot%_bindir install -p vcs-diff-lint %buildroot%_bindir install -p vcs-diff-lint-csdiff-pylint %buildroot%_bindir install -p vcs-diff-lint-csdiff-mypy %buildroot%_bindir +install -p vcs-diff-lint-csdiff-ruff %buildroot%_bindir %files @@ -50,20 +52,19 @@ install -p vcs-diff-lint-csdiff-mypy %buildroot%_bindir %changelog -* Fri Jul 26 2024 Miroslav Suchý - 4-6 -- convert license to SPDX +* Wed Aug 28 2024 Pavel Raiskup 6.1-1 +- rpm: use SPDX License format -* Sat Jul 20 2024 Fedora Release Engineering - 4-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild +* Wed Aug 28 2024 Pavel Raiskup 6-1 +- bugfix: correctly honor file renames +- bugfix: fix subproject detection for git worktree +- ruff: do full project scans (since Ruff is fast enough) +- check the new (changed) code in a side-directory -* Sat Jan 27 2024 Fedora Release Engineering - 4-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sat Jul 22 2023 Fedora Release Engineering - 4-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Sat Jan 21 2023 Fedora Release Engineering - 4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild +* Mon Aug 26 2024 Pavel Raiskup - 5-1 +- support for fast "ruff" analyser +- --linter-tag option added +- subproject detection by .vcs-diff-lint.yml * Fri Nov 18 2022 Pavel Raiskup 4-1 - don't print Mypy errors from files that are not explicitly analyzed From 5eeeb1690ce3a5a3455bb0f29e742b4bab4b1afe Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Sat, 7 Sep 2024 07:22:13 +0200 Subject: [PATCH 07/16] Update vcs-diff-lint to 6.2-1 --- sources | 2 +- vcs-diff-lint.spec | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/sources b/sources index 82ed17b..22c3822 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vcs-diff-lint-6.1.tar.gz) = 97ee89f4708d2568e30422eabf8ca863e10688909e42b11d5206003cdd14f5b37676fdda2ac45df0992011d68052a59abc96d6e878b8459627a3bb047aa65505 +SHA512 (vcs-diff-lint-6.2.tar.gz) = beff40e7b05217618b08a3f3211955c692cbbfa4015524ef2b30e9321eb232bd7599a68551cfc6054684ea2ae2ed1ddc33993b7c5d424988263cbc8b82971013 diff --git a/vcs-diff-lint.spec b/vcs-diff-lint.spec index 3d9a254..70fea28 100644 --- a/vcs-diff-lint.spec +++ b/vcs-diff-lint.spec @@ -1,5 +1,5 @@ Name: vcs-diff-lint -Version: 6.1 +Version: 6.2 Release: 1%{?dist} Summary: VCS Differential Code Analysis Tool BuildArch: noarch @@ -52,6 +52,13 @@ install -p vcs-diff-lint-csdiff-ruff %buildroot%_bindir %changelog +* Sat Sep 07 2024 Pavel Raiskup 6.2-1 +- drop unnecessary newline in the output +- ruff: don't prefix the error locations with absolute path +- ruff: don't optimize out the full Ruff run +- print the git sha1 being analyzed +- bugfix: correct matching filenames with endswith() + * Wed Aug 28 2024 Pavel Raiskup 6.1-1 - rpm: use SPDX License format From 115c1044667f7920a9cccdfa55df49de3dbe6fb8 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 20 Sep 2024 09:49:29 +0200 Subject: [PATCH 08/16] Update vcs-diff-lint to 6.3-1 --- sources | 2 +- vcs-diff-lint.spec | 17 +++++++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/sources b/sources index 22c3822..e60e1eb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vcs-diff-lint-6.2.tar.gz) = beff40e7b05217618b08a3f3211955c692cbbfa4015524ef2b30e9321eb232bd7599a68551cfc6054684ea2ae2ed1ddc33993b7c5d424988263cbc8b82971013 +SHA512 (vcs-diff-lint-6.3.tar.gz) = 186a5cbe764cb1fd8dcbd6e49bf65742c5e443058917393e86509b5ce7fd51564c902f5eecaf3b9bbe9624b7965bb5c65bf477b58876e96c8ce10e2ed0b8640e diff --git a/vcs-diff-lint.spec b/vcs-diff-lint.spec index 70fea28..fadb85d 100644 --- a/vcs-diff-lint.spec +++ b/vcs-diff-lint.spec @@ -1,5 +1,5 @@ Name: vcs-diff-lint -Version: 6.2 +Version: 6.3 Release: 1%{?dist} Summary: VCS Differential Code Analysis Tool BuildArch: noarch @@ -13,10 +13,10 @@ Source0: %name-%version.tar.gz Requires: csdiff Requires: git -Requires: pylint -Requires: python3-mypy -Requires: python3-types-requests -Requires: ruff +Recommends: pylint +Recommends: python3-mypy +Recommends: python3-types-requests +Recommends: ruff %description Analyze code, and print only reports related to a particular change. @@ -47,11 +47,16 @@ install -p vcs-diff-lint-csdiff-ruff %buildroot%_bindir %files %license LICENSE -%doc README +%doc README.md %_bindir/vcs-diff-lint* %changelog +* Fri Sep 20 2024 Pavel Raiskup 6.3-1 +- don't require all the linters, just recommend them +- use requested linters only if they are available +- nicer info/debug output + * Sat Sep 07 2024 Pavel Raiskup 6.2-1 - drop unnecessary newline in the output - ruff: don't prefix the error locations with absolute path From 1ed0dd062da704dc590ccd8735ddc3f77911a812 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Wed, 16 Oct 2024 10:33:33 +0200 Subject: [PATCH 09/16] Update vcs-diff-lint to 6.4-1 --- .gitignore | 1 + sources | 3 ++- vcs-diff-lint.spec | 32 +++++++++++++++++++++++++++++++- 3 files changed, 34 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3c1a48d..2f68f06 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /vcs-diff-lint-*.tar.gz +/vcs-diff-lint-testdata-1.0.0.bundle diff --git a/sources b/sources index e60e1eb..980365b 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ -SHA512 (vcs-diff-lint-6.3.tar.gz) = 186a5cbe764cb1fd8dcbd6e49bf65742c5e443058917393e86509b5ce7fd51564c902f5eecaf3b9bbe9624b7965bb5c65bf477b58876e96c8ce10e2ed0b8640e +SHA512 (vcs-diff-lint-6.4.tar.gz) = b1e1d76fca57c17ccc7c549e03d864e8c4febf8f3abd735d0ac9fa4ba26d867ba667b9523bdd4362fa699b70d7e79cf8adbd35633be4f49995d508f7373cbf49 +SHA512 (vcs-diff-lint-testdata-1.0.0.bundle) = 59da14b42cf00ee793962784240e580a884312be3d1de1d7edc020c56c43afd4a6b6d4492d850a007b330add5569f45e48e764b1a0f6d09c0c8c350c7aa0320e diff --git a/vcs-diff-lint.spec b/vcs-diff-lint.spec index fadb85d..183931f 100644 --- a/vcs-diff-lint.spec +++ b/vcs-diff-lint.spec @@ -1,9 +1,16 @@ Name: vcs-diff-lint -Version: 6.3 +Version: 6.4 Release: 1%{?dist} Summary: VCS Differential Code Analysis Tool BuildArch: noarch +%if 0%{?rhel} == 10 +# missing csdiff / pylint +%bcond_with check +%else +%bcond_without check +%endif + License: GPL-2.0-or-later URL: https://github.com/fedora-copr/vcs-diff-lint # Source is created by: @@ -11,6 +18,8 @@ URL: https://github.com/fedora-copr/vcs-diff-lint # tito build --tgz --tag %%name-%%version-%%release Source0: %name-%version.tar.gz +Source1: https://github.com/praiskup/vcs-diff-lint-testdata/releases/download/v1.0.0/vcs-diff-lint-testdata-1.0.0.bundle + Requires: csdiff Requires: git Recommends: pylint @@ -18,6 +27,15 @@ Recommends: python3-mypy Recommends: python3-types-requests Recommends: ruff +%if %{with check} +BuildRequires: csdiff +BuildRequires: git +BuildRequires: pylint +BuildRequires: rpmdevtools +BuildRequires: python3-pytest +%endif + + %description Analyze code, and print only reports related to a particular change. @@ -31,6 +49,9 @@ added (or even fixed, as opt-in) analyzers' warnings. %prep %autosetup +%if %{with check} +cp %{SOURCE1} ./ +%endif %build @@ -44,6 +65,11 @@ install -p vcs-diff-lint-csdiff-pylint %buildroot%_bindir install -p vcs-diff-lint-csdiff-mypy %buildroot%_bindir install -p vcs-diff-lint-csdiff-ruff %buildroot%_bindir +%if %{with check} +%check +./run-tests.sh --no-cov +%endif + %files %license LICENSE @@ -52,6 +78,10 @@ install -p vcs-diff-lint-csdiff-ruff %buildroot%_bindir %changelog +* Wed Oct 16 2024 Pavel Raiskup 6.4-1 +- add a basic test-suite +- drop duplicated check for empty list of changed files + * Fri Sep 20 2024 Pavel Raiskup 6.3-1 - don't require all the linters, just recommend them - use requested linters only if they are available From 1f9b5e542f3e576196b8129087d1760d39be5fa9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 14:09:22 +0000 Subject: [PATCH 10/16] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- vcs-diff-lint.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcs-diff-lint.spec b/vcs-diff-lint.spec index 183931f..add7eec 100644 --- a/vcs-diff-lint.spec +++ b/vcs-diff-lint.spec @@ -1,6 +1,6 @@ Name: vcs-diff-lint Version: 6.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: VCS Differential Code Analysis Tool BuildArch: noarch @@ -78,6 +78,9 @@ install -p vcs-diff-lint-csdiff-ruff %buildroot%_bindir %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 6.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Wed Oct 16 2024 Pavel Raiskup 6.4-1 - add a basic test-suite - drop duplicated check for empty list of changed files From 64154e3d372a3837497f2a997c4cde2b33f8d200 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 19:59:29 +0000 Subject: [PATCH 11/16] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- vcs-diff-lint.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcs-diff-lint.spec b/vcs-diff-lint.spec index add7eec..82577a6 100644 --- a/vcs-diff-lint.spec +++ b/vcs-diff-lint.spec @@ -1,6 +1,6 @@ Name: vcs-diff-lint Version: 6.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: VCS Differential Code Analysis Tool BuildArch: noarch @@ -78,6 +78,9 @@ install -p vcs-diff-lint-csdiff-ruff %buildroot%_bindir %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 6.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sun Jan 19 2025 Fedora Release Engineering - 6.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From f0ecdf8b6058933e93379badfcf74dfee90764ea Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 19:48:46 +0000 Subject: [PATCH 12/16] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- vcs-diff-lint.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcs-diff-lint.spec b/vcs-diff-lint.spec index 82577a6..ba8dbd4 100644 --- a/vcs-diff-lint.spec +++ b/vcs-diff-lint.spec @@ -1,6 +1,6 @@ Name: vcs-diff-lint Version: 6.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: VCS Differential Code Analysis Tool BuildArch: noarch @@ -78,6 +78,9 @@ install -p vcs-diff-lint-csdiff-ruff %buildroot%_bindir %changelog +* Sat Jan 17 2026 Fedora Release Engineering - 6.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Fri Jul 25 2025 Fedora Release Engineering - 6.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 322eeb29bdeac5dcaa3de9cf192a0fe5da45260c Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 24 Apr 2026 12:03:34 +0200 Subject: [PATCH 13/16] Update vcs-diff-lint to 6.5-1 --- sources | 2 +- vcs-diff-lint.spec | 22 ++++++++++------------ 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/sources b/sources index 980365b..0501abb 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (vcs-diff-lint-6.4.tar.gz) = b1e1d76fca57c17ccc7c549e03d864e8c4febf8f3abd735d0ac9fa4ba26d867ba667b9523bdd4362fa699b70d7e79cf8adbd35633be4f49995d508f7373cbf49 +SHA512 (vcs-diff-lint-6.5.tar.gz) = cb4af88c38ffb673c56c831ac70d1242ddb4d5d53b0f234eb876272ddc4f71446edf72c69ceaa9fc295fefee9be5d4617d6fd2c2bc29107a3840f75841670598 SHA512 (vcs-diff-lint-testdata-1.0.0.bundle) = 59da14b42cf00ee793962784240e580a884312be3d1de1d7edc020c56c43afd4a6b6d4492d850a007b330add5569f45e48e764b1a0f6d09c0c8c350c7aa0320e diff --git a/vcs-diff-lint.spec b/vcs-diff-lint.spec index ba8dbd4..5276cef 100644 --- a/vcs-diff-lint.spec +++ b/vcs-diff-lint.spec @@ -1,6 +1,6 @@ Name: vcs-diff-lint -Version: 6.4 -Release: 4%{?dist} +Version: 6.5 +Release: 1%{?dist} Summary: VCS Differential Code Analysis Tool BuildArch: noarch @@ -21,18 +21,20 @@ Source0: %name-%version.tar.gz Source1: https://github.com/praiskup/vcs-diff-lint-testdata/releases/download/v1.0.0/vcs-diff-lint-testdata-1.0.0.bundle Requires: csdiff -Requires: git +Requires: git-core Recommends: pylint Recommends: python3-mypy Recommends: python3-types-requests Recommends: ruff +Recommends: yamllint %if %{with check} BuildRequires: csdiff -BuildRequires: git +BuildRequires: git-core BuildRequires: pylint BuildRequires: rpmdevtools BuildRequires: python3-pytest +BuildRequires: yamllint %endif @@ -64,6 +66,7 @@ install -p vcs-diff-lint %buildroot%_bindir install -p vcs-diff-lint-csdiff-pylint %buildroot%_bindir install -p vcs-diff-lint-csdiff-mypy %buildroot%_bindir install -p vcs-diff-lint-csdiff-ruff %buildroot%_bindir +install -p vcs-diff-lint-csdiff-yamllint %buildroot%_bindir %if %{with check} %check @@ -78,14 +81,9 @@ install -p vcs-diff-lint-csdiff-ruff %buildroot%_bindir %changelog -* Sat Jan 17 2026 Fedora Release Engineering - 6.4-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Fri Jul 25 2025 Fedora Release Engineering - 6.4-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Sun Jan 19 2025 Fedora Release Engineering - 6.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild +* Fri Apr 24 2026 Pavel Raiskup 6.5-1 +- yamllint support +- depend on git-core instead of git * Wed Oct 16 2024 Pavel Raiskup 6.4-1 - add a basic test-suite From f1dd919d1f723014aef0e978c3c3c6a696a608b8 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 24 Apr 2026 14:19:28 +0200 Subject: [PATCH 14/16] Update vcs-diff-lint to 6.6-1 --- sources | 2 +- vcs-diff-lint.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sources b/sources index 0501abb..6641efd 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (vcs-diff-lint-6.5.tar.gz) = cb4af88c38ffb673c56c831ac70d1242ddb4d5d53b0f234eb876272ddc4f71446edf72c69ceaa9fc295fefee9be5d4617d6fd2c2bc29107a3840f75841670598 +SHA512 (vcs-diff-lint-6.6.tar.gz) = 44eacce061b8b340c01e89417bcbfb392efce446390935a81bb7a94158f30f5e78cf59ece5839af4bcd5e110b18ab0c93fac3fa58b147932181df0264379dd49 SHA512 (vcs-diff-lint-testdata-1.0.0.bundle) = 59da14b42cf00ee793962784240e580a884312be3d1de1d7edc020c56c43afd4a6b6d4492d850a007b330add5569f45e48e764b1a0f6d09c0c8c350c7aa0320e diff --git a/vcs-diff-lint.spec b/vcs-diff-lint.spec index 5276cef..7b5e7aa 100644 --- a/vcs-diff-lint.spec +++ b/vcs-diff-lint.spec @@ -1,5 +1,5 @@ Name: vcs-diff-lint -Version: 6.5 +Version: 6.6 Release: 1%{?dist} Summary: VCS Differential Code Analysis Tool BuildArch: noarch @@ -81,6 +81,9 @@ install -p vcs-diff-lint-csdiff-yamllint %buildroot%_bindir %changelog +* Fri Apr 24 2026 Pavel Raiskup 6.6-1 +- Fix stdout buffering + * Fri Apr 24 2026 Pavel Raiskup 6.5-1 - yamllint support - depend on git-core instead of git From 6a08bf6f4150596947654fb3c4281cffdcb7362c Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Sun, 26 Apr 2026 01:06:45 +0200 Subject: [PATCH 15/16] Update vcs-diff-lint to 6.7-1 --- sources | 2 +- vcs-diff-lint.spec | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/sources b/sources index 6641efd..0058039 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (vcs-diff-lint-6.6.tar.gz) = 44eacce061b8b340c01e89417bcbfb392efce446390935a81bb7a94158f30f5e78cf59ece5839af4bcd5e110b18ab0c93fac3fa58b147932181df0264379dd49 +SHA512 (vcs-diff-lint-6.7.tar.gz) = 0ac37a5b22309811d636aa4123c513df5e9f21ebac9df94b599dd6d04d293088c96c68b46675fb32bdd8345b3a7c73b60b7725103344246aaccbab8c779f69ae SHA512 (vcs-diff-lint-testdata-1.0.0.bundle) = 59da14b42cf00ee793962784240e580a884312be3d1de1d7edc020c56c43afd4a6b6d4492d850a007b330add5569f45e48e764b1a0f6d09c0c8c350c7aa0320e diff --git a/vcs-diff-lint.spec b/vcs-diff-lint.spec index 7b5e7aa..555879f 100644 --- a/vcs-diff-lint.spec +++ b/vcs-diff-lint.spec @@ -1,5 +1,5 @@ Name: vcs-diff-lint -Version: 6.6 +Version: 6.7 Release: 1%{?dist} Summary: VCS Differential Code Analysis Tool BuildArch: noarch @@ -81,6 +81,11 @@ install -p vcs-diff-lint-csdiff-yamllint %buildroot%_bindir %changelog +* Sun Apr 26 2026 Pavel Raiskup 6.7-1 +- Handle (no traceback) "invalid-syntax" code from Ruff +- log.debug() all git commands +- do not let "git apply" pollute stderr with whitespace errors + * Fri Apr 24 2026 Pavel Raiskup 6.6-1 - Fix stdout buffering From b12575ebc2d2b7074a59c1af871135b3a11ea6f3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:23:30 +0000 Subject: [PATCH 16/16] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- vcs-diff-lint.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcs-diff-lint.spec b/vcs-diff-lint.spec index 555879f..e706c6d 100644 --- a/vcs-diff-lint.spec +++ b/vcs-diff-lint.spec @@ -1,6 +1,6 @@ Name: vcs-diff-lint Version: 6.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: VCS Differential Code Analysis Tool BuildArch: noarch @@ -81,6 +81,9 @@ install -p vcs-diff-lint-csdiff-yamllint %buildroot%_bindir %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 6.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Sun Apr 26 2026 Pavel Raiskup 6.7-1 - Handle (no traceback) "invalid-syntax" code from Ruff - log.debug() all git commands