Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add facebook/buck2 #32150

Merged
merged 4 commits into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from 2 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
4 changes: 4 additions & 0 deletions pkgs/facebook/buck2/pkg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
packages:
- name: facebook/buck2@latest
Copy link
Member

Choose a reason for hiding this comment

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

aqua doesn't support mutable versions such as latest.

Copy link
Member

@suzuki-shunsuke suzuki-shunsuke Feb 14, 2025

Choose a reason for hiding this comment

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

Hmm. If cmdx s generates this code, this is a bug of aqua gr command.
I'll take a look. Anyway, in this time we should fix this maually.

Copy link
Member

Choose a reason for hiding this comment

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

- name: facebook/buck2
version: "2023-07-11"
47 changes: 47 additions & 0 deletions pkgs/facebook/buck2/registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/aquaproj/aqua/main/json-schema/registry.json
packages:
- type: github_release
repo_owner: facebook
repo_name: buck2
description: Build system, successor to Buck
version_constraint: "false"
version_overrides:
- version_constraint: semver("<= 2023-07-11")
asset: buck2-{{.Arch}}-{{.OS}}.{{.Format}}
format: zst
windows_arm_emulation: true
files:
- name: buck2
src: buck2-{{.Arch}}-{{.OS}}
replacements:
amd64: x86_64
arm64: aarch64
darwin: apple-darwin
windows: pc-windows-msvc
overrides:
- goos: linux
goarch: amd64
replacements:
linux: unknown-linux-gnu
- goos: linux
goarch: arm64
replacements:
linux: unknown-linux-musl
- goos: windows
asset: buck2-{{.Arch}}-{{.OS}}.exe.{{.Format}}
- version_constraint: "true"
asset: buck2-{{.Arch}}-{{.OS}}.{{.Format}}
format: zst
windows_arm_emulation: true
files:
- name: buck2
src: buck2-{{.Arch}}-{{.OS}}
replacements:
amd64: x86_64
arm64: aarch64
darwin: apple-darwin
linux: unknown-linux-musl
windows: pc-windows-msvc
overrides:
- goos: windows
asset: buck2-{{.Arch}}-{{.OS}}.exe.{{.Format}}
45 changes: 45 additions & 0 deletions registry.yaml

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