GithubHelp home page GithubHelp logo

adoptium / adoptium.net Goto Github PK

View Code? Open in Web Editor NEW
17.0 12.0 107.0 129.82 MB

Adoptium Website

Home Page: https://adoptium.net

License: Apache License 2.0

JavaScript 0.32% SCSS 4.68% TypeScript 95.00%
hacktoberfest

adoptium.net's Introduction

Adoptium Site

Netlify Status codecov OpenSSF Scorecard

This repository contains the source code for https://adoptium.net.

The main branch contains the source code necessary for development. The production site is hosted on Netlify which also supports pull request staging.

Tech Stack

This is is a Node.js / npm driven stack with AsciiDoc used for static content and Gatsby as the rendering engine etc.

How to develop locally

This assumes you already have Node.js and npm installed. Node.js version 18 or above is required. We recommend using nvm to manage your versions.

  1. Install your dependencies

    npm install
  2. Start the site up. Gatsby will build all of the various parts of the site (Asciidoc etc). Note that this command takes some time to execute.

    npm start
  3. If you need more memory (FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory)

    export NODE_OPTIONS=--max-old-space-size=4096
  4. Open the source code and start editing!

    Your site is now running at http://localhost:8000!

    Note: You'll also see a second link:http://localhost:8000/___graphql. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.

    Open the directory in your code editor of choice and edit relevant files under the src/ directory. Save your changes and the browser will update in real time!

Configuring the build

gatsby-config.ts is effectively your build script and gatsby-node.ts is where the Asciidoc rendering takes place.

How to contribute

See CONTRIBUTING.md

adoptium.net's People

Contributors

adamfarley avatar adoptium-bot avatar andrew-m-leonard avatar bethgriggs avatar dependabot[bot] avatar eclipse-temurin-bot avatar eddumelendez avatar gdams avatar hansolo avatar haroon-khel avatar hendrikebbers avatar jerboaa avatar jiekang avatar karianna avatar luozhenyu avatar mboegers avatar mesbah-alam avatar mtughan avatar ndacyayisenga-droid avatar ojuschugh1 avatar perlun avatar prajwalborkar avatar reinhapa avatar smlambert avatar sophia-guo avatar steelhead31 avatar sxa avatar tellison avatar xavierfacq avatar zdtsw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

adoptium.net's Issues

Add a banner to the website

adoptium.net has often used a pink banner at the top of the page to share release updates and other relevant information. We should provide a similar banner for this website.

Example of the current banner:

Screenshot 2022-02-18 at 10 49 08

Add global attributes to asciidoc

We should use global attributes to set variables that are used on multiple pages (e.g latest Temurin 8 version) this will also make it easier to update the variables when we do releases

/temurin/releases/ no longer has a source tarball

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

Provide a download button for the Adoptium Temurin JDK/JRE builds for promotional purposes

This is a request for the marketing department probably.

Oracle allows users to promote Oracle JDK builds with an official download button logo. See also
https://www.oracle.com/java/java-affinity/download-buttons.html

I think it would be great if Adoptium could provide something similar for their builds. I would love to promote https://adoptium.net/ if I could use an official download button. However, I have not found an official download button on the adoptium.net website that I could use for this purpose.

Adoptium download page should include release date and EOL date.

Summary
Adoptium download page should include release date and EOL date. When I am deciding which download to choose, it would be useful to know how fresh it is and how long it will be supported.

Steps to reproduce
Visit the download page and note there is no information about dates of kind.

What is the current bug behavior?
You can't tell, when choosing your download, what the support time frame (LTS) is.

What is the expected correct behavior?
It would be nice to have this information readily available. If not on the page directly, then at least provide a link to a summary of this information.

Relevant logs and/or screenshots
https://adoptium.net/temurin/releases
Originally [incorrectly] posted at https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/1168

Investigate solutions to keep i18n docs up to date with english ones

Snapshot from a conversation with @tellison discussing ideas:

Each doc has a version e.g 1.0.0

We bump the English one to 1.0.1 but the German one is still at 1.0.0 so we add a banner to the top of the page saying something like:

“This documentation may be out of date please help us bring it up to date by contributing to the project”

We could go one step further and instead of having versions have a based-on value in the translated page which contains the git sha of the English version

We can then programmatically produce a diff which we can show prospective translators to help them understand which bits need changing

Update marketplace page to use Adoptium API

Currently marketplace page is still using Disco API. Creating this issue to capture the wish to switch over to use the in-house Adoptium API (which is currently being augmented to support marketplace requirements).

Show ARM build for Macs

  • Browser:

Safari Version 15.1 (17612.2.9.1.20)

I'm on an Apple Silicon Mac but the Adoptium webpage wants to give me the x64 version.

It would be great if I was given the choice of which version to download from the homepage, many people may not realise that there is an ARM build of the JDK, or that the one they are downloading is Intel.

Screenshot of Safari (19-01-22, 4-26-40 PM)

I realise I can pick the other packages below but it's not obvious to a user that this might be something they'd want to do when they're presented with a good looking option.

There doesn't seem to be any particularly good ways of detecting if a Mac is Intel or ARM so just showing both seems like a decent option.

Create cherished URLs for external documentation

In order to have reliable URLs published in external Eclipse Foundation documentation, the following links should be maintained by the website code.

Add installation instructions for MacPorts

I am the maintainer of the openjdk*-temurin ports in MacPorts. I recently contributed installation instructions, but I see the website has been replaced with a new version. The instructions can still be found on the old site here: https://old.adoptium.net/installation.html#macports

I looked at the code for the new site, but it seems there is currently a one-to-one mapping from operating system to package manager, which doesn't allow for easily adding a second package manager for an operating system. I'm afraid I don't understand React well enough to refactor the code to allow for instructions for two package managers for a single operating system, but it would be nice if the MacPorts instructions could be restored on the new website.

Add section for SDKMAN on installation page

Hi all,

First off, thanks for your tremendous effort so far. We all appreciate the hard work you are putting in.

I noticed that your installation page makes no mention of SDKMAN right now, and was wondering if I could raise a PR to add it, as well as get some guidance around what could be added to that page.

You might already know that Temurin 17 is the new default JDK installation on SDKMAN, so installing is a doddle 😄

Thanks and keep up the great work!

Thank you box should not include bots

The Adoptium website thanks contributors by showing a box at the bottom of each page.

This thank you randomly selects a contributor from various project repositories, however, it currently includes automated bot "contributions".

The code should be updated to ignore known bots from the thank-you (by selecting a new contributor who is not in a list of known bots).

MacOS JDK8 tar.gz checksum not identical

The Checksum for the MacOS JDK8 (jdk8u322-b06) tar.gz - File is not identical.

Filename: OpenJDK8U-jdk_x64_mac_hotspot_8u322b06.tar

SHA265 Checksum on adoptium: 96a3124bf0f5ca777954239893cc89ea34c4bc9a9b7c1559aa2c69baa0ee84e3
SHA265 Checksum from downloaded file: bd8883b6b90e01b05c58b5eb263b0566a6c2f652ae444e4fcb496937218a1281

My apologies if this is not the correct place to post - I'm new.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.