-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(FindSources): get_matching_source_url
* I dubbed the original implementation verstion_to_github_tag, but on success it would actually return a source url, not a GitHub tag. => rename in allusion to get_matching_tag() which it aims to replace * moved tag guessing heuristic to its own method _gen_tags() * introduced TagCache to avoid throwing the same bad guesses at the GitHub API over and over again. It is used transparently in _gen_tags(). This means it is perfectly viable for _gen_tags() to return an empty list. * also, addressed the mypy shenanigans
- Loading branch information
Showing
2 changed files
with
139 additions
and
74 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
Oops, something went wrong.