Thomas

Results 168 issues of Thomas

This is just an idea, I'd really appreciate some feedback and ideas. Is it conceivably possible to rewrite the generator in pure starlark? This would remove the bootstrapping problem of...

enhancement
external-crates

I'd like to propose the crate_universe generator include `shallow_since` within the lock file. As it stands, transitive Cargo dependencies from git don't include `shallow_since` which leads to lots of log...

enhancement
external-crates

Fixes https://github.com/bazelbuild/rules_rust/issues/1262. Fortunately the code to support branches and tags already exists, and so it's as simple as adding them to the json blob. Not only that, but code already...

rules_rust: 0.2.1 Given ```starlark load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains") rules_rust_dependencies() rust_register_toolchains() load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencies") crate_universe_dependencies() load("@rules_rust//crate_universe:defs.bzl", "crates_repository", "crate") crates_repository( name = "crate_index", lockfile = "//:Cargo.Bazel.lock", packages = { "regex": crate.spec( git = "https://github.com/rust-lang/regex",...

enhancement
external-crates

Related to https://github.com/go-critic/go-critic/issues/1193, but not a dupe as I haven't seen this exact error reported. Looks like it panics on https://github.com/AlekSi/pointer/blob/039be97b958cc3cbeb2329617d2e493bd2331fac/generic.go. ``` (11:23:57) ERROR: /private/var/tmp/_bazel_thomas/796dd52d4d981101108548a9446ddca6/external/com_github_aleksi_pointer/BUILD.bazel:3:11: GoCompilePkg external/com_github_aleksi_pointer/pointer.a failed: (Exit 1):...

The module already supports paru, but limits `local_pkgbuild` support to `pikaur` and `makepkg`. Paru introduced support for building and installing local PKGBUILDs earlier this year. https://github.com/Morganamilo/paru/issues/222

Given two `k8s_objects` ```py3 k8s_object( name = "some_object", args = ["-l=app.kubernetes.io/managed-by=some-repo"], context = "some-context", kind = "Deployment", template = "some_list.yaml", visibility = ["//visibility:public"], ) k8s_object( name = "some_other_object", args =...

The kubernetes project no longer uses Bazel for building. It can simply be built with `rules_go` now. ```starlark load("@io_bazel_rules_k8s//toolchains/kubectl:kubectl_configure.bzl", "kubectl_configure") kubectl_configure( name = "k8s_config", kubectl_path = "@io_k8s_kubernetes//cmd/kubectl", ) ``` ```go.mod...

The `toolchains` attribute is hard-coded to just the skylib unit test toolchain type. See: https://github.com/bazelbuild/bazel-skylib/blob/a501641daebdce8601ee6bbc6b5d177c688d3517/lib/unittest.bzl#L286 Should it propagate the toolchains for testing them?

type: feature request
more data needed