-
Notifications
You must be signed in to change notification settings - Fork 3
Prepare repository for BCR release #37
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
Prepare repository for BCR release #37
Conversation
CodSpeed Performance ReportMerging #37 will not alter performanceComparing Summary
|
2506554 to
634b591
Compare
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.
Pull Request Overview
This PR prepares the repository for publication to the Bazel Central Registry (BCR) by restructuring it into separate Bazel modules and enhancing the release process.
- Splits the monorepo into two independent modules:
codspeed_coreandcodspeed_google_benchmark_compat - Enhances the release script to create tarballs with submodule content included
- Updates all build configurations and examples to reference modules via external repository syntax
Reviewed Changes
Copilot reviewed 12 out of 13 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| scripts/release.sh | Adds submodule handling and tarball creation for GitHub releases with submodule content |
| core/MODULE.bazel | New module definition for the core CodSpeed library (version 1.4.0) |
| core/BUILD | Updates version to use module_version() and adds C++17 standard flag for non-Windows builds |
| core/CMakeLists.txt | Updates version from 1.2.0 to 1.4.0 |
| google_benchmark/MODULE.bazel | Renames module from google_benchmark to codspeed_google_benchmark_compat with dependencies on codspeed_core |
| google_benchmark/BUILD.bazel | Updates dependency references to use external @codspeed_core repository and adds alias for codspeed_mode |
| MODULE.bazel | Restructures for local development with path overrides for the two modules |
| examples/google_benchmark_bazel/BUILD.bazel | Updates dependency to reference @codspeed_google_benchmark_compat |
| .bazelrc | Updates flag reference from //core:codspeed_mode to @codspeed_core//:codspeed_mode |
| .github/workflows/ci.yml | Updates all Bazel flag references to use external repository syntax |
| flake.nix | Adds git-cliff tool to development environment |
| CONTRIBUTING.md | Updates release documentation with new process and version locations |
| MODULE.bazel.lock | Updates lock file to reflect dependency changes and new module structure |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
634b591 to
6f4b3fa
Compare
a0dc601 to
cd55ad4
Compare
std::filesystem usage requires c++17
cd55ad4 to
cccb6fc
Compare
8a8c313 to
c538c05
Compare
20e79d7 to
7abc45c
Compare
not-matthias
left a comment
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.
A few places that have leftover instrumentation mode. Otherwise LGTM
adriencaccia
left a comment
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.
LGTM, waiting on @not-matthias review
Github asset does not contain submodule code, we manually create the git archive with all submodules sources checked out to be used as a self contained bazel module.
7abc45c to
f23b68b
Compare
No description provided.