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 — chore: follow up fix to verify_library_generation by alicejli · Pull Request #2721 · googleapis/sdk-platform-java

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

Conversation

@alicejli

@alicejli alicejli commented May 2, 2024

Copy link
Copy Markdown
Contributor

#2716 didn't quite fix what it should have. Follow up to fix the error:

Previous HEAD position was e54601fce Merge 30c7c5b4f9825c14458d6ef31e0b3e3fccbb4207 into 5d4567f883b1e29cd5f299d392c5a809b451aa18
Switched to a new branch 'main'
branch 'main' set up to track 'origin/main'.
+ git fetch --no-tags --prune origin +main:refs/remotes/origin/main
From https://github.com/googleapis/sdk-platform-java
 - [deleted]             (none)     -> origin/main
+ git checkout renovate/markupsafe-2.x
error: pathspec 'renovate/markupsafe-2.x' did not match any file(s) known to git

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@alicejli
chore: follow up fix to verify_library_generation
a9690af
@alicejli
alicejli requested a review from a team May 2, 2024 17:37
@product-auto-label product-auto-label Bot added the size: s Pull request size is small. label May 2, 2024
@alicejli
base ref is always main
e7097c9
JoeWang1127
JoeWang1127 reviewed May 2, 2024
View reviewed changes
Comment thread .github/workflows/verify_library_generation.yaml Resolved

Uh oh!

There was an error while loading. Please reload this page.

@alicejli @JoeWang1127
Update .github/workflows/verify_library_generation.yaml
6ded36b
Co-authored-by: Joe Wang <[email protected]>
alicejli
alicejli commented May 2, 2024
View reviewed changes
Comment thread .github/workflows/verify_library_generation.yaml Resolved

Uh oh!

There was an error while loading. Please reload this page.

alicejli and others added 11 commits May 2, 2024 16:13
@alicejli
merge main
016697e
@alicejli
merge main
344f79a
@alicejli
update
e7a8c34
@alicejli
move sender login to var
9bef813
@alicejli
remove quotations
0b0465e
@alicejli
make it generic for all forked PRs
a56d8df
@alicejli
invert equality
10ae5af
@alicejli
Merge branch 'main' into fixScript
5531483
@alicejli
test
096e52c
@alicejli
Merge branch 'main' of https://github.com/googleapis/sdk-platform-java …
0a65ad9
…into fixScript
@alicejli
Merge branch 'fixScript' of https://github.com/googleapis/sdk-platfor…
5f72112
…m-java into fixScript
JoeWang1127
JoeWang1127 reviewed May 2, 2024
View reviewed changes
Comment thread .github/workflows/verify_library_generation.yaml Outdated
@@ -1,6 +1,11 @@
on:
push:

@JoeWang1127 JoeWang1127 May 2, 2024

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you merge main branch, I think this line should not change.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
JoeWang1127
JoeWang1127 reviewed May 2, 2024
View reviewed changes
Comment thread .github/workflows/verify_library_generation.yaml Resolved

Uh oh!

There was an error while loading. Please reload this page.

JoeWang1127
JoeWang1127 reviewed May 2, 2024
View reviewed changes
Comment thread .github/workflows/verify_library_generation.yaml Resolved

Uh oh!

There was an error while loading. Please reload this page.

@alicejli
test
25c0038
JoeWang1127
JoeWang1127 reviewed May 2, 2024
View reviewed changes
Comment thread .github/workflows/verify_library_generation.yaml Outdated
echo "head_ref=${{ github.event.pull_request.head.ref }}"
echo "Head repo URL: ${{ github.event.pull_request.head.repo.html_url }}
# PRs that come from a fork need to be handled differently
if [[ ${{ github.event.pull_request.head.repo.full_name }} == ${{ github.repository }} ]]; then

@JoeWang1127 JoeWang1127 May 2, 2024

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what the difference between github.event.pull_request.head.repo.full_name and github.repository if it's a forked repo? Does the former have a different organization?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@alicejli alicejli May 2, 2024

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

github.repository will always be googleapis/sdk-platform-java since that's where this workflow is running from. github.event.pull_request.head.repo.fullname will have a different organization and potentially different repo name (for instance, for renovate bot, the value is: renovate-bot/gapic-generator-java)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

JoeWang1127 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
alicejli added 2 commits May 2, 2024 17:37
@alicejli
test
73228fd
@alicejli
remove test and add head ref
bf30257
@JoeWang1127

JoeWang1127 commented May 2, 2024

Copy link
Copy Markdown
Contributor

Could you move github related variable to env? I think this will make the script concise.

alicejli reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

alicejli and others added 3 commits May 2, 2024 18:08
@alicejli
Merge branch 'main' into fixScript
9c01feb
@alicejli
update using env var
66b3447
@alicejli
Merge branch 'fixScript' of https://github.com/googleapis/sdk-platfor…
feb2d04
…m-java into fixScript
@alicejli

alicejli commented May 2, 2024

Copy link
Copy Markdown
Contributor Author

Confirmed this workflow file: https://github.com/googleapis/sdk-platform-java/actions/runs/8931135864/workflow?pr=2657

worked with #2657.

Have updated this script to use that workflow file (along with some refactoring to use the env var)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

alicejli added 3 commits May 2, 2024 18:28
@alicejli
remove joe's pr
9befd9e
@alicejli
add back -
d00af1f
@alicejli
typo
1297d89
JoeWang1127
JoeWang1127 approved these changes May 2, 2024
View reviewed changes

@JoeWang1127 JoeWang1127 left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@sonarqubecloud

sonarqubecloud Bot commented May 2, 2024

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed for 'gapic-generator-java-root'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sonarqubecloud

sonarqubecloud Bot commented May 2, 2024

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed for 'java_showcase_integration_tests'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@alicejli
alicejli merged commit 2e360ef into main May 3, 2024
@alicejli
alicejli deleted the fixScript branch May 3, 2024 13:59
lqiu96 pushed a commit that referenced this pull request May 22, 2024
@alicejli @JoeWang1127 @lqiu96
chore: follow up fix to verify_library_generation (#2721)
96b3398
#2716 didn't quite
fix what it should have. Follow up to fix the error:

```
Previous HEAD position was e54601f Merge 30c7c5b into 5d4567f
Switched to a new branch 'main'
branch 'main' set up to track 'origin/main'.
+ git fetch --no-tags --prune origin +main:refs/remotes/origin/main
From https://github.com/googleapis/sdk-platform-java
 - [deleted]             (none)     -> origin/main
+ git checkout renovate/markupsafe-2.x
error: pathspec 'renovate/markupsafe-2.x' did not match any file(s) known to git
```

---------

Co-authored-by: Joe Wang <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@JoeWang1127 JoeWang1127 JoeWang1127 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size: s Pull request size is small.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@alicejli @JoeWang1127
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.