Skip to content

Conversation

@ryanjbaxter
Copy link

@ryanjbaxter ryanjbaxter commented Dec 5, 2024

Cherry pick #2952 to Release-19 branch

…read entries with openConnection

when running in IDE or a thin jar, it is ok,
when running with a fat jar in server, new JarFile can not open and read the entries.
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 5, 2024
@ryanjbaxter ryanjbaxter changed the title #2241 fix bug: when running with a fat jar, need to read entries with openConnection Cherry Pick #2952 To Release 19 Dec 5, 2024
@ryanjbaxter
Copy link
Author

@brendanburns @yue9944882 this is another one for the Release-19 branch

@brendandburns
Copy link
Contributor

@ryanjbaxter thanks for the PR, but there are 5 commits in the original PR after the review, can you cherry-pick all of those commits?

In particular, I want the change that requires that the jar: URL prefix is there so that we don't load JARs across the network.

wkclz added 4 commits December 6, 2024 11:05
In a fat jar, packageURL start with "nested:", 
not a fat jar, it start with "jar:".

(cherry picked from commit ec7e7b9)
…eturn

packageURL is not jar or nested, it would be return

(cherry picked from commit 88ac227)
re import URLDecoder

(cherry picked from commit de71d98)
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 6, 2024
@ryanjbaxter
Copy link
Author

@brendandburns Sure the additional commits should be there now

@brendandburns
Copy link
Contributor

/lgtm
/approve

Thanks for the quick turn around.

@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Dec 6, 2024
@yue9944882
Copy link
Member

#3813

looks like we need to rebase this PR after the above one get merged

@ryanjbaxter
Copy link
Author

@yue9944882 yes! Will do after it is merged!

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 8, 2024
@ryanjbaxter
Copy link
Author

@brendandburns @yue9944882 I have rebased this PR can we run the build again?

@brendandburns
Copy link
Contributor

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 8, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brendandburns, ryanjbaxter

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 04ff2f2 into kubernetes-client:release-19 Dec 8, 2024
9 checks passed
@brendandburns
Copy link
Contributor

@ryanjbaxter I pushed a 19.0.2 release up to sonatype, should be in maven central in ~24hr

https://repo1.maven.org/maven2/io/kubernetes/client-java/19.0.2/

@ryanjbaxter
Copy link
Author

Excellent thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants