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

/temurin/releases/ no longer has a source tarball #418

Closed
jerboaa opened this issue Apr 21, 2022 · 3 comments · Fixed by #1450
Closed

/temurin/releases/ no longer has a source tarball #418

jerboaa opened this issue Apr 21, 2022 · 3 comments · Fixed by #1450

Comments

@jerboaa
Copy link
Contributor

jerboaa commented Apr 21, 2022

Since the move to the new website there are no more links to the source tarball archives available. I believe this is still available via the API:

curl -v https://api.adoptium.net/v3/binary/latest/17/ga/linux/x64/sources/hotspot/normal/eclipse
*   Trying 20.62.244.126:443...
* Connected to api.adoptium.net (20.62.244.126) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*  CAfile: /etc/pki/tls/certs/ca-bundle.crt
*  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: CN=api.adoptium.net
*  start date: Mar 12 10:32:55 2022 GMT
*  expire date: Jun 10 10:32:54 2022 GMT
*  subjectAltName: host "api.adoptium.net" matched cert's "api.adoptium.net"
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify ok.
> GET /v3/binary/latest/17/ga/linux/x64/sources/hotspot/normal/eclipse HTTP/1.1
> Host: api.adoptium.net
> User-Agent: curl/7.79.1
> Accept: */*
> 
* Mark bundle as not supporting multiuse
< HTTP/1.1 307 Temporary Redirect
< Date: Thu, 21 Apr 2022 16:54:49 GMT
< Content-Type: application/octet-stream
< Content-Length: 0
< Connection: keep-alive
< Location: https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.2%2B8/OpenJDK17U-sources_17.0.2_8.tar.gz
< 
* Connection #0 to host api.adoptium.net left intact
@jerboaa
Copy link
Contributor Author

jerboaa commented Apr 21, 2022

Screenshot from 2022-04-21 18-55-40

@jerboaa
Copy link
Contributor Author

jerboaa commented Apr 21, 2022

Old website had them :(

Screenshot from 2022-04-21 19-00-18

@gdams
Copy link
Member

gdams commented Apr 21, 2022

Hmm this one is an awkward one, it's because we're filtering by image_type=jdk. If you switch Package Type to be any then it will show. @johnoliver is there a way to filter by several image types?

thinking along the lines of:

if (packageType !== 'any') {
    url += `image_type=${packageType}&image_type=sources`
}

@gdams gdams changed the title https://adoptium.net/temurin/releases/ no longer has a source tarball /temurin/releases/ no longer has a source tarball Apr 21, 2022
gdams added a commit that referenced this issue Jan 27, 2023
gdams added a commit that referenced this issue Jan 27, 2023
* Fix package type filtering on releases download page

fixes: #418

* Update fetchTemurinReleases.test.tsx

* fixup
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 a pull request may close this issue.

2 participants