From 25192104541b983a4c88d11d67abe7634eec8ccc Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Wed, 11 Mar 2026 22:00:34 +0900 Subject: [PATCH 1/3] feat(facebook/ktfmt): scaffold facebook/ktfmt --- pkgs/facebook/ktfmt/pkg.yaml | 2 ++ pkgs/facebook/ktfmt/registry.yaml | 6 ++++++ registry.yaml | 4 ++++ 3 files changed, 12 insertions(+) create mode 100644 pkgs/facebook/ktfmt/pkg.yaml create mode 100644 pkgs/facebook/ktfmt/registry.yaml diff --git a/pkgs/facebook/ktfmt/pkg.yaml b/pkgs/facebook/ktfmt/pkg.yaml new file mode 100644 index 00000000000..6300a0ad1d6 --- /dev/null +++ b/pkgs/facebook/ktfmt/pkg.yaml @@ -0,0 +1,2 @@ +packages: + - name: facebook/ktfmt@ diff --git a/pkgs/facebook/ktfmt/registry.yaml b/pkgs/facebook/ktfmt/registry.yaml new file mode 100644 index 00000000000..57f5db8aac3 --- /dev/null +++ b/pkgs/facebook/ktfmt/registry.yaml @@ -0,0 +1,6 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/aquaproj/aqua/main/json-schema/registry.json +packages: + - type: github_release + repo_owner: facebook + repo_name: ktfmt + description: A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions diff --git a/registry.yaml b/registry.yaml index 1a0b88c9cc6..273e8a80dcf 100644 --- a/registry.yaml +++ b/registry.yaml @@ -35075,6 +35075,10 @@ packages: overrides: - goos: windows asset: buck2-{{.Arch}}-{{.OS}}.exe.{{.Format}} + - type: github_release + repo_owner: facebook + repo_name: ktfmt + description: A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions - type: github_release repo_owner: fastfetch-cli repo_name: fastfetch From 14e3a225aa8a60b046582b70f17c091903f553cf Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Thu, 12 Mar 2026 06:46:21 +0900 Subject: [PATCH 2/3] fix(facebook/ktfmt): fix asset and format --- pkgs/facebook/ktfmt/pkg.yaml | 2 +- pkgs/facebook/ktfmt/registry.yaml | 2 ++ registry.yaml | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/facebook/ktfmt/pkg.yaml b/pkgs/facebook/ktfmt/pkg.yaml index 6300a0ad1d6..59cf0f54a37 100644 --- a/pkgs/facebook/ktfmt/pkg.yaml +++ b/pkgs/facebook/ktfmt/pkg.yaml @@ -1,2 +1,2 @@ packages: - - name: facebook/ktfmt@ + - name: facebook/ktfmt@v0.61 diff --git a/pkgs/facebook/ktfmt/registry.yaml b/pkgs/facebook/ktfmt/registry.yaml index 57f5db8aac3..dc956d1c6ce 100644 --- a/pkgs/facebook/ktfmt/registry.yaml +++ b/pkgs/facebook/ktfmt/registry.yaml @@ -4,3 +4,5 @@ packages: repo_owner: facebook repo_name: ktfmt description: A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions + asset: ktfmt-{{trimV .Version}}-with-dependencies.jar + format: raw diff --git a/registry.yaml b/registry.yaml index 273e8a80dcf..13b1b3c9c38 100644 --- a/registry.yaml +++ b/registry.yaml @@ -35079,6 +35079,8 @@ packages: repo_owner: facebook repo_name: ktfmt description: A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions + asset: ktfmt-{{trimV .Version}}-with-dependencies.jar + format: raw - type: github_release repo_owner: fastfetch-cli repo_name: fastfetch From 27cad4124c24ec48abb8f14791163aceea23088e Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Thu, 12 Mar 2026 09:08:51 +0900 Subject: [PATCH 3/3] fix(facebook/ktfmt): disable .exe completion --- pkgs/facebook/ktfmt/registry.yaml | 1 + registry.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/pkgs/facebook/ktfmt/registry.yaml b/pkgs/facebook/ktfmt/registry.yaml index dc956d1c6ce..aa2c89c0c35 100644 --- a/pkgs/facebook/ktfmt/registry.yaml +++ b/pkgs/facebook/ktfmt/registry.yaml @@ -6,3 +6,4 @@ packages: description: A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions asset: ktfmt-{{trimV .Version}}-with-dependencies.jar format: raw + complete_windows_ext: false diff --git a/registry.yaml b/registry.yaml index 13b1b3c9c38..548f8dac49f 100644 --- a/registry.yaml +++ b/registry.yaml @@ -35081,6 +35081,7 @@ packages: description: A program that reformats Kotlin source code to comply with the common community standard for Kotlin code conventions asset: ktfmt-{{trimV .Version}}-with-dependencies.jar format: raw + complete_windows_ext: false - type: github_release repo_owner: fastfetch-cli repo_name: fastfetch