-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: adds alternate lookup if base lookup fails (#896)
This is a first pass attempt at fixing #895. Main changes are updating the GithubRelease hoster to look for alternate paths via the GitHub API. The API sends a JSON response (example: https://api.github.com/repos/PacificBiosciences/HiPhase/releases) that contains each release along with a list of assets. The assets are searched for files that match the provides pattern. Currently, this first pass puts this as a backup to the main one (which I think is always failing now). I also did not update the tests, I think someone may have a better idea of how to do that. Happy to help push this further, but wanted to get the ball rolling. --------- Co-authored-by: Johannes Köster <[email protected]>
- Loading branch information
1 parent
54d8702
commit 17a1475
Showing
2 changed files
with
55 additions
and
1 deletion.
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