Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kubectx for openSUSE:Factory checked in at 2026-03-25 21:21:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kubectx (Old) and /work/SRC/openSUSE:Factory/.kubectx.new.8177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kubectx" Wed Mar 25 21:21:44 2026 rev:5 rq:1342492 version:0.10.2 Changes: -------- --- /work/SRC/openSUSE:Factory/kubectx/kubectx.changes 2026-03-23 17:16:31.097535154 +0100 +++ /work/SRC/openSUSE:Factory/.kubectx.new.8177/kubectx.changes 2026-03-27 06:42:44.125204986 +0100 @@ -1,0 +2,23 @@ +Tue Mar 24 06:39:46 UTC 2026 - Johannes Kastl <[email protected]> + +- convert package to use the golang-based implementation of kubectx + instead of the bash-based one + +------------------------------------------------------------------- +Tue Mar 24 06:07:11 UTC 2026 - Johannes Kastl <[email protected]> + +- Update to version 0.10.2 (.1 was not released): + * Support interactive fzf selection for `kubectx -s` with no + arguments + * fix: use full git history in release workflow for changelog + generation + * Fix relative path resolution in exec credential plugins (#490) + * chore(deps): bump actions/checkout from 4 to 6 (#483) + * chore(deps): bump actions/github-script from 7 to 8 (#482) + * Support multiple kubeconfig files + (KUBECONFIG=file1:file2:file3) (#489) + * fix: replace deprecated set-output with GITHUB_OUTPUT env file + * chore(deps): bump github.com/fatih/color from 1.18.0 to 1.19.0 + * chore(deps): bump the kubernetes group with 2 updates + +------------------------------------------------------------------- Old: ---- kubectx-0.10.0.tar.gz New: ---- kubectx-0.10.2.obscpio kubectx.obsinfo vendor.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kubectx.spec ++++++ --- /var/tmp/diff_new_pack.RaWiR8/_old 2026-03-27 06:42:45.529262995 +0100 +++ /var/tmp/diff_new_pack.RaWiR8/_new 2026-03-27 06:42:45.529262995 +0100 @@ -17,30 +17,96 @@ Name: kubectx -Version: 0.10.0 +Version: 0.10.2 Release: 0 Summary: Faster way to switch between clusters and namespaces in kubectl License: Apache-2.0 URL: https://github.com/ahmetb/kubectx -Source: kubectx-%{version}.tar.gz -BuildRequires: go >= 1.13 -BuildArch: noarch +Source0: %{name}-%{version}.tar.gz +Source1: vendor.tar.gz +BuildRequires: bash-completion +BuildRequires: fish +BuildRequires: zsh +BuildRequires: golang(API) >= 1.25 +Requires: (kubernetes-client-provider or kuberlr or oc) %description kubectx is a utility to manage and switch between kubectl(1) contexts. +%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} +Requires: fish +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} +Requires: zsh +Supplements: (%{name} and zsh) +BuildArch: noarch + +%description -n %{name}-zsh-completion +zsh command line completion support for %{name}. + %prep -%setup -q +%autosetup -p 1 -a 1 %build -sed -i '/^#!/ s/env\ bash/bash/' %{name} +go build \ + -mod=vendor \ + -buildmode=pie \ + -ldflags="-X main.version=v%{version}" \ + -o bin/%{name} ./cmd/%{name} %install -# Install the script. -install -D -m 0755 %{name} "%{buildroot}/%{_bindir}/%{name}" +# Install the binary. +install -D -m 0755 bin/%{name} %{buildroot}/%{_bindir}/%{name} + +# create the bash completion file +mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions/ +install -D -m 0644 completion/kubectx.bash %{buildroot}%{_datarootdir}/bash-completion/completions/%{name} + +# create the fish completion file +mkdir -p %{buildroot}%{_datarootdir}/fish/vendor_completions.d/ +install -D -m 0644 completion/kubectx.fish %{buildroot}%{_datarootdir}/fish/vendor_completions.d/%{name}.fish + +# create the zsh completion file +mkdir -p %{buildroot}%{_datarootdir}/zsh/site-functions/ +install -D -m 0644 completion/_kubectx.zsh %{buildroot}%{_datarootdir}/zsh/site-functions/_%{name} + +%check +%{buildroot}/%{_bindir}/%{name} --version +%{buildroot}/%{_bindir}/%{name} --version | grep %{version} %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.RaWiR8/_old 2026-03-27 06:42:45.561264318 +0100 +++ /var/tmp/diff_new_pack.RaWiR8/_new 2026-03-27 06:42:45.565264483 +0100 @@ -1,16 +1,21 @@ <services> - <service name="tar_scm" mode="manual"> + <service name="obs_scm" mode="manual"> <param name="url">https://github.com/ahmetb/kubectx.git</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">refs/tags/v0.10.0</param> + <param name="revision">refs/tags/v0.10.2</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> <param name="versionrewrite-pattern">v(.*)</param> </service> <service name="set_version" mode="manual"> </service> - <service name="recompress" mode="manual"> + <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> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.RaWiR8/_old 2026-03-27 06:42:45.589265474 +0100 +++ /var/tmp/diff_new_pack.RaWiR8/_new 2026-03-27 06:42:45.593265640 +0100 @@ -3,6 +3,6 @@ <param name="url">https://github.com/ahmetb/kubectx</param> <param name="changesrevision">92e5b5f43b94b06bc38b0fbde1ee51e00079c39c</param></service><service name="tar_scm"> <param name="url">https://github.com/ahmetb/kubectx.git</param> - <param name="changesrevision">524c9b8f0db36a9e9b76828523f695f6285d024d</param></service></servicedata> + <param name="changesrevision">2cb7500e341cd83db0c57b1a6901bd37c4a2f267</param></service></servicedata> (No newline at EOF) ++++++ kubectx.obsinfo ++++++ name: kubectx version: 0.10.2 mtime: 1774308505 commit: 2cb7500e341cd83db0c57b1a6901bd37c4a2f267
