Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gitleaks for openSUSE:Factory checked in at 2024-12-20 15:27:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gitleaks (Old) and /work/SRC/openSUSE:Factory/.gitleaks.new.1881 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gitleaks" Fri Dec 20 15:27:46 2024 rev:14 rq:1232760 version:8.21.3 Changes: -------- --- /work/SRC/openSUSE:Factory/gitleaks/gitleaks.changes 2024-10-30 17:34:42.924958743 +0100 +++ /work/SRC/openSUSE:Factory/.gitleaks.new.1881/gitleaks.changes 2024-12-20 15:28:19.474347098 +0100 @@ -1,0 +2,38 @@ +Fri Dec 20 06:06:58 UTC 2024 - Johannes Kastl <opensuse_buildserv...@ojkastl.de> + +- add completion subpackages + +------------------------------------------------------------------- +Fri Dec 20 05:58:24 UTC 2024 - opensuse_buildserv...@ojkastl.de + +- Update to version 8.21.3: + * go mod 1.23 + * Ensure keywords are downcased (#1633) + * feat: add settlemint api keys detection (#1663) + * feat(dir): better chunking (#1665) + * feat(report): allow user-defined templates (#1650) + * Add support for GitLab routable tokens (#1656) + * Add freemius secret key detection (#1611) + * fix(kubernetes): only match 'kind: secret' (#1649) + * feat: use STDOUT when report file not specified (#1642) + * fix(dir): skip opening file&dir if allowlist matches (#1653) + * fix: increase chunk size 10kb -> 100kb (#1652) + * feat: detect sentry.io tokens in the new format (#1640) + * refactor: pre-commit hooks (#1627) + * fix(easypost): only detect tokens of correct length (#1628) + * feat(dir): continue on permission error (#1621) + * Add human readable description for curl rules (#1625) + * Add option to include `Line` field in report (#1616) + * hm + * Update README.md + * nop for stupid build + * Add new jira api token pattern (#1601) + * feat: update global & generic allowlist (#1618) + * fix(vault-service-token): ensure that TPS contains digits + (#1614) + * Generate comprehensive secret samples (#1484) + * fix(aws): detect token in url (#1615) + * fix(rules): entropy, uppercase in samples (#1593) + * feat: tweak rules (#1608) + +------------------------------------------------------------------- Old: ---- gitleaks-8.21.2.obscpio New: ---- gitleaks-8.21.3.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gitleaks.spec ++++++ --- /var/tmp/diff_new_pack.17dtv1/_old 2024-12-20 15:28:20.078371986 +0100 +++ /var/tmp/diff_new_pack.17dtv1/_new 2024-12-20 15:28:20.078371986 +0100 @@ -17,39 +17,92 @@ # -%define __arch_install_post export NO_BRP_STRIP_DEBUG=true - Name: gitleaks -Version: 8.21.2 +Version: 8.21.3 Release: 0 Summary: Protect and discover secrets using Gitleaks License: MIT URL: https://github.com/gitleaks/gitleaks Source: %{name}-%{version}.tar.gz Source1: vendor.tar.gz -BuildRequires: go >= 1.19 +BuildRequires: bash-completion +BuildRequires: fish +BuildRequires: go >= 1.23 +BuildRequires: zsh %description Gitleaks is a SAST tool for detecting and preventing hardcoded secrets like passwords, api keys, and tokens in git repos. Gitleaks is an easy-to-use, all-in-one solution for detecting secrets, past or present, in your code. +%package -n %{name}-bash-completion +Summary: Bash Completion for %{name} +Group: System/Shells +Requires: %{name} = %{version} +Requires: bash-completion +Supplements: (%{name} and bash-completion) +BuildArch: noarch + +%description -n %{name}-bash-completion +Bash command line completion support for %{name}. + +%package -n %{name}-fish-completion +Summary: Fish Completion for %{name} +Group: System/Shells +Requires: %{name} = %{version} +Supplements: (%{name} and fish) +BuildArch: noarch + +%description -n %{name}-fish-completion +Fish command line completion support for %{name}. + +%package -n %{name}-zsh-completion +Summary: Zsh Completion for %{name} +Group: System/Shells +Requires: %{name} = %{version} +Supplements: (%{name} and zsh) +BuildArch: noarch + +%description -n %{name}-zsh-completion +zsh command line completion support for %{name}. + %prep -%setup -q -%setup -q -T -D -a 1 +%autosetup -a 1 %build go build \ -mod=vendor \ -buildmode=pie \ - -ldflags="-X=github.com/zricethezav/gitleaks/v8/cmd.Version=%{version}" + -ldflags="-X=github.com/zricethezav/gitleaks/v8/cmd.Version=%{version}" \ + -o bin/%{name} %install # Install the binary. -install -D -m 0755 %{name} "%{buildroot}/%{_bindir}/%{name}" +install -D -m 0755 bin/%{name} %{buildroot}/%{_bindir}/%{name} + +# create the bash completion file +mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions/ +%{buildroot}/%{_bindir}/%{name} completion bash > %{buildroot}%{_datarootdir}/bash-completion/completions/%{name} + +# create the fish completion file +mkdir -p %{buildroot}%{_datarootdir}/fish/vendor_completions.d/ +%{buildroot}/%{_bindir}/%{name} completion fish > %{buildroot}%{_datarootdir}/fish/vendor_completions.d/%{name}.fish + +# create the zsh completion file +mkdir -p %{buildroot}%{_datarootdir}/zsh/site-functions/ +%{buildroot}/%{_bindir}/%{name} completion zsh > %{buildroot}%{_datarootdir}/zsh/site-functions/_%{name} %files %doc README.md %license LICENSE %{_bindir}/%{name} +%files -n %{name}-bash-completion +%{_datarootdir}/bash-completion/completions/%{name} + +%files -n %{name}-fish-completion +%{_datarootdir}/fish/vendor_completions.d/%{name}.fish + +%files -n %{name}-zsh-completion +%{_datarootdir}/zsh/site-functions/_%{name} + ++++++ _service ++++++ --- /var/tmp/diff_new_pack.17dtv1/_old 2024-12-20 15:28:20.106373139 +0100 +++ /var/tmp/diff_new_pack.17dtv1/_new 2024-12-20 15:28:20.110373304 +0100 @@ -3,7 +3,7 @@ <param name="url">https://github.com/zricethezav/gitleaks</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">v8.21.2</param> + <param name="revision">v8.21.3</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="changesgenerate">enable</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.17dtv1/_old 2024-12-20 15:28:20.126373964 +0100 +++ /var/tmp/diff_new_pack.17dtv1/_new 2024-12-20 15:28:20.130374128 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/zricethezav/gitleaks</param> - <param name="changesrevision">43fae355e6fe4d99d2a7b240a224b85e2903aeb4</param></service></servicedata> + <param name="changesrevision">a9e6d8c9a73c848e0e0dcbbc62eed0ebe851be3f</param></service></servicedata> (No newline at EOF) ++++++ gitleaks-8.21.2.obscpio -> gitleaks-8.21.3.obscpio ++++++ ++++ 7139 lines of diff (skipped) ++++++ gitleaks.obsinfo ++++++ --- /var/tmp/diff_new_pack.17dtv1/_old 2024-12-20 15:28:20.354383359 +0100 +++ /var/tmp/diff_new_pack.17dtv1/_new 2024-12-20 15:28:20.358383524 +0100 @@ -1,5 +1,5 @@ name: gitleaks -version: 8.21.2 -mtime: 1730121925 -commit: 43fae355e6fe4d99d2a7b240a224b85e2903aeb4 +version: 8.21.3 +mtime: 1734622063 +commit: a9e6d8c9a73c848e0e0dcbbc62eed0ebe851be3f ++++++ vendor.tar.gz ++++++ ++++ 53639 lines of diff (skipped)