cloud-opensource-java icon indicating copy to clipboard operation
cloud-opensource-java copied to clipboard

Quicker way to release GAX and google auth library together?

Open suztomo opened this issue 4 years ago • 5 comments

As of now, when the google auth library provides a new method for GAX, we need to release Google Cloud BOM and the Libraries BOM that contains the newer version of the google auth library. Until that, GAX cannot use the google auth library because Linkage Monitor complains:

https://github.com/googleapis/gax-java/pull/1420#issuecomment-884371336

Once the Libraries BOM release is done, we can upgrade the google auth library version in GAX.

Is there a better way?

CC: @neenu1995

suztomo avatar Jul 21 '21 18:07 suztomo

How often does this happen? If it's a once a year thing, we might as well just push libraries-bom.

This is also an argument for not necessarily waiting for google-cloud-bom to update the auth-library before libraries-bom does.

elharo avatar Jul 21 '21 20:07 elharo

Yes, it's rare. For this case, Neenu is going to release the Google Cloud BOM (with new dependencies BOM), and we'll release the Libraries BOM.

I'll record occurrences in this issue in case similar situation happens again.

suztomo avatar Jul 21 '21 21:07 suztomo

Also I'm wondering whether Linkage Monitor is a suitable tool here now. The Libraries BOM now follows the Google Cloud BOM and the shared dependencies BOM.

While Linkage Monitor might find some unexpected dependency problems, the main purpose of finding incompatible dependencies are handled by the full convergence check at java-cloud-bom repository.

(I have not decided anything yet.)

suztomo avatar Jul 21 '21 22:07 suztomo

fyi, linkage-monitor check failed for a reason similar to this in https://github.com/googleapis/java-datastore/pull/492

aristide-n avatar Aug 26 '21 19:08 aristide-n

@aristide-n Yes, as you might already noticed, I've removed the check from the required checks of these repositories. For java-datastore, it's done https://github.com/googleapis/java-datastore/pull/515.

suztomo avatar Aug 26 '21 19:08 suztomo