You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Don't use the versions file for tools installed via NPM #23
The versions file exists to avoid rate limits imposed by GitHub when getting the latest release for various tools via the GitHub API. However, if a user specifies they want the latest tool and the tool is installed via NPM, then we should skip the versions file and just NPM install the latest -- we don't get rate limited on that.
This function decides whether to fetch an exact version of a tool (because the user specified an exact version) or to look up the latest version in the versions file:
Activity
thomashoneyman commentedon Aug 8, 2021
This function decides whether to fetch an exact version of a tool (because the user specified an exact version) or to look up the latest version in the versions file:
setup-purescript/src/Setup/BuildPlan.purs
Lines 54 to 80 in 915bfb6
However, if the
InstallMethodfor a tool isNPM:setup-purescript/src/Setup/Data/Tool.purs
Lines 78 to 80 in 915bfb6
...then we should skip the versions file altogether and just NPM install the tool at its latest version according to NPM:
setup-purescript/src/Setup/Data/Tool.purs
Lines 94 to 148 in 915bfb6
Currently that only covers
psaandpurs-tidy.pete-murphy commentedon Aug 10, 2021
Does something like this (#24) make sense as a possible fix?