setup-edgedb icon indicating copy to clipboard operation
setup-edgedb copied to clipboard

Refactor fetching & matching packages from index into own file

Open CarsonF opened this issue 1 year ago • 1 comments

This moves all the work for getting the CLI download url into a separate packages file. There was some duplicated work in win.ts that I either DRY-ed up or unified into the linux/osx code paths.

I enhanced the package index logic to work for any packages within the index, as the test suite proves with edgedb-server-3. I know this isn't immediately useful, but it seemed like the right thing to do. Now only the highest level function knows about the cli package.

CarsonF avatar Oct 13 '23 20:10 CarsonF

I'm not sure why nightly is failing. I'd like to think it's unrelated to these changes. Is nightly tested on ~~master~~ main?

CarsonF avatar Oct 26 '23 12:10 CarsonF