From 97963882bcd7ee038c0673cbd8e8546d4e07dc7c Mon Sep 17 00:00:00 2001 From: davidko Date: Fri, 3 Jan 2025 00:20:43 +0800 Subject: [PATCH] fix: remove windows arm64 support due to lacking env --- doc/packages.md | 5 +---- generated/packages/buf.yaml | 4 ---- generated/packages/ollama.yaml | 3 --- generated/packages/saml2aws.yaml | 3 --- generated/packages/stern.yaml | 3 --- huber-common/src/model/package.rs | 9 --------- huber-generator/src/pkg/buf.rs | 13 ------------- huber-generator/src/pkg/ollama.rs | 10 ---------- huber-generator/src/pkg/saml2aws.rs | 10 ---------- huber-generator/src/pkg/stern.rs | 10 ---------- 10 files changed, 1 insertion(+), 69 deletions(-) diff --git a/doc/packages.md b/doc/packages.md index 3c6a64fb..ab65827d 100644 --- a/doc/packages.md +++ b/doc/packages.md @@ -54,7 +54,6 @@ huber Huber πŸ“¦, Package Install Manager for GitHub repos https://github.com/innobead/huber hugo The world’s fastest framework for building websites. https://github.com/gohugoio/hugo hyperfine A command-line benchmarking tool https://github.com/sharkdp/hyperfine - ignite Ignite a Firecracker microVM https://github.com/weaveworks/ignite img Standalone, daemon-less, unprivileged Dockerfile and OCI compatible container image builder. https://github.com/genuinetools/img istio Connect, secure, control, and observe services. https://github.com/istio/istio jiq jid on jq - interactive JSON query tool using jq expressions https://github.com/fiatjaf/jiq @@ -62,7 +61,6 @@ jq Command-line JSON processor https://github.com/stedolan/jq just πŸ€– Just a command runner https://github.com/casey/just k0s k0s - The Zero Friction Kubernetes https://github.com/k0sproject/k0s - k3ai K3ai is a lightweight, fully automated, AI infrastructure-in-a-box solution that allows anyone to ex... https://github.com/kf5i/k3ai k3d Little helper to run CNCF's k3s in Docker https://github.com/rancher/k3d k3s Lightweight Kubernetes https://github.com/rancher/k3s k3sup bootstrap K3s over SSH in < 60s πŸš€ https://github.com/alexellis/k3sup @@ -76,7 +74,6 @@ kotlin The Kotlin Programming Language. https://github.com/JetBrains/kotlin kpt Automate Kubernetes Configuration Editing https://github.com/GoogleContainerTools/kpt krew πŸ“¦ Find and install kubectl plugins https://github.com/kubernetes-sigs/krew - krustlet Kubernetes Rust Kubelet https://github.com/deislabs/krustlet kube-bench Checks whether Kubernetes is deployed according to security best practices as defined in the CIS Kub... https://github.com/aquasecurity/kube-bench kubectl Production-Grade Container Scheduling and Management https://github.com/kubernetes/kubernetes kubefire KubeFire πŸ”₯, creates and manages Kubernetes Clusters using Firecracker microVMs https://github.com/innobead/kubefire @@ -101,9 +98,9 @@ nushell A new type of shell https://github.com/nushell/nushell octant Highly extensible platform for developers to better understand the complexity of Kubernetes clusters... https://github.com/vmware-tanzu/octant okteto Develop your applications directly in your Kubernetes Cluster https://github.com/okteto/okteto + ollama Get up and running with Llama 3.3, Mistral, Gemma 2, and other large language models. https://github.com/ollama/ollama onefetch Command-line Git information tool https://github.com/o2sh/onefetch opa Open Policy Agent (OPA) is an open source, general-purpose policy engine. https://github.com/open-policy-agent/opa - opni Multi Cluster Observability with AIOps https://github.com/rancher/opni oras OCI registry client - managing content like artifacts, images, packages https://github.com/deislabs/oras pack CLI for building apps using Cloud Native Buildpacks https://github.com/buildpacks/pack packer Packer is a tool for creating identical machine images for multiple platforms from a single source c... https://github.com/hashicorp/packer diff --git a/generated/packages/buf.yaml b/generated/packages/buf.yaml index 9aab0393..cef75f95 100644 --- a/generated/packages/buf.yaml +++ b/generated/packages/buf.yaml @@ -26,8 +26,4 @@ targets: artifact_templates: - '{version}/buf-Windows-x86_64' - '{version}/protoc-gen-buf-breaking-Windows-x86_64' -- WindowsArm64: - artifact_templates: - - '{version}/buf-Windows-arm64' - - '{version}/protoc-gen-buf-breaking-Windows-arm64' detail: null diff --git a/generated/packages/ollama.yaml b/generated/packages/ollama.yaml index 5fe42eae..ee1fbff7 100644 --- a/generated/packages/ollama.yaml +++ b/generated/packages/ollama.yaml @@ -18,7 +18,4 @@ targets: - WindowsAmd64: artifact_templates: - ollama-windows-amd64.zip -- WindowsArm64: - artifact_templates: - - ollama-windows-arm64.zip detail: null diff --git a/generated/packages/saml2aws.yaml b/generated/packages/saml2aws.yaml index 14164fa6..ec22c93f 100644 --- a/generated/packages/saml2aws.yaml +++ b/generated/packages/saml2aws.yaml @@ -21,7 +21,4 @@ targets: - WindowsAmd64: artifact_templates: - saml2aws_{version}_windows_amd64.zip -- WindowsArm64: - artifact_templates: - - saml2aws_{version}_windows_arm64.zip detail: null diff --git a/generated/packages/stern.yaml b/generated/packages/stern.yaml index 46c0f3c5..d08e8454 100644 --- a/generated/packages/stern.yaml +++ b/generated/packages/stern.yaml @@ -21,7 +21,4 @@ targets: - WindowsAmd64: artifact_templates: - stern_{version}_windows_amd64.tar.gz -- WindowsArm64: - artifact_templates: - - stern_{version}_windows_arm64.tar.gz detail: null diff --git a/huber-common/src/model/package.rs b/huber-common/src/model/package.rs index 572b6169..845d4c68 100644 --- a/huber-common/src/model/package.rs +++ b/huber-common/src/model/package.rs @@ -67,7 +67,6 @@ pub enum PackageTargetType { MacOSAmd64(PackageManagement), MacOSArm64(PackageManagement), WindowsAmd64(PackageManagement), - WindowsArm64(PackageManagement), Default(PackageManagement), } @@ -233,14 +232,6 @@ impl Package { } }), - "aarch64" => self.targets.iter().find_map(|it| { - if let PackageTargetType::WindowsArm64(m) = it { - Some(m.clone()) - } else { - default_pkg_mgmt.clone() - } - }), - _ => None, }, diff --git a/huber-generator/src/pkg/buf.rs b/huber-generator/src/pkg/buf.rs index 96e5f01d..07fd2ebb 100644 --- a/huber-generator/src/pkg/buf.rs +++ b/huber-generator/src/pkg/buf.rs @@ -75,19 +75,6 @@ pub fn release() -> Package { tag_version_regex_template: None, scan_dirs: None, }), - PackageTargetType::WindowsArm64(PackageManagement { - artifact_templates: vec![ - "{version}/buf-Windows-arm64".to_string(), - "{version}/protoc-gen-buf-breaking-Windows-arm64".to_string(), - ], - executable_templates: None, - executable_mappings: None, - install_commands: None, - uninstall_commands: None, - upgrade_commands: None, - tag_version_regex_template: None, - scan_dirs: None, - }), ], version: None, description: None, diff --git a/huber-generator/src/pkg/ollama.rs b/huber-generator/src/pkg/ollama.rs index def96031..8ba538a9 100644 --- a/huber-generator/src/pkg/ollama.rs +++ b/huber-generator/src/pkg/ollama.rs @@ -50,16 +50,6 @@ pub fn release() -> Package { tag_version_regex_template: None, scan_dirs: None, }), - PackageTargetType::WindowsArm64(PackageManagement { - artifact_templates: vec!["ollama-windows-arm64.zip".to_string()], - executable_templates: None, - executable_mappings: None, - install_commands: None, - uninstall_commands: None, - upgrade_commands: None, - tag_version_regex_template: None, - scan_dirs: None, - }), ], version: None, description: None, diff --git a/huber-generator/src/pkg/saml2aws.rs b/huber-generator/src/pkg/saml2aws.rs index ab7f4234..c098c975 100644 --- a/huber-generator/src/pkg/saml2aws.rs +++ b/huber-generator/src/pkg/saml2aws.rs @@ -60,16 +60,6 @@ pub fn release() -> Package { tag_version_regex_template: None, scan_dirs: None, }), - PackageTargetType::WindowsArm64(PackageManagement { - artifact_templates: vec!["saml2aws_{version}_windows_arm64.zip".to_string()], - executable_templates: None, - executable_mappings: None, - install_commands: None, - uninstall_commands: None, - upgrade_commands: None, - tag_version_regex_template: None, - scan_dirs: None, - }), ], version: None, description: None, diff --git a/huber-generator/src/pkg/stern.rs b/huber-generator/src/pkg/stern.rs index f6a80e8f..1e9c3bce 100644 --- a/huber-generator/src/pkg/stern.rs +++ b/huber-generator/src/pkg/stern.rs @@ -60,16 +60,6 @@ pub fn release() -> Package { tag_version_regex_template: None, scan_dirs: None, }), - PackageTargetType::WindowsArm64(PackageManagement { - artifact_templates: vec!["stern_{version}_windows_arm64.tar.gz".to_string()], - executable_templates: None, - executable_mappings: None, - install_commands: None, - uninstall_commands: None, - upgrade_commands: None, - tag_version_regex_template: None, - scan_dirs: None, - }), ], version: None, description: None,