Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pkgs/raaymax/lazytail/pkg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
packages:
- name: raaymax/lazytail@v0.8.2
25 changes: 25 additions & 0 deletions pkgs/raaymax/lazytail/registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/aquaproj/aqua/main/json-schema/registry.json
packages:
- type: github_release
repo_owner: raaymax
repo_name: lazytail
description: Log viewer for app development
search_words:
- log
version_constraint: "false"
version_overrides:
- version_constraint: Version == "v0.2.0"
no_asset: true
- version_constraint: "true"
asset: lazytail-{{.OS}}-{{.Arch}}.{{.Format}}
format: tar.gz
replacements:
amd64: x86_64
darwin: macos
overrides:
- goos: darwin
replacements:
arm64: aarch64
supported_envs:
- linux/amd64
- darwin
Comment on lines +16 to +25

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

raaymax/lazytail installer script arm64 aarch64 mapping

💡 Result:

In raaymax/lazytail’s install.sh, architecture detection is based on uname -m, and both arm64 and aarch64 are mapped to the same release-asset suffix:

  • case "$ARCH" in ... aarch64|arm64) ARCH_SUFFIX="aarch64" ;; ... esac
  • It then downloads: lazytail-${PLATFORM}-${ARCH_SUFFIX}.tar.gz (so ARM64 ends up as ...-aarch64.tar.gz). [1]

Source: [1]


🏁 Script executed:

# Check if the registry.yaml file exists and review the current state
git ls-files | grep -i "raaymax/lazytail"

Repository: aquaproj/aqua-registry

Length of output: 132


🏁 Script executed:

cat -n pkgs/raaymax/lazytail/registry.yaml

Repository: aquaproj/aqua-registry

Length of output: 986


🌐 Web query:

raaymax/lazytail github releases binaries available platforms amd64 arm64

💡 Result:

raaymax/lazytail publishes prebuilt release binaries for Linux and macOS on amd64 and arm64:

  • Linux amd64: lazytail-linux-x86_64.tar.gz
  • Linux arm64: lazytail-linux-aarch64.tar.gz
  • macOS amd64 (Intel): lazytail-macos-x86_64.tar.gz
  • macOS arm64 (Apple Silicon): lazytail-macos-aarch64.tar.gz

The installer script explicitly supports only Linux/Darwin and maps arch to x86_64 and aarch64, constructing the asset names above. [1] The latest release page shows “Assets 5”, implying an additional non-platform artifact (commonly a checksum file) alongside the four platform tarballs. [2]

Sources: 1 2


Add support for Linux arm64.

The upstream repository publishes prebuilt binaries for both Linux and macOS on amd64 and arm64 architectures:

  • Linux amd64: lazytail-linux-x86_64.tar.gz
  • Linux arm64: lazytail-linux-aarch64.tar.gz
  • macOS amd64: lazytail-macos-x86_64.tar.gz
  • macOS arm64: lazytail-macos-aarch64.tar.gz

The current configuration excludes linux/arm64 from supported_envs and scopes the arm64: aarch64 replacement only to the Darwin override. This prevents Linux arm64 users from using the package. Move arm64: aarch64 to the global replacements block and add linux/arm64 to supported_envs.

Suggested adjustment
        asset: lazytail-{{.OS}}-{{.Arch}}.{{.Format}}
         format: tar.gz
         replacements:
           amd64: x86_64
+          arm64: aarch64
           darwin: macos
-        overrides:
-          - goos: darwin
-            replacements:
-              arm64: aarch64
         supported_envs:
           - linux/amd64
+          - linux/arm64
           - darwin
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@pkgs/raaymax/lazytail/registry.yaml` around lines 16 - 25, The registry.yaml
currently maps arm64->aarch64 only under the darwin override and omits
linux/arm64 from supported_envs; move the arm64: aarch64 mapping from the
overrides block into the top-level replacements block (alongside amd64: x86_64
and darwin: macos) and add "linux/arm64" to the supported_envs list so Linux
arm64 builds use the aarch64 binary; update the overrides block for darwin to
remove the arm64 replacement after moving it.

23 changes: 23 additions & 0 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.