From 8d779183e4ec67c662b6b9d334fa3d3aef64e1b6 Mon Sep 17 00:00:00 2001 From: Randolf Jung Date: Thu, 19 Nov 2026 22:28:37 -0800 Subject: [PATCH 1/2] chore: use the org policy at 56ddc9b --- .hk/org.pkl | 6 ++---- .toolconfig.lock | 2 +- .toolconfig.pkl | 2 +- hk.pkl | 2 -- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.hk/org.pkl b/.hk/org.pkl index fb64ea8..f3f80de 100644 --- a/.hk/org.pkl +++ b/.hk/org.pkl @@ -40,7 +40,6 @@ local oxfmtFiles = ) local rustFiles = List("Cargo.toml", "Cargo.lock", "**/Cargo.toml", "**/*.rs") -local goFiles = List("go.mod", "go.sum", "**/*.go") local slow = List("slow") steps { @@ -187,13 +186,12 @@ steps { ["cargo-deny"] = (Builtins.cargo_deny) { glob = List("Cargo.toml", "Cargo.lock", "deny.toml", "**/Cargo.toml") workspace_indicator = null + dir = "{{root}}" check = "cargo-deny --locked --workspace check" profiles = slow } - ["go-fmt"] = (Builtins.go_fmt) { - glob = goFiles - } + ["go-fmt"] = Builtins.go_fmt ["go-mod-tidy"] = (Builtins.gomod_tidy) { depends = "go-fmt" } diff --git a/.toolconfig.lock b/.toolconfig.lock index 0a71913..2cf512f 100644 --- a/.toolconfig.lock +++ b/.toolconfig.lock @@ -7,7 +7,7 @@ version = 1 ".github/actionlint.yaml" = { hash = "0507e6dc7d7cc47356f687482bcece95784d98c83917ea840a23c6102732fb92" } ".gitleaks.toml" = { hash = "27630a96d6c55755cc37620f3933d5cab94b1eb78a726a32e11212972525d76e" } ".hadolint.yaml" = { hash = "ca3d163bab055381827226140568f3bef7eaac187cebd76878e0b63e9e442356" } -".hk/org.pkl" = { hash = "639f1a12f3a3444b7ab233d3290a703bd4d9300d9e2b1254743ed70adbbbef62" } +".hk/org.pkl" = { hash = "85e30de2718c0eaff103fe71e7f00eb34b2279513b58619d53958e3ebbb48cab" } ".oxfmtrc.json" = { hash = "f59efc861a4a3ad6b2db387705dc1329edb8850fad0d46ef173c295bd770ac41" } ".oxlintrc.json" = { hash = "c5c77e9ea2a51d81bd8c78123d958c88c48879dd6d9055e02aa48410ebbb577a" } ".pinact.yaml" = { hash = "bafc506f9dfb5214895180e4ce7a62e4db843502a633c61866872c0c5c6bc75f" } diff --git a/.toolconfig.pkl b/.toolconfig.pkl index 9a3a73d..775a0af 100644 --- a/.toolconfig.pkl +++ b/.toolconfig.pkl @@ -7,7 +7,7 @@ toolconfig { `extends` = List(new Repository { git = "https://github.com/mathematic-inc/toolconfig-config.git" - rev = "fc76ddad46c14a7b7fe03bf117a92ede11ea0dfb" + rev = "56ddc9b031a44165668fc9ed41f90e62a4e31ea5" path = "profiles/org/.toolconfig.pkl" }) } diff --git a/hk.pkl b/hk.pkl index 60eb0a0..4bfbef1 100644 --- a/hk.pkl +++ b/hk.pkl @@ -1,8 +1,6 @@ amends ".hk/org.pkl" steps { - // The organization step sets no `workspace_indicator`, so hk cannot render the builtin `dir`. - ["cargo-deny"] { dir = "{{root}}" } // kingfisher reports the URI of the test database (user and password `sqlc`). ["kingfisher"] { check = From bfb529a6bfabd629f22a62785f45abc19ae294a7 Mon Sep 17 00:00:00 2001 From: Randolf Jung Date: Thu, 19 Nov 2026 23:36:40 -0800 Subject: [PATCH 2/2] chore: stop tracking a generated file --- .pinact.yaml | 5 ----- .rumdl.toml | 5 ----- .ryl.toml | 45 --------------------------------------------- buf.yaml | 7 ------- deny.toml | 13 ------------- 5 files changed, 75 deletions(-) delete mode 100644 .pinact.yaml delete mode 100644 .rumdl.toml delete mode 100644 .ryl.toml delete mode 100644 buf.yaml delete mode 100644 deny.toml diff --git a/.pinact.yaml b/.pinact.yaml deleted file mode 100644 index b807d7a..0000000 --- a/.pinact.yaml +++ /dev/null @@ -1,5 +0,0 @@ -version: 3 -rules: - - ignore: true - conditions: - - expr: ActionName == "dtolnay/rust-toolchain" && ActionVersion matches "^[0-9a-f]{40}$" diff --git a/.rumdl.toml b/.rumdl.toml deleted file mode 100644 index 13a3b31..0000000 --- a/.rumdl.toml +++ /dev/null @@ -1,5 +0,0 @@ -[MD013] -line-length = 80 - -[global] -exclude = ["**/dist/**", "**/gen/**", "**/generated/**", "**/node_modules/**", "**/target/**", "**/vendor/**", "**/CHANGELOG.md"] diff --git a/.ryl.toml b/.ryl.toml deleted file mode 100644 index 6d95be8..0000000 --- a/.ryl.toml +++ /dev/null @@ -1,45 +0,0 @@ -[lint] -strict = true - -[lint.rules] -key-duplicates = "enable" -anchors = "enable" -braces = "enable" -brackets = "enable" -colons = "enable" -commas = "enable" -document-end = "disable" -document-start = "disable" -empty-lines = "enable" -empty-values = "disable" -float-values = "disable" -hyphens = "enable" -key-ordering = "disable" -line-length = "disable" -new-line-at-end-of-file = "enable" -octal-values = "disable" -quoted-strings = "disable" -trailing-spaces = "enable" - -[lint.rules.indentation] -spaces = 2 - -[lint.rules.new-lines] -type = "unix" - -[lint.rules.comments] -level = "warning" -min-spaces-from-content = 1 - -[lint.rules.comments-indentation] -level = "warning" - -[lint.rules.truthy] -check-keys = false -level = "warning" - -[files] -yaml = ["*.yaml", "*.yml"] - -[format] -quote-style = "preserve" diff --git a/buf.yaml b/buf.yaml deleted file mode 100644 index 71e51d2..0000000 --- a/buf.yaml +++ /dev/null @@ -1,7 +0,0 @@ -version: v2 -modules: - - path: proto -lint: - ignore_only: - PACKAGE_VERSION_SUFFIX: - - proto/plugin/codegen.proto diff --git a/deny.toml b/deny.toml deleted file mode 100644 index f8940dd..0000000 --- a/deny.toml +++ /dev/null @@ -1,13 +0,0 @@ -[licenses] -allow = ["Apache-2.0", "MIT", "Unicode-3.0", "Zlib"] - -[bans] -wildcards = "deny" - -[sources] -unknown-registry = "deny" -unknown-git = "deny" - -[[advisories.ignore]] -id = "RUSTSEC-2026-0543" -reason = "chrono is unmaintained and has no fix; sqlx and the generated code use it"