-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(pkg/godot/mirror)!: simplify
Mirror
usage by making it gen…
…eric over `artifact.Versioned` (#128) * refactor(pkg/godot/artifact/archive): require archive contents to be Versioned; impl Versioned * refactor: update mirror to be generic over versioned artifacts * refactor: simplify usage of download functions by making them generic * fix: update install to use generic download function * feat: add a name method to mirrors to improve logging * refactor: implement streamlined mirror interfaces for GitHub and TuxFamily * refactor: fix tests for mirrors * refactor: improve checks for interface implementations * fix comment to reflect new API * chore: add a convenience method to make a mock artifact with a version * feat: add tests for archive versions * refactor: eliminate error path by panicking if a URL constant is invalid
- Loading branch information
1 parent
da762a2
commit 83fb6f1
Showing
23 changed files
with
447 additions
and
924 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.