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 — Library name incorrectly interpreted in library generation workflow · Issue #3381 · googleapis/sdk-platform-java

This repository was archived by the owner on Oct 29, 2026. It is now read-only.
This repository was archived by the owner on Oct 29, 2026. It is now read-only.

Library name incorrectly interpreted in library generation workflow #3381

Copy link
Copy link
Closed
#3382
#3379
Closed
Library name incorrectly interpreted in library generation workflow#3381
#3382
#3379
Copy link
Labels
hermetic-buildpriority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@JoeWang1127
JoeWang1127
opened on Nov 15, 2024
Issue body actions

During config comparison, if the change type is REPO_LEVEL_CHANGE, e.g., generator version updates, the changed library is None.

The docker run command is

docker run \
 --rm \
 --quiet \
 -u 1001:127 \
 -v /home/runner/work/sdk-platform-java/sdk-platform-java:/workspace \
 -v /tmp/tmp.OME0CowQYa:/workspace/googleapis \
 -e GENERATOR_VERSION=2.50.1-SNAPSHOT \
 gcr.io/cloud-devrel-public-resources/java-library-generation:2.50.1-SNAPSHOT \
 --generation-config-path=/workspace/generation_config.yaml \
 --library-names= \
 --api-definitions-path=/workspace/googleapis

However, --library-names= is interpreted as passing an empty string in python script. As a result, the generation process is skipped due to no library name is specified.

Example running log:

+ docker run --rm --quiet -u 1001:127 -v /home/runner/work/sdk-platform-java/sdk-platform-java:/workspace -v /tmp/tmp.OME0CowQYa:/workspace/googleapis -e GENERATOR_VERSION=2.50.1-SNAPSHOT gcr.io/cloud-devrel-public-resources/java-library-generation:2.50.1-SNAPSHOT --generation-config-path=/workspace/generation_config.yaml --library-names= --api-definitions-path=/workspace/googleapis
Library names is empty string

We should return all library names if repo-level parameter changes.

Activity

  1. JoeWang1127
    added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    priority: p2Moderately-important priority. Fix may not be included in next release.
    hermetic-build
    on Nov 15, 2024
  2. JoeWang1127
    closed this as completedin #3379on Nov 18, 2024
  3. JoeWang1127
    added a commit that references this issue on Nov 18, 2024

    fix: return all library names if repo-level parameter changes (#3379)

    This issue will close once commit 75dcb96 is merged into the 'main' branch.
    75dcb96
  4. JoeWang1127
    added a commit that references this issue on Dec 12, 2024

    chore(main): release 2.51.0 (#3382)

    1e73a4a
  5. svc-squareup-copybara
    added a commit that references this issue on Jan 28, 2025

    This PR contains the following updates:

    0865899
  6. chingor13
    added a commit that references this issue on Mar 24, 2026

    chore(main): release 2.51.0 (#3382)

    5b203a2
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

    hermetic-buildpriority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    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.