From b8fc06cf94447686af9c6dfab44d12199d48cab3 Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Thu, 28 Nov 2024 06:32:59 +0900 Subject: [PATCH 1/2] feat(ivaaaan/smug): scaffold ivaaaan/smug --- pkgs/ivaaaan/smug/pkg.yaml | 6 ++- pkgs/ivaaaan/smug/registry.yaml | 73 +++++++++++++++++++++++++-------- registry.yaml | 73 +++++++++++++++++++++++++-------- 3 files changed, 114 insertions(+), 38 deletions(-) diff --git a/pkgs/ivaaaan/smug/pkg.yaml b/pkgs/ivaaaan/smug/pkg.yaml index 847873dcf86..a643deed46b 100644 --- a/pkgs/ivaaaan/smug/pkg.yaml +++ b/pkgs/ivaaaan/smug/pkg.yaml @@ -1,6 +1,8 @@ packages: - - name: ivaaaan/smug@v0.3.3 + - name: ivaaaan/smug@v0.3.5 - name: ivaaaan/smug - version: v0.2.3 + version: v0.3.3 + - name: ivaaaan/smug + version: v0.2.4 - name: ivaaaan/smug version: v0.2.2 diff --git a/pkgs/ivaaaan/smug/registry.yaml b/pkgs/ivaaaan/smug/registry.yaml index c778efe5262..5e70748348e 100644 --- a/pkgs/ivaaaan/smug/registry.yaml +++ b/pkgs/ivaaaan/smug/registry.yaml @@ -2,28 +2,65 @@ packages: - type: github_release repo_owner: ivaaaan repo_name: smug - asset: smug_{{trimV .Version}}_{{.OS}}_{{.Arch}}.tar.gz description: Session manager and task runner for tmux. Start your development environment within one command - replacements: - amd64: x86_64 - darwin: Darwin - linux: Linux - windows: Windows - checksum: - type: github_release - asset: checksums.txt - algorithm: sha256 - version_constraint: semver(">= 0.2.5") + version_constraint: "false" version_overrides: - # added support for linux/arm64 - - version_constraint: semver(">=0.2.3") - supported_envs: - - amd64 - - linux + - version_constraint: semver("<= 0.2.2") + asset: smug_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz rosetta2: true - # only supported amd64 - - version_constraint: "true" + windows_arm_emulation: true + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 supported_envs: - darwin + - windows - amd64 + - version_constraint: semver("<= 0.2.4") + asset: smug_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz rosetta2: true + windows_arm_emulation: true + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 + - version_constraint: semver("<= 0.3.3") + asset: smug_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 + - version_constraint: "true" + asset: smug.{{trimV .Version}}._{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 + overrides: + - goos: windows + format: zip diff --git a/registry.yaml b/registry.yaml index 553a45606ef..87450cbe53c 100644 --- a/registry.yaml +++ b/registry.yaml @@ -27410,31 +27410,68 @@ packages: - type: github_release repo_owner: ivaaaan repo_name: smug - asset: smug_{{trimV .Version}}_{{.OS}}_{{.Arch}}.tar.gz description: Session manager and task runner for tmux. Start your development environment within one command - replacements: - amd64: x86_64 - darwin: Darwin - linux: Linux - windows: Windows - checksum: - type: github_release - asset: checksums.txt - algorithm: sha256 - version_constraint: semver(">= 0.2.5") + version_constraint: "false" version_overrides: - # added support for linux/arm64 - - version_constraint: semver(">=0.2.3") - supported_envs: - - amd64 - - linux + - version_constraint: semver("<= 0.2.2") + asset: smug_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz rosetta2: true - # only supported amd64 - - version_constraint: "true" + windows_arm_emulation: true + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 supported_envs: - darwin + - windows - amd64 + - version_constraint: semver("<= 0.2.4") + asset: smug_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz rosetta2: true + windows_arm_emulation: true + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 + - version_constraint: semver("<= 0.3.3") + asset: smug_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 + - version_constraint: "true" + asset: smug.{{trimV .Version}}._{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 + overrides: + - goos: windows + format: zip - type: github_release repo_owner: ivanilves repo_name: lstags From 2494e3d837093620b37cd54a1a55abb6a2410a0d Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Thu, 28 Nov 2024 06:35:12 +0900 Subject: [PATCH 2/2] fix(ivaaaan/smug): disable checksum at v0.3.5 --- pkgs/ivaaaan/smug/registry.yaml | 28 ++++++++++++---------------- registry.yaml | 28 ++++++++++++---------------- 2 files changed, 24 insertions(+), 32 deletions(-) diff --git a/pkgs/ivaaaan/smug/registry.yaml b/pkgs/ivaaaan/smug/registry.yaml index 5e70748348e..ea4349b1f2c 100644 --- a/pkgs/ivaaaan/smug/registry.yaml +++ b/pkgs/ivaaaan/smug/registry.yaml @@ -5,6 +5,17 @@ packages: description: Session manager and task runner for tmux. Start your development environment within one command version_constraint: "false" version_overrides: + - version_constraint: Version == "v0.3.5" + asset: smug.{{trimV .Version}}._{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + overrides: + - goos: windows + format: zip - version_constraint: semver("<= 0.2.2") asset: smug_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} format: tar.gz @@ -37,20 +48,8 @@ packages: type: github_release asset: checksums.txt algorithm: sha256 - - version_constraint: semver("<= 0.3.3") - asset: smug_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} - format: tar.gz - replacements: - amd64: x86_64 - darwin: Darwin - linux: Linux - windows: Windows - checksum: - type: github_release - asset: checksums.txt - algorithm: sha256 - version_constraint: "true" - asset: smug.{{trimV .Version}}._{{.OS}}_{{.Arch}}.{{.Format}} + asset: smug_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} format: tar.gz replacements: amd64: x86_64 @@ -61,6 +60,3 @@ packages: type: github_release asset: checksums.txt algorithm: sha256 - overrides: - - goos: windows - format: zip diff --git a/registry.yaml b/registry.yaml index 87450cbe53c..fdae02653fb 100644 --- a/registry.yaml +++ b/registry.yaml @@ -27413,6 +27413,17 @@ packages: description: Session manager and task runner for tmux. Start your development environment within one command version_constraint: "false" version_overrides: + - version_constraint: Version == "v0.3.5" + asset: smug.{{trimV .Version}}._{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + replacements: + amd64: x86_64 + darwin: Darwin + linux: Linux + windows: Windows + overrides: + - goos: windows + format: zip - version_constraint: semver("<= 0.2.2") asset: smug_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} format: tar.gz @@ -27445,20 +27456,8 @@ packages: type: github_release asset: checksums.txt algorithm: sha256 - - version_constraint: semver("<= 0.3.3") - asset: smug_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} - format: tar.gz - replacements: - amd64: x86_64 - darwin: Darwin - linux: Linux - windows: Windows - checksum: - type: github_release - asset: checksums.txt - algorithm: sha256 - version_constraint: "true" - asset: smug.{{trimV .Version}}._{{.OS}}_{{.Arch}}.{{.Format}} + asset: smug_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} format: tar.gz replacements: amd64: x86_64 @@ -27469,9 +27468,6 @@ packages: type: github_release asset: checksums.txt algorithm: sha256 - overrides: - - goos: windows - format: zip - type: github_release repo_owner: ivanilves repo_name: lstags