Skip to content

Conversation

@llucax
Copy link
Contributor

@llucax llucax commented Jun 16, 2025

By default repo-config will include the submodules/frequenz-api-common directory, which is us, and we don't want to include ourselves as a submodule, so we need to explicitly set the include_paths to an empty array.

We also need to bump the dependency on frequenz-repo-config to get a bug fix that allows overriding with an empty array.

@github-actions github-actions bot added the part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) label Jun 16, 2025
@llucax
Copy link
Contributor Author

llucax commented Jun 16, 2025

Draft because it depends on the repo-config v0.13.5 release.

@llucax llucax self-assigned this Jun 16, 2025
@llucax llucax force-pushed the fix-proto-include-paths branch from 9ea4506 to 19a5bf7 Compare June 16, 2025 13:04
@llucax llucax marked this pull request as ready for review June 16, 2025 13:05
Copilot AI review requested due to automatic review settings June 16, 2025 13:05
@llucax llucax requested a review from a team as a code owner June 16, 2025 13:05
@llucax llucax requested a review from TalweSingh June 16, 2025 13:05

This comment was marked as outdated.

By default `repo-config` will include the
`submodules/frequenz-api-common` directory, which is us, and we don't
want to include ourselves as a submodule, so we need to explicitly set
the `include_paths` to an empty array.

We also need to bump the dependency on `frequenz-repo-config` to
get a bug fix that allows overriding with an empty array.

Signed-off-by: Leandro Lucarella <[email protected]>
@llucax llucax force-pushed the fix-proto-include-paths branch from 19a5bf7 to c76bca2 Compare June 16, 2025 13:06
@llucax llucax enabled auto-merge June 16, 2025 13:06
Copy link
Contributor

Copilot AI left a 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 overrides the default include path for protobuf generation by explicitly setting the include_paths to an empty array and bumps the dependency version of frequence-repo-config to 0.13.5 to include a bug fix.

  • Bumped frequence-repo-config[api] version from 0.13.4 to 0.13.5 in multiple dependency blocks.
  • Added a new [tool.frequenz-repo-config.protobuf] section with include_paths set to an empty array to avoid including the submodule.

@llucax
Copy link
Contributor Author

llucax commented Jun 16, 2025

Ready for review.

@llucax llucax added this pull request to the merge queue Jun 16, 2025
Merged via the queue into frequenz-floss:v0.x.x with commit f3fcd40 Jun 16, 2025
6 checks passed
@llucax llucax deleted the fix-proto-include-paths branch June 16, 2025 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:tooling Affects the development tooling (CI, deployment, dependency management, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants