Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package arkade for openSUSE:Factory checked 
in at 2026-06-09 14:30:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/arkade (Old)
 and      /work/SRC/openSUSE:Factory/.arkade.new.2375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "arkade"

Tue Jun  9 14:30:57 2026 rev:80 rq:1358150 version:0.11.99

Changes:
--------
--- /work/SRC/openSUSE:Factory/arkade/arkade.changes    2026-03-02 
17:39:46.061955896 +0100
+++ /work/SRC/openSUSE:Factory/.arkade.new.2375/arkade.changes  2026-06-09 
14:32:55.203931797 +0200
@@ -1,0 +2,50 @@
+Tue Jun 09 08:57:37 UTC 2026 - Johannes Kastl 
<[email protected]>
+
+- Update to version 0.11.99:
+  * Fix amp and update go.mod
+- Update to version 0.11.98:
+  * Updates on formatting for releases
+- Update to version 0.11.97:
+  * Add mediamtx
+- Update to version 0.11.96:
+  * Show progress of "arkade oci install"
+- Update to version 0.11.95:
+  * Update vendor
+- Update to version 0.11.94:
+  * Update template for polaris tool due to upstream change
+- Update to version 0.11.93:
+  * Fix for --latest=true flag for releases
+- Update to version 0.11.92:
+  * Fix gofmt
+  * Add jsongrep and more flexible docker upgrade command
+- Update to version 0.11.91:
+  * Anonymous auth for openfaasltd images
+- Update to version 0.11.90:
+  * Print out helpers/hints for setting PATH for .arkade/bin
+- Update to version 0.11.89:
+  * Sync semver v3 with gha-bump
+  * Upgrade semver to v3
+- Update to version 0.11.88:
+  * Fix for argocd's massive CRDs
+- Update to version 0.11.87:
+  * Add gen command to docker command
+  * Update for message for arkade installation
+- Update to version 0.11.86:
+  * Quick shortcut for superterm
+- Update to version 0.11.85:
+  * Add argo workflow tool
+  * Fix errors left over from codex
+  * We can do better than this
+  * Update sponsors section
+  * Updates for support messages
+  * Update sponsor messages to let people know about slicer
+- Update to version 0.11.84:
+  * Bring fstail, gha-bump in-process via vendor
+
+-------------------------------------------------------------------
+Tue Apr 28 08:57:21 UTC 2026 - Johannes Kastl 
<[email protected]>
+
+- move vendoring from '_service' file into script called by Make,
+  due to upstream changes in 0.11.84
+
+-------------------------------------------------------------------

Old:
----
  arkade-0.11.83.obscpio

New:
----
  Makefile
  PACKAGING_README.md
  arkade-0.11.99.obscpio
  fstail.tar.gz
  gha-bump.tar.gz
  vendor_go_modules.sh

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ arkade.spec ++++++
--- /var/tmp/diff_new_pack.zQJCg1/_old  2026-06-09 14:33:01.060174521 +0200
+++ /var/tmp/diff_new_pack.zQJCg1/_new  2026-06-09 14:33:01.084175515 +0200
@@ -17,13 +17,19 @@
 
 
 Name:           arkade
-Version:        0.11.83
+Version:        0.11.99
 Release:        0
 Summary:        Open Source Kubernetes Marketplace
 License:        Apache-2.0
 URL:            https://github.com/alexellis/arkade
 Source:         arkade-%{version}.tar.gz
 Source1:        vendor.tar.gz
+Source2:        gha-bump.tar.gz
+Source3:        fstail.tar.gz
+#
+Source11:       Makefile
+Source12:       PACKAGING_README.md
+Source13:       vendor_go_modules.sh
 BuildRequires:  bash-completion
 BuildRequires:  zsh
 BuildRequires:  golang(API) >= 1.25
@@ -57,6 +63,8 @@
 
 %prep
 %autosetup -p 1 -a 1
+tar xvf %{SOURCE2} --directory ../
+tar xvf %{SOURCE3} --directory ../
 
 %build
 # hash will be shortened by COMMIT_HASH:0:8 later
@@ -82,6 +90,11 @@
 mkdir -p %{buildroot}%{_datarootdir}/zsh/site-functions/
 %{buildroot}/%{_bindir}/%{name} completion zsh > 
%{buildroot}%{_datarootdir}/zsh/site-functions/_%{name}
 
+%check
+COMMIT_HASH="$(sed -n 's/commit: \(.*\)/\1/p' %_sourcedir/%{name}.obsinfo)"
+%{buildroot}/%{_bindir}/%{name} version | grep v%{version}
+%{buildroot}/%{_bindir}/%{name} version | grep "${COMMIT_HASH:0:8}"
+
 %files
 %doc README.md
 %license LICENSE

++++++ Makefile ++++++
.ONESHELL:
SHELL := /bin/bash

NAME = arkade
SPEC = arkade.spec

.SILENT: clean obs_services go_modules
default: clean obs_services go_modules

clean:
        rm -rf $(NAME) $(NAME)-*.obscpio $(NAME)-*.tar.gz fstail fstail.tar.gz 
gha-bump gha-bump.tar.gz vendor.tar.gz

obs_services:
        osc service manualrun

go_modules:
        podman run \
                -ti \
                --rm \
                --pull=always \
                -v .:/data/ \
                registry.opensuse.org/opensuse/leap:16.0 \
                bash /data/vendor_go_modules.sh $(NAME) go1.26

++++++ PACKAGING_README.md ++++++
# Packaging arkade

