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-01-23 17:32:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/arkade (Old)
 and      /work/SRC/openSUSE:Factory/.arkade.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "arkade"

Fri Jan 23 17:32:59 2026 rev:68 rq:1328786 version:0.11.65

Changes:
--------
--- /work/SRC/openSUSE:Factory/arkade/arkade.changes    2026-01-21 
14:16:49.537566217 +0100
+++ /work/SRC/openSUSE:Factory/.arkade.new.1928/arkade.changes  2026-01-23 
17:33:13.470323509 +0100
@@ -1,0 +2,6 @@
+Fri Jan 23 06:19:38 UTC 2026 - Johannes Kastl 
<[email protected]>
+
+- Update to version 0.11.65:
+  * Use amp to add amp
+
+-------------------------------------------------------------------

Old:
----
  arkade-0.11.64.obscpio

New:
----
  arkade-0.11.65.obscpio

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

Other differences:
------------------
++++++ arkade.spec ++++++
--- /var/tmp/diff_new_pack.rzYIN8/_old  2026-01-23 17:33:14.346359626 +0100
+++ /var/tmp/diff_new_pack.rzYIN8/_new  2026-01-23 17:33:14.346359626 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           arkade
-Version:        0.11.64
+Version:        0.11.65
 Release:        0
 Summary:        Open Source Kubernetes Marketplace
 License:        Apache-2.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.rzYIN8/_old  2026-01-23 17:33:14.386361274 +0100
+++ /var/tmp/diff_new_pack.rzYIN8/_new  2026-01-23 17:33:14.390361439 +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.64</param>
+    <param name="revision">0.11.65</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="versionrewrite-pattern">v(.*)</param>
     <param name="changesgenerate">enable</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.rzYIN8/_old  2026-01-23 17:33:14.418362594 +0100
+++ /var/tmp/diff_new_pack.rzYIN8/_new  2026-01-23 17:33:14.422362759 +0100
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/alexellis/arkade</param>
-              <param 
name="changesrevision">dd08cc5ca0a283ab0420f0a604fccb7e22e2c093</param></service></servicedata>
+              <param 
name="changesrevision">68bef963f28eb0342188cbb1cf4e7913eff02236</param></service></servicedata>
 (No newline at EOF)
 

