Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kompose for openSUSE:Factory checked in at 2024-12-16 19:17:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kompose (Old) and /work/SRC/openSUSE:Factory/.kompose.new.29675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kompose" Mon Dec 16 19:17:40 2024 rev:11 rq:1231361 version:1.35.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kompose/kompose.changes 2024-06-03 17:46:00.336614177 +0200 +++ /work/SRC/openSUSE:Factory/.kompose.new.29675/kompose.changes 2024-12-16 19:17:49.932194289 +0100 @@ -1,0 +2,48 @@ +Thu Dec 12 14:49:21 UTC 2024 - [email protected] + +- refactor spec +- add zsh and fish completion subpackages +- Update to version 1.35.0: + * 1.35.0 Release (#1971) + * docs: correcting the method name + * docs(configs): included configs section in conversion matrix + * docs: included notes for configs support + * feat(config-content): added support for content in config + * chore(deps)(deps): bump golang.org/x/tools from 0.25.0 to + 0.27.0 + * improve error output for git commands + * chore(deps)(deps): bump github.com/compose-spec/compose-go/v2 + * test(deploy-label): rename expected ephemeral label for test + * clean double to lower + * fix upercas issue + * fix retract issue + * chore(deps): bump pre-commit hook versions + * chore(deps): bump rexml from 3.2.5 to 3.3.9 in /docs + * Update kubernetes.go + * chore(deps)(deps): bump k8s.io/api from 0.31.1 to 0.31.2 + * test: added test for the ephemeral storage labels + * refactor: changed the deploy label to use the convention + * feat(deploy): support ephemeral storage requests limits labels + * chore(deps)(deps): bump github.com/compose-spec/compose-go/v2 + (#1931) + * chore(deps)(deps): bump k8s.io/api from 0.30.3 to 0.31.1 + (#1933) + * [completion] Add header #compdef (#1915) + * chore(deps)(deps): bump golang.org/x/tools from 0.24.0 to + 0.25.0 + * feature: support UID:GID in the user key + * chore(deps)(deps): bump github.com/fsouza/go-dockerclient + * chore(deps)(deps): bump k8s.io/api from 0.30.0 to 0.30.3 + (#1910) + * chore(deps)(deps): bump k8s.io/apimachinery from 0.30.0 to + 0.30.3 (#1911) + * chore(deps)(deps): bump golang.org/x/tools from 0.20.0 to + 0.24.0 (#1918) + * chore(deps)(deps): bump github.com/compose-spec/compose-go/v2 + (#1919) + * chore(deps)(deps): bump github.com/spf13/cast from 1.6.0 to + 1.7.0 (#1920) + * chore: upgrade fsouza/godockerclient and docker/docker packages + (#1921) + +------------------------------------------------------------------- Old: ---- kompose-1.34.0.obscpio New: ---- kompose-1.35.0.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kompose.spec ++++++ --- /var/tmp/diff_new_pack.efbhBz/_old 2024-12-16 19:17:51.220247770 +0100 +++ /var/tmp/diff_new_pack.efbhBz/_new 2024-12-16 19:17:51.220247770 +0100 @@ -17,7 +17,7 @@ Name: kompose -Version: 1.34.0 +Version: 1.35.0 Release: 0 Summary: Go from Docker Compose to Kubernetes License: Apache-2.0 @@ -25,59 +25,92 @@ URL: https://kompose.io Source0: %{name}-%{version}.tar.gz Source1: vendor.tar.gz -BuildRequires: gcc-c++ -BuildRequires: golang-packaging -BuildRequires: golang(API) >= 1.22 -# necessary for SLE15, Leap 15, Tumbleweed and some archs (no problem for other releases as well) +BuildRequires: bash-completion +BuildRequires: fish BuildRequires: python3-PyYAML -#!BuildIgnore: python2-PyYAML +BuildRequires: zsh +BuildRequires: golang(API) >= 1.22 %description -kompose is a tool to help users who are familiar with docker-compose move to Kubernetes. kompose takes a Docker Compose file and translates it into Kubernetes resources. kompose is a convenience tool to go from local Docker development to managing your application with Kubernetes. Transformation of the Docker Compose format to Kubernetes resources manifest may not be exact, but it helps tremendously when first deploying an application on Kubernetes. +kompose is a tool to help users who are familiar with docker-compose move to +Kubernetes. kompose takes a Docker Compose file and translates it into +Kubernetes resources. kompose is a convenience tool to go from local Docker +development to managing your application with Kubernetes. Transformation of the +Docker Compose format to Kubernetes resources manifest may not be exact, but it +helps tremendously when first deploying an application on Kubernetes. -%package bash-completion +%package -n %{name}-bash-completion Summary: Bash Completion for %{name} Group: System/Shells +Requires: %{name} = %{version} Requires: bash-completion -Supplements: (%{name} and bash) +Supplements: (%{name} and bash-completion) BuildArch: noarch -%description bash-completion -The official bash completion script for %{name}, generated during the build. +%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 %autosetup -a 1 %build -%ifarch ppc64 -go build \ - -mod=vendor \ - -tags extended -%else +# hash will be shortended by COMMIT_HASH:0:8 later +COMMIT_HASH="$(sed -n 's/commit: \(.*\)/\1/p' %_sourcedir/%{name}.obsinfo)" + go build \ -mod=vendor \ + -buildmode=pie \ -tags extended \ - -buildmode=pie -%endif + -ldflags="-X github.com/kubernetes/kompose/pkg/version.GITCOMMIT=${COMMIT_HASH:0:8}" \ + -o bin/%{name} %install # Install the binary. -install -D -m 0755 %{name} "%{buildroot}/%{_bindir}/%{name}" +install -D -m 0755 bin/%{name} %{buildroot}/%{_bindir}/%{name} -# Build the bash autocomplete file -mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/ -%{buildroot}/%{_bindir}/%{name} completion bash > %{name}-autocomplete.sh - -# Install the bash autocomplete file -install -Dm 644 %{name}-autocomplete.sh %{buildroot}%{_datadir}/bash-completion/completions/%{name} - -%check +# 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 %{_bindir}/%{name} %license LICENSE %doc README.md -%files bash-completion -%{_datadir}/bash-completion +%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.efbhBz/_old 2024-12-16 19:17:51.256249265 +0100 +++ /var/tmp/diff_new_pack.efbhBz/_new 2024-12-16 19:17:51.260249432 +0100 @@ -3,10 +3,10 @@ <param name="url">https://github.com/kubernetes/kompose.git</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">v1.34.0</param> + <param name="revision">v1.35.0</param> <param name="versionformat">@PARENT_TAG@</param> - <param name="changesgenerate">enable</param> <param name="versionrewrite-pattern">v(.*)</param> + <param name="changesgenerate">enable</param> </service> <service name="set_version" mode="manual"> </service> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.efbhBz/_old 2024-12-16 19:17:51.280250262 +0100 +++ /var/tmp/diff_new_pack.efbhBz/_new 2024-12-16 19:17:51.284250428 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/kubernetes/kompose.git</param> - <param name="changesrevision">cbf2835db7fe320617fe6c6064d9c7575e38800d</param></service></servicedata> + <param name="changesrevision">9532ceef3ad2bc7908db84f8140f6767106b932d</param></service></servicedata> (No newline at EOF) ++++++ kompose-1.34.0.obscpio -> kompose-1.35.0.obscpio ++++++ /work/SRC/openSUSE:Factory/kompose/kompose-1.34.0.obscpio /work/SRC/openSUSE:Factory/.kompose.new.29675/kompose-1.35.0.obscpio differ: char 48, line 1 ++++++ kompose.obsinfo ++++++ --- /var/tmp/diff_new_pack.efbhBz/_old 2024-12-16 19:17:51.336252587 +0100 +++ /var/tmp/diff_new_pack.efbhBz/_new 2024-12-16 19:17:51.340252753 +0100 @@ -1,5 +1,5 @@ name: kompose -version: 1.34.0 -mtime: 1717370446 -commit: cbf2835db7fe320617fe6c6064d9c7575e38800d +version: 1.35.0 +mtime: 1734011992 +commit: 9532ceef3ad2bc7908db84f8140f6767106b932d ++++++ vendor.tar.gz ++++++ ++++ 106718 lines of diff (skipped)
