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

chore: Update README prerequisites #9295

Merged
merged 3 commits into from
Apr 29, 2024
Merged

Conversation

gibson042
Copy link
Member

Fixes #9294

Description

Update the master README for Node.js v18/v20 and Go 1.20+.

Security Considerations

None.

Scaling Considerations

n/a

Documentation Considerations

This presumes that README.md is the source of truth as suggested in #9294.

Testing Considerations

n/a

Upgrade Considerations

Release commits are expected to have a static snapshot as relevant to them (e.g., release-mainnet1B does not support Node.js v20 AFAIK).

* we generally support the latest LTS release: use [nvm](https://github.com/nvm-sh/nvm) to keep your local system up-to-date
* Yarn (`npm install -g yarn`)
* gcc-10 or newer, or a compiler with `__has_builtin()`
* gcc >=10, clang >=10, or another compiler with `__has_builtin()`
Copy link
Member Author

Choose a reason for hiding this comment

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

clang 10 is very old, but consistent with our releases.

Copy link

cloudflare-workers-and-pages bot commented Apr 26, 2024

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9f934bf
Status: ✅  Deploy successful!
Preview URL: https://8a2f786e.agoric-sdk.pages.dev
Branch Preview URL: https://gibson-9294-prerequisites.agoric-sdk.pages.dev

View logs

@gibson042 gibson042 changed the title fix: Update README prerequisites chore: Update README prerequisites Apr 26, 2024
@@ -17,10 +17,11 @@ to use.
## Prerequisites

* Git
* Node.js LTS (version 16.13.0 or higher)
* Go ^1.20.2
* Node.js ^18.12 or ^20.9
Copy link
Member

Choose a reason for hiding this comment

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

the policy is Node LTS, whatever that may be. let's leave specific version numbers out of the README.

though consider linking from here to https://github.com/Agoric/agoric-sdk/blob/master/docs/node-version.md

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm, does that make sense in a list that is specific with respect to other software? I think instead it makes sense to have the README be the source of truth and docs/node-version.md to include instructions for updating it in accordance with Node.js LTS policy. We shouldn't expect someone to be able to use a Node.js version that we haven't actively vetted, even if it is LTS.

Copy link
Member

Choose a reason for hiding this comment

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

I agree with @gibson042, there is a difference between policy, and what is actually tested. The goal of this section is also to be referenced from release notes by permalink, so we should have an explicit statement of what versions are explicitly supported and tested.

Copy link
Member

Choose a reason for hiding this comment

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

I think instead it makes sense to have the README be the source of truth and docs/node-version.md to include instructions for updating it in accordance with Node.js LTS policy

I'm not concerned with which doc is the source of truth, but that any doc is rather than CI or package.json engines which is the actual truth about what is supported. I'm weary of multiple sources of "truth" and the likelihood they get out so sync.

Take that input fwiw. No objections to the PR as is.

@gibson042 gibson042 added the automerge:rebase Automatically rebase updates, then merge label Apr 29, 2024
@mergify mergify bot merged commit de2008a into master Apr 29, 2024
75 checks passed
@mergify mergify bot deleted the gibson-9294-prerequisites branch April 29, 2024 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:rebase Automatically rebase updates, then merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

README prerequisites are outdated
3 participants