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

download and cache latest version of yarn #59

Closed
mikrostew opened this issue Apr 25, 2018 · 2 comments
Closed

download and cache latest version of yarn #59

mikrostew opened this issue Apr 25, 2018 · 2 comments

Comments

@mikrostew
Copy link
Contributor

Notion should download and cache the latest version of yarn.

A tarball of the latest version of yarn can be found at https://yarnpkg.com/latest.tar.gz

The version for this is located at https://yarnpkg.com/latest-version, which returns a text string (currently 1.6.0)

From https://yarnpkg.com/en/docs/install#alternatives-stable, this download can be verified like so:

wget -qO- https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --import
wget https://yarnpkg.com/latest.tar.gz.asc
gpg --verify latest.tar.gz.asc
# Look for "Good signature from 'Yarn Packaging'" in the output
@mikrostew mikrostew added this to the Notion MVP milestone Apr 25, 2018
@dherman dherman mentioned this issue May 2, 2018
2 tasks
@dherman dherman removed this from the Notion MVP milestone May 2, 2018
@alexlafroscia
Copy link

This is probably ready to be closed, right?

@charlespierce
Copy link
Contributor

Yeah, I think so. We don't actually cache the latest version, but we use the Yarn-provided API for that, and we cache each version that we actually download.

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

No branches or pull requests

4 participants