-
Notifications
You must be signed in to change notification settings - Fork 231
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
Bazel: Improve dependency situation per #410 #411
Conversation
(Failure is test infra failing to install bazelisk; will give a quick attempt at fixing.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
(nice that the github images include bazel now)
Thank you, Thomas! :) |
While we're both here, a couple other upcoming Bazel things in my head that it occurred you might want a heads up on: |
|
|
Since Renovate wants r/w permissions that's likely a no go for google repos. If you see something like that on another google repo, that's a pretty good sign it could be used here. |
I'm pretty sure it's used in a bunch of Google repos--let me dig real quick |
Yeah, sure is. If useful, here's a google org repo example: https://github.com/google/osv-scanner And here's a bazelbuild org one https://github.com/bazelbuild/rules_kotlin |
(I can see from their renovate.json files -- though I'd recommend renovate.json5) (Could also use "Forking Renovate" which doesn't ask for code write permissions, but then also omits some of the most convenient auto-merge options. I haven't actually used that variant; I've always wanted the other features.) |
I think I have the app installed (it send a PR to start), haven't tried to look at tuning the config once this first PR is merged. |
Great! Lmk if you'd like my help configuring. Could, e.g. turn on silent auto-merge for rules_apple with "packageRules": [{ // If you want a package to update on autopilot and, whitelist it here avoid having automated PRs to review.
"automerge": true, // Just automatically propose and merge in dependency upgrades to the latest.
"automergeType": "branch", // No PR unless tests fail; just do it.
"matchPackageNames" : [ // Add Bazel name= parameter here.
"rules_apple",
],
}], The benefit would be that you'd be up to date by default and have one less thing to think about. (IMO json->json5 is also fairly worth it for comments and allowing trailing commas to reduce diffs and issues there.) |
Thanks, I think we'll keep it manual merges, we can always revisit that in the future. Probably doesn't hurt to let it keep an eye on the github workflow files. |
Sure! Totally up to you, of course. Just want to make sure I'm making easy all the things I wish someone had told me when I got going with it. Thanks, Thomas! |
Fixes #410