++++++ arkade-0.11.64.obscpio -> arkade-0.11.65.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/arkade-0.11.64/README.md new/arkade-0.11.65/README.md
--- old/arkade-0.11.64/README.md        2026-01-20 15:35:28.000000000 +0100
+++ new/arkade-0.11.65/README.md        2026-01-22 15:47:27.000000000 +0100
@@ -12,7 +12,7 @@
 [![License: 
MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
 ![Downloads](https://img.shields.io/github/downloads/alexellis/arkade/total)
 
-With over 120 CLIs and 55 Kubernetes apps (charts, manifests, installers) 
available for Kubernetes, gone are the days of contending with dozens of README 
files just to set up a development stack with the usual suspects like 
ingress-nginx, Postgres, and cert-manager.
+With over 185 CLIs and 55 Kubernetes apps (charts, manifests, installers) 
available for Kubernetes, gone are the days of contending with dozens of README 
files just to set up a development stack with the usual suspects like 
ingress-nginx, Postgres, and cert-manager.
 
 - [arkade - Open Source Marketplace For Developer 
Tools](#arkade---open-source-marketplace-for-developer-tools)
   - [Support arkade 👋](#support-arkade-)
@@ -767,6 +767,7 @@
 | [age](https://github.com/FiloSottile/age)                                    
| A simple, modern, and secure file encryption tool.                            
                                                                                
    |
 | [age-keygen](https://github.com/FiloSottile/age)                             
| Key generation tool for age encryption.                                       
                                                                                
    |
 | [alloy](https://github.com/grafana/alloy)                                    
| OpenTelemetry Collector distribution with programmable pipelines              
                                                                                
    |
+| [amp](https://github.com/sourcegraph/amp)                                    
| Amp - the frontier coding agent for your terminal and editor.                 
                                                                                
    |
 | [argocd](https://github.com/argoproj/argo-cd)                                
| Declarative, GitOps continuous delivery tool for Kubernetes.                  
                                                                                
    |
 | [argocd-autopilot](https://github.com/argoproj-labs/argocd-autopilot)        
| An opinionated way of installing Argo-CD and managing GitOps repositories.    
                                                                                
    |
 | [arkade](https://github.com/alexellis/arkade)                                
| Portable marketplace for downloading your favourite DevOps CLIs and 
installing helm charts, with a single command.                                  
              |
@@ -948,6 +949,6 @@
 | [waypoint](https://github.com/hashicorp/waypoint)                            
| Easy application deployment for Kubernetes and Amazon ECS                     
                                                                                
    |
 | [yq](https://github.com/mikefarah/yq)                                        
| Portable command-line YAML processor.                                         
                                                                                
    |
 | [yt-dlp](https://github.com/yt-dlp/yt-dlp)                                   
| Fork of youtube-dl with additional features and fixes                         
                                                                                
    |
-There are 186 tools, use `arkade get NAME` to download one.                    
                                                                  
+There are 187 tools, use `arkade get NAME` to download one.                    
                                                                  
 
 > Note to contributors, run `go build && ./arkade get --format markdown` to 
 > generate this list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/arkade-0.11.64/pkg/get/download.go 
new/arkade-0.11.65/pkg/get/download.go
--- old/arkade-0.11.64/pkg/get/download.go      2026-01-20 15:35:28.000000000 
+0100
+++ new/arkade-0.11.65/pkg/get/download.go      2026-01-22 15:47:27.000000000 
+0100
@@ -164,6 +164,41 @@
                        } else {
                                log.Printf("SHA sum verified in %s.", 
time.Since(st).Round(time.Millisecond))
                        }
+               } else if tool.VerifyStrategy == AmpShasumStrategy {
+                       st := time.Now()
+                       tmpl := template.New(tool.Name + "sha")
+                       tmpl = tmpl.Funcs(templateFuncs)
+                       t, err := tmpl.Parse(tool.VerifyTemplate)
+                       if err != nil {
+                               return "", "", err
+                       }
+
+                       var buf bytes.Buffer
+                       inputs := map[string]string{
+                               "Name":          tool.Name,
+                               "Owner":         tool.Owner,
+                               "Repo":          tool.Repo,
+                               "Version":       resolvedVersion,
+                               "VersionNumber": 
strings.TrimPrefix(resolvedVersion, "v"),
+                               "Arch":          arch,
+                               "OS":            operatingSystem,
+                       }
+
+                       if err = t.Execute(&buf, inputs); err != nil {
+                               return "", "", err
+                       }
+
+                       verifyURL := strings.TrimSpace(buf.String())
+                       log.Printf("Downloading SHA sum from: %s", verifyURL)
+                       shaSum, err := fetchText(verifyURL)
+                       if err != nil {
+                               return "", "", err
+                       }
+                       if err := verifySHA(shaSum, outFilePath); err != nil {
+                               return "", "", err
+                       } else {
+                               log.Printf("SHA sum verified in %s.", 
time.Since(st).Round(time.Millisecond))
+                       }
                }
        }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/arkade-0.11.64/pkg/get/get.go 
new/arkade-0.11.65/pkg/get/get.go
--- old/arkade-0.11.64/pkg/get/get.go   2026-01-20 15:35:28.000000000 +0100
+++ new/arkade-0.11.65/pkg/get/get.go   2026-01-22 15:47:27.000000000 +0100
@@ -21,9 +21,11 @@
 const GitLabVersionStrategy = "gitlab"
 const k8sVersionStrategy = "k8s"
 const ClaudeStrategy = `claude`
+const AmpStrategy = `amp`
 
 const HashicorpShasumStrategy = `hashicorp-sha`
 const ClaudeShasumStrategy = `claude-sha`
+const AmpShasumStrategy = `amp-sha`
 
 var supportedOS = [...]string{"linux", "darwin", "ming"}
 var supportedArchitectures = [...]string{"x86_64", "arm", "amd64", "armv6l", 
"armv7l", "arm64", "aarch64"}
@@ -99,6 +101,11 @@
                Timeout: time.Second * 5,
                Method:  http.MethodGet,
        },
+       AmpStrategy: {
+               Url:     
"https://storage.googleapis.com/amp-public-assets-prod-0/cli/cli-version.txt";,
+               Timeout: time.Second * 5,
+               Method:  http.MethodGet,
+       },
 }
 
 type ToolLocal struct {
@@ -307,7 +314,7 @@
                return "", err
        }
 
-       version := string(bodyBytes)
+       version := strings.TrimSpace(string(bodyBytes))
        return version, nil
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/arkade-0.11.64/pkg/get/get_test.go 
new/arkade-0.11.65/pkg/get/get_test.go
--- old/arkade-0.11.64/pkg/get/get_test.go      2026-01-20 15:35:28.000000000 
+0100
+++ new/arkade-0.11.65/pkg/get/get_test.go      2026-01-22 15:47:27.000000000 
+0100
@@ -9292,6 +9292,58 @@
        }
 }
 
+func Test_DownloadAmp(t *testing.T) {
+       tools := MakeTools()
+       name := "amp"
+
+       tool := getTool(name, tools)
+
+       const toolVersion = "0.0.1769091939-g843744"
+
+       tests := []test{
+               {
+                       os:      "darwin",
+                       arch:    arch64bit,
+                       version: toolVersion,
+                       url:     
"https://storage.googleapis.com/amp-public-assets-prod-0/cli/0.0.1769091939-g843744/amp-darwin-x64";,
+               },
+               {
+                       os:      "darwin",
+                       arch:    archDarwinARM64,
+                       version: toolVersion,
+                       url:     
"https://storage.googleapis.com/amp-public-assets-prod-0/cli/0.0.1769091939-g843744/amp-darwin-arm64";,
+               },
+               {
+                       os:      "linux",
+                       arch:    arch64bit,
+                       version: toolVersion,
+                       url:     
"https://storage.googleapis.com/amp-public-assets-prod-0/cli/0.0.1769091939-g843744/amp-linux-x64";,
+               },
+               {
+                       os:      "linux",
+                       arch:    archARM64,
+                       version: toolVersion,
+                       url:     
"https://storage.googleapis.com/amp-public-assets-prod-0/cli/0.0.1769091939-g843744/amp-linux-arm64";,
+               },
+               {
+                       os:      "mingw64_nt-10.0-18362",
+                       arch:    arch64bit,
+                       version: toolVersion,
+                       url:     
"https://storage.googleapis.com/amp-public-assets-prod-0/cli/0.0.1769091939-g843744/amp-windows-x64.exe";,
+               },
+       }
+
+       for _, tc := range tests {
+               got, _, err := tool.GetURL(tc.os, tc.arch, tc.version, false)
+               if err != nil {
+                       t.Fatal(err)
+               }
+               if got != tc.url {
+                       t.Errorf("\nwant: %s\ngot:  %s", tc.url, got)
+               }
+       }
+}
+
 func Test_LogCLI(t *testing.T) {
        tools := MakeTools()
        name := "logcli"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/arkade-0.11.64/pkg/get/tools.go 
new/arkade-0.11.65/pkg/get/tools.go
--- old/arkade-0.11.64/pkg/get/tools.go 2026-01-20 15:35:28.000000000 +0100
+++ new/arkade-0.11.65/pkg/get/tools.go 2026-01-22 15:47:27.000000000 +0100
@@ -100,6 +100,56 @@
 
https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/{{.Version}}/{{$os}}-{{$arch}}/claude
 `})
 
+       // Amp CLI
+       tools = append(tools,
+               Tool{
+                       Owner:           "sourcegraph",
+                       Repo:            "amp",
+                       Name:            "amp",
+                       Description:     "Amp - the frontier coding agent for 
your terminal and editor.",
+                       VerifyStrategy:  AmpShasumStrategy,
+                       VersionStrategy: AmpStrategy,
+                       VerifyTemplate: `{{$os := .OS}}
+{{$arch := .Arch}}
+
+{{ if or (eq .Arch "x86_64") (eq .Arch "amd64") -}}
+{{ $arch = "x64" }}
+{{- else if or (eq .Arch "arm64") (eq .Arch "aarch64") -}}
+{{ $arch = "arm64" }}
+{{- end}}
+
+{{ if HasPrefix .OS "ming" -}}
+{{ $os = "windows" }}
+{{- else if eq .OS "darwin" -}}
+{{ $os = "darwin" }}
+{{- else -}}
+{{ $os = "linux" }}
+{{- end -}}
+
+https://storage.googleapis.com/amp-public-assets-prod-0/cli/{{.Version}}/{{$os}}-{{$arch}}-amp.sha256`,
+                       URLTemplate: `
+{{$os := .OS}}
+{{$arch := .Arch}}
+{{$ext := ""}}
+
+{{ if or (eq .Arch "x86_64") (eq .Arch "amd64") -}}
+{{ $arch = "x64" }}
+{{- else if or (eq .Arch "arm64") (eq .Arch "aarch64") -}}
+{{ $arch = "arm64" }}
+{{- end}}
+
+{{ if HasPrefix .OS "ming" -}}
+{{ $os = "windows" }}
+{{ $ext = ".exe" }}
+{{- else if eq .OS "darwin" -}}
+{{ $os = "darwin" }}
+{{- else -}}
+{{ $os = "linux" }}
+{{- end -}}
+
+https://storage.googleapis.com/amp-public-assets-prod-0/cli/{{.Version}}/amp-{{$os}}-{{$arch}}{{$ext}}
+`})
+
        tools = append(tools,
                Tool{
                        Owner:           "helm",

++++++ arkade.obsinfo ++++++
--- /var/tmp/diff_new_pack.rzYIN8/_old  2026-01-23 17:33:15.546409099 +0100
+++ /var/tmp/diff_new_pack.rzYIN8/_new  2026-01-23 17:33:15.554409429 +0100
@@ -1,5 +1,5 @@
 name: arkade
-version: 0.11.64
-mtime: 1768919728
-commit: dd08cc5ca0a283ab0420f0a604fccb7e22e2c093
+version: 0.11.65
+mtime: 1769093247
+commit: 68bef963f28eb0342188cbb1cf4e7913eff02236
 

++++++ vendor.tar.gz ++++++

Reply via email to