arkade recently introduced changes in the `go.mod` file that prevent using the
`go_modules` OBS service like before. So, you need to vendor the go modules
differently.
To do that, you need to have `make` and `podman` installed locally.
For the OBS workflow you also need `obs-service-tar_scm` and
`obs-service-recompress`.

1. Change the version in the spec file
2. Run `make`
3. Check the autogenerated changelog entry
4. Commit the changes as usual
5. If desired, remove the container image used for vendoring:

   ```
   podman image rm registry.opensuse.org/opensuse/leap:16.0
   ```

++++++ _service ++++++
--- /var/tmp/diff_new_pack.zQJCg1/_old  2026-06-09 14:33:01.796205027 +0200
+++ /var/tmp/diff_new_pack.zQJCg1/_new  2026-06-09 14:33:01.824206188 +0200
@@ -3,14 +3,34 @@
     <param name="url">https://github.com/alexellis/arkade</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
-    <param name="revision">0.11.83</param>
+    <param name="revision">0.11.99</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="versionrewrite-pattern">v(.*)</param>
     <param name="changesgenerate">enable</param>
   </service>
+  <service name="tar_scm" mode="manual">
+    <param name="url">https://github.com/alexellis/gha-bump.git</param>
+    <param name="scm">git</param>
+    <param name="revision">master</param>
+    <param name="submodules">disable</param>
+    <param name="exclude">.git</param>
+    <param name="filename">gha-bump</param>
+    <param name="without-version">yes</param>
+  </service>
+  <service name="tar_scm" mode="manual">
+    <param name="url">https://github.com/alexellis/fstail.git</param>
+    <param name="scm">git</param>
+    <param name="revision">master</param>
+    <param name="submodules">disable</param>
+    <param name="exclude">.git</param>
+    <param name="filename">fstail</param>
+    <param name="without-version">yes</param>
+  </service>
   <service name="set_version" mode="manual">
   </service>
-  <service name="go_modules" mode="manual">
+  <service name="recompress" mode="manual">
+    <param name="file">*.tar</param>
+    <param name="compression">gz</param>
   </service>
   <!-- services below are running at buildtime -->
   <service name="tar" mode="buildtime">

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.zQJCg1/_old  2026-06-09 14:33:02.036214975 +0200
+++ /var/tmp/diff_new_pack.zQJCg1/_new  2026-06-09 14:33:02.084216964 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/alexellis/arkade</param>
-              <param 
name="changesrevision">23a5237b473266dbe0a94b3a9b6ac102ca23fb5d</param></service></servicedata>
+              <param 
name="changesrevision">294d1a4321b6304875b45e1fb78a3437833c722a</param></service></servicedata>
 (No newline at EOF)
 

++++++ arkade-0.11.83.obscpio -> arkade-0.11.99.obscpio ++++++
++++ 92758 lines of diff (skipped)

++++++ arkade.obsinfo ++++++
--- /var/tmp/diff_new_pack.zQJCg1/_old  2026-06-09 14:33:07.224430011 +0200
+++ /var/tmp/diff_new_pack.zQJCg1/_new  2026-06-09 14:33:07.284432498 +0200
@@ -1,5 +1,5 @@
 name: arkade
-version: 0.11.83
-mtime: 1772390270
-commit: 23a5237b473266dbe0a94b3a9b6ac102ca23fb5d
+version: 0.11.99
+mtime: 1779453803
+commit: 294d1a4321b6304875b45e1fb78a3437833c722a
 

++++++ vendor.tar.gz ++++++
++++ 88350 lines of diff (skipped)

++++++ vendor_go_modules.sh ++++++
#!/bin/bash

# do not use set -e, as the make step will abort the build due to 
warnings/errors
set -o pipefail

[[ "$#" == "2" ]] || {
        echo "Please use the package name and the golang package as the only 
arguments"
        exit 1
}

package_name="${1}"
golang_package="${2}"

cd /data || exit 11

zypper -n install \
    cpio \
    gawk \
    sed \
    git-core \
    "${golang_package}" || exit 13

version="$( awk '/^Version:/ {print $2;exit;}' "${package_name}.spec" )"

echo "##########"
echo "Package version is $version"
BASENAME="${package_name}-$version"

obscpio="$BASENAME.obscpio"
working_directory="$(pwd)"
tmpdir="$(mktemp -d -p /tmp)"
cd "${tmpdir}" || exit 15

echo "##########"
echo "Extracting obscpio archive"
cpio -id < "$working_directory/$obscpio" || exit 21
ls -lah
cd "${BASENAME}" || exit 23
ls -lah

echo "##########"
echo "Cloning gha-bump and fstail"
FSTAIL_COMMIT="$(awk -F '-' '/^\sgithub.com\/alexellis\/fstail/ {print $NF}' 
go.mod)"
GHABUMP_COMMIT="$(awk '/^require github.com\/alexellis\/gha-bump/ {print $NF}' 
go.mod)"

git clone https://github.com/alexellis/gha-bump ../gha-bump || exit 25
git clone https://github.com/alexellis/fstail ../fstail || exit 27
cd ../fstail || exit 28
git checkout "${FSTAIL_COMMIT:0:8}" . || exit 29
cd "${tmpdir}/${BASENAME}" || exit 30

echo "##########"
echo "Vendoring the go modules"
go mod tidy
go mod download || exit 33
go mod vendor || exit 35
echo "Verifying"
go mod verify || exit 37
echo "Creating the vendor tarball"
tar -czf "${working_directory}/vendor.tar.gz" vendor go.mod go.sum || exit 39
echo "DONE vendoring the go modules"

echo "##########"
echo "cleaning up"
cd "${working_directory}" || exit 41
rm -rf "$tmpdir" || exit 43

Reply via email to