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-02-06 19:11:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/arkade (Old) and /work/SRC/openSUSE:Factory/.arkade.new.1670 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "arkade" Fri Feb 6 19:11:29 2026 rev:72 rq:1331694 version:0.11.70 Changes: -------- --- /work/SRC/openSUSE:Factory/arkade/arkade.changes 2026-01-30 18:23:47.805332879 +0100 +++ /work/SRC/openSUSE:Factory/.arkade.new.1670/arkade.changes 2026-02-06 19:18:10.059870703 +0100 @@ -1,0 +2,7 @@ +Fri Feb 06 14:25:52 UTC 2026 - Johannes Kastl <[email protected]> + +- Update to version 0.11.70: + * Update README for arkade oci install and extract alias + * Update oci install to extract to arg[0] rather than path + +------------------------------------------------------------------- Old: ---- arkade-0.11.69.obscpio New: ---- arkade-0.11.70.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ arkade.spec ++++++ --- /var/tmp/diff_new_pack.dC6oAp/_old 2026-02-06 19:18:11.191918600 +0100 +++ /var/tmp/diff_new_pack.dC6oAp/_new 2026-02-06 19:18:11.195918769 +0100 @@ -17,7 +17,7 @@ Name: arkade -Version: 0.11.69 +Version: 0.11.70 Release: 0 Summary: Open Source Kubernetes Marketplace License: Apache-2.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.dC6oAp/_old 2026-02-06 19:18:11.267921815 +0100 +++ /var/tmp/diff_new_pack.dC6oAp/_new 2026-02-06 19:18:11.275922153 +0100 @@ -3,7 +3,7 @@ <param name="url">https://github.com/alexellis/arkade</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">0.11.69</param> + <param name="revision">0.11.70</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="changesgenerate">enable</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.dC6oAp/_old 2026-02-06 19:18:11.299923169 +0100 +++ /var/tmp/diff_new_pack.dC6oAp/_new 2026-02-06 19:18:11.311923677 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/alexellis/arkade</param> - <param name="changesrevision">d41670cce4347218c930be4d11988a3697e82737</param></service></servicedata> + <param name="changesrevision">8069d3b02cff3c1aea6d78480ad920aaa23b2341</param></service></servicedata> (No newline at EOF) ++++++ arkade-0.11.69.obscpio -> arkade-0.11.70.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arkade-0.11.69/README.md new/arkade-0.11.70/README.md --- old/arkade-0.11.69/README.md 2026-01-28 23:40:13.000000000 +0100 +++ new/arkade-0.11.70/README.md 2026-02-06 13:04:28.000000000 +0100 @@ -268,11 +268,18 @@ vmmeter is one example of a package that is only published as a container image, which is not released on a GitHub releases page. ```bash -arkade oci install ghcr.io/openfaasltd/vmmeter \ - --path /usr/local/bin +# Install to /usr/local/bin (default) +arkade oci install ghcr.io/openfaasltd/vmmeter + +# Install to a custom path +arkade oci install ghcr.io/openfaasltd/vmmeter /usr/local/bin + +# Install to current directory +arkade oci install ghcr.io/openfaasltd/vmmeter . ``` -* `--path` - the folder to extract the package to +Options: +* Path can be specified as a positional argument (e.g., `/usr/local/bin` or `.`) * `--version` - the version of the package to extract, if not specified the `:latest` tag is used * `--arch` - the architecture to extract, if not specified the host's architecture is used diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arkade-0.11.69/cmd/oci/install.go new/arkade-0.11.70/cmd/oci/install.go --- old/arkade-0.11.69/cmd/oci/install.go 2026-01-28 23:40:13.000000000 +0100 +++ new/arkade-0.11.70/cmd/oci/install.go 2026-02-06 13:04:28.000000000 +0100 @@ -18,16 +18,21 @@ func MakeOciInstall() *cobra.Command { command := &cobra.Command{ - Use: "install", - Aliases: []string{"i"}, + Use: "install IMAGE [PATH]", + Aliases: []string{"i", "extract"}, Short: "Install the contents of an OCI image to a given path", Long: `Use this command to install binaries or packages distributed within an OCI image.`, - Example: ` # Install slicer to /usr/local/bin + Example: ` # Install slicer to /usr/local/bin (default) + # Files will be extracted to /usr/local/bin/slicer arkade oci install ghcr.io/openfaasltd/slicer - # Install a specific version of slicer to /tmp/ - arkade oci install ghcr.io/openfaasltd/slicer --path /tmp --version 0.1.0 + # Install to current directory + arkade oci install ghcr.io/openfaasltd/slicer . + + # Install to a custom path like /tmp/ + # Files will be extracted to /tmp/slicer + arkade oci install ghcr.io/openfaasltd/slicer /tmp --version 0.1.0 # Install slicer for arm64 as an architecture override, instead of using uname arkade oci install ghcr.io/openfaasltd/slicer --arch arm64 @@ -39,7 +44,7 @@ } command.Flags().StringP("version", "v", "latest", "The version or leave blank to determine the latest available version") - command.Flags().String("path", "/usr/local/bin", "Installation path, where a buildkitd subfolder will be created") + command.Flags().String("path", "/usr/local/bin", "(deprecated: use positional argument) Installation path") command.Flags().Bool("progress", true, "Show download progress") command.Flags().String("arch", "", "CPU architecture i.e. amd64") command.Flags().String("os", "", "OS i.e. linux") @@ -47,12 +52,14 @@ command.Flags().BoolP("gzipped", "g", false, "Is this a gzipped tarball?") command.Flags().Bool("quiet", false, "Suppress progress output") + // Hide the deprecated --path flag + command.Flags().MarkHidden("path") + command.PreRunE = func(cmd *cobra.Command, args []string) error { return nil } command.RunE = func(cmd *cobra.Command, args []string) error { - installPath, _ := cmd.Flags().GetString("path") version, _ := cmd.Flags().GetString("version") gzipped, _ := cmd.Flags().GetBool("gzipped") quiet, _ := cmd.Flags().GetBool("quiet") @@ -63,6 +70,15 @@ imageName := args[0] + // Determine installation path + // Priority: arg[1] > --path flag > default + installPath := "/usr/local/bin" + if len(args) >= 2 { + installPath = args[1] + } else if cmd.Flags().Changed("path") { + installPath, _ = cmd.Flags().GetString("path") + } + switch imageName { case "vmmeter": imageName = "ghcr.io/openfaasltd/vmmeter" ++++++ arkade.obsinfo ++++++ --- /var/tmp/diff_new_pack.dC6oAp/_old 2026-02-06 19:18:13.304007961 +0100 +++ /var/tmp/diff_new_pack.dC6oAp/_new 2026-02-06 19:18:13.312008299 +0100 @@ -1,5 +1,5 @@ name: arkade -version: 0.11.69 -mtime: 1769640013 -commit: d41670cce4347218c930be4d11988a3697e82737 +version: 0.11.70 +mtime: 1770379468 +commit: 8069d3b02cff3c1aea6d78480ad920aaa23b2341 ++++++ vendor.tar.gz ++++++
