Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pull_licenses_java returning 404 from opensource.org #25515

Merged
merged 1 commit into from
Feb 16, 2023

Conversation

bvolpato
Copy link
Contributor

Apparently opensource.org changed the paths to reach license from https://opensource.org/licenses/mit-license.php -> https://opensource.org/licenses/mit/

This change fixes recent snapshot breakages.

For example: https://ci-beam.apache.org/job/beam_Publish_Beam_SDK_Snapshots/4836/console

11:17:12 ERROR:root:Invalid url for pcollections-2.1.2: http://www.opensource.org/licenses/mit-license.php. Retrying...
11:17:12 Traceback (most recent call last):
11:17:12   File "/home/jenkins/jenkins-slave/workspace/beam_Publish_Beam_SDK_Snapshots/src/sdks/java/container/license_scripts/pull_licenses_java.py", line 58, in pull_from_url
11:17:12     url_read = urlopen(Request(url, headers={

@chamikaramj
Copy link
Contributor

LGTM. Thanks.

@chamikaramj
Copy link
Contributor

Will merge after tests.

@chamikaramj chamikaramj merged commit 1b1cc44 into apache:master Feb 16, 2023
@bvolpato bvolpato deleted the licenses-fix branch February 16, 2023 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants