GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — s2a: repositories.bzl override does not point to a target · Issue #11703 · grpc/grpc-java

s2a: repositories.bzl override does not point to a target #11703

New issue
Copy link
New issue
Copy link
Closed
Closed
s2a: repositories.bzl override does not point to a target#11703
Copy link

Description

@karanjamutahi
karanjamutahi
opened on Nov 21, 2024
Issue body actions

What version of gRPC-Java are you using?

1.68.1

What is your environment?

Linux, jdk 23.0.1, bazel version 7.4.1

What did you expect to see?

@@io_grpc_grpc_java//s2a points to a bazel target

What did you see instead?

There is no target called s2a in @@io_grpc_grpc_java//s2a i.e. @@io_grpc_grpc_java//s2a:s2a

Steps to reproduce the bug

bazel query @@io_grpc_grpc_java//s2a

We added an override to point io.grpc:grpc-s2a to @@io_grpc_grpc_java//s2a:s2av2_credentials which is what I think the gradle build publishes to maven

I think the test mentioned in #3918 can at least bazel query that the values in IO_GRPC_GRPC_JAVA_OVERRIDE_TARGETS resolve to a target ?

Activity

  1. ejona86 commented on Nov 21, 2024

    @ejona86
    ejona86
    on Nov 21, 2024
    Member
    More actions

    Are you using s2a? Or did you notice by some other means?

  2. ejona86 commented on Nov 21, 2024

    @ejona86
    ejona86
    on Nov 21, 2024
    Member
    More actions

    @rmehta19, I think we should rename s2av2_credentials to s2a, as "v2" means nothing to any user (or me) and we rarely get much benefit from fine-grained targets (I think grpc-services is the main exception). If we want to avoid dependencies, we have to put the code in separate packages and artifacts anyway for Maven Central. So we should also swap to using a glob on src/main/java/io/grpc/s2a/*.java like we do elsewhere.

    Reacted by Riya Mehta
  3. karanjamutahi commented on Nov 21, 2024

    @karanjamutahi
    karanjamutahi
    on Nov 21, 2024
    Author
    More actions

    Are you using s2a? Or did you notice by some other means?

    We don't.
    A transitive dep complained that it couldn't find it. com_google_cloud_google_cloud_resourcemanager

  4. ejona86 commented on Dec 3, 2024

    @ejona86
    ejona86
    on Dec 3, 2024
    Member
    More actions

    Fixed by #11705

  5. ejona86
    closed this as completedon Dec 3, 2024
  6. github-actions
    locked as resolved and limited conversation to collaborators on Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.