Skip to content

Conversation

@chanseokoh
Copy link
Contributor

  • Removes gapic_generator_java.bzl.

  • :google_java_format_verification is now working. (Fixes google_java_format_verification is broken #914.)

  • :google_java_format_verification now runs with bazel run instead of bazel build, which is consistent with how :google_java_format runs.

  • Removes manual listing of files to format, which is error-prone. This actually revealed that we were missing out some files for formatting. (For example, AbstractTransportServiceStubClassComposer.java had an unused import.)

  • Removes unnecessary filegroup definitions triggered by removing manual file listing.

  • Reduces visibility of many packages.

@chanseokoh chanseokoh requested review from a team, blakeli0 and meltsufin January 27, 2022 23:22
@chanseokoh chanseokoh requested a review from a team as a code owner January 27, 2022 23:22
@codecov
Copy link

codecov bot commented Jan 27, 2022

Codecov Report

Merging #915 (c9c5558) into main (9e7689a) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #915   +/-   ##
=======================================
  Coverage   87.96%   87.96%           
=======================================
  Files         156      156           
  Lines       16198    16198           
  Branches     1179     1179           
=======================================
  Hits        14248    14248           
  Misses       1608     1608           
  Partials      342      342           
Impacted Files Coverage Δ
...n/AbstractServiceCallableFactoryClassComposer.java 99.36% <ø> (ø)
...erator/gapic/composer/common/TransportContext.java 100.00% <ø> (ø)
...mmon/AbstractServiceStubSettingsClassComposer.java 96.21% <100.00%> (ø)
...mon/AbstractTransportServiceStubClassComposer.java 93.74% <100.00%> (ø)
...ic/composer/common/BatchingDescriptorComposer.java 99.72% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9e7689a...c9c5558. Read the comment docs.

@chanseokoh chanseokoh added the automerge Merge the pull request once unit tests and other checks pass. label Jan 28, 2022
@gcf-merge-on-green gcf-merge-on-green bot merged commit 99b3da7 into main Jan 28, 2022
@gcf-merge-on-green gcf-merge-on-green bot deleted the simplify-build-infra branch January 28, 2022 19:54
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Jan 28, 2022
suztomo pushed a commit that referenced this pull request Dec 16, 2022
)

- Removes `gapic_generator_java.bzl`.

- `:google_java_format_verification` is now working. (Fixes #914.)

- `:google_java_format_verification` now runs with `bazel run` instead of `bazel build`, which is consistent with how `:google_java_format` runs.

- Removes manual listing of files to format, which is error-prone. This actually revealed that we were missing out some files for formatting. (For example, `AbstractTransportServiceStubClassComposer.java` had an unused import.) 

- Removes unnecessary `filegroup` definitions triggered by removing manual file listing.

- Reduces visibility of many packages.
suztomo pushed a commit that referenced this pull request Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

google_java_format_verification is broken

2 participants