-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Use gazelle for external erlang deps #6935
Commits on Jan 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b9683cf - Browse repository at this point
Copy the full SHA b9683cfView commit details -
Add gazelle for use with update-repos command
For updating external erlang libraries
Configuration menu - View commit details
-
Copy full SHA for 19ca1b2 - Browse repository at this point
Copy the full SHA 19ca1b2View commit details -
Use explicit BUILD. files for hex deps
This allows us to remove the duplicate definitions in workspace_helpers.bzl These files are generated with gazelle. For instance: BUILD.ra is generated with `bazel run gazelle -- update-repos --verbose --build_files_dir=bazel hex.pm/ra@2.4.6` Running gazelle this way will modify the WORKSPACE file, as gazelle does not yet support MODULE.bazel files. Such changes to the WORKSPACE can be dropped, and should not be committed. It may also update the `moduleindex.yaml` file. Changes to `moduleindex.yaml` should be committed.
Configuration menu - View commit details
-
Copy full SHA for 46efad0 - Browse repository at this point
Copy the full SHA 46efad0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e274ba - Browse repository at this point
Copy the full SHA 5e274baView commit details -
Force +debug_info for credentials_obfuscation
So that it can by dialyzed against
Configuration menu - View commit details
-
Copy full SHA for 800a6cd - Browse repository at this point
Copy the full SHA 800a6cdView commit details -
Reorder statements in WORKSPACE
to try to fix some version collisions that seemed to load the wrong gazelle version in some envs
Configuration menu - View commit details
-
Copy full SHA for 413b03c - Browse repository at this point
Copy the full SHA 413b03cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 438e6b4 - Browse repository at this point
Copy the full SHA 438e6b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1da3b9 - Browse repository at this point
Copy the full SHA b1da3b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfbc3e8 - Browse repository at this point
Copy the full SHA dfbc3e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0aec5b8 - Browse repository at this point
Copy the full SHA 0aec5b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1afcec9 - Browse repository at this point
Copy the full SHA 1afcec9View commit details -
However, we skip the explicit bazel/BUILD.osiris file, as osiris already contains the file in its repo
Configuration menu - View commit details
-
Copy full SHA for 247a6ad - Browse repository at this point
Copy the full SHA 247a6adView commit details -
Remove unneeded BUILD.jose file
As the correct one now lives in the bazel dir
Configuration menu - View commit details
-
Copy full SHA for ca8ef4d - Browse repository at this point
Copy the full SHA ca8ef4dView commit details -
Use gazelle for inet_tcp_proxy_dist
But skip the explict BUILD.inet_tcp_proxy_dist file, since the repo already contains a bazel BUILD.bazel file gazelle command: `bazel run gazelle -- update-repos --verbose --build_files_dir=bazel inet_tcp_proxy_dist=github.com/rabbitmq/inet_tcp_proxy@master`
Configuration menu - View commit details
-
Copy full SHA for e51c367 - Browse repository at this point
Copy the full SHA e51c367View commit details -
Move the bats dep directly to WORKSPACE, drop workspace_helpers.bzl
bats is a test dep, so need not be redeclared by bazel workspaces that import rabbitmq-server
Configuration menu - View commit details
-
Copy full SHA for c919cdd - Browse repository at this point
Copy the full SHA c919cddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9675151 - Browse repository at this point
Copy the full SHA 9675151View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0efe67f - Browse repository at this point
Copy the full SHA 0efe67fView commit details -
Re-import the correct jose with gazelle
`bazel run gazelle -- update-repos --verbose --build_files_dir=bazel jose=github.com/michaelklishin/erlang-jose@d63c1c5c8f9c1a4f1438e234b886de8607a0034e`
Configuration menu - View commit details
-
Copy full SHA for 0dfee00 - Browse repository at this point
Copy the full SHA 0dfee00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94ca2c0 - Browse repository at this point
Copy the full SHA 94ca2c0View commit details