-
Notifications
You must be signed in to change notification settings - Fork 508
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Increase PyPI parsing flexibility (#3423)
* Make PyPI parsing more flexible to find any github or gitlab url, and hope its unique Signed-off-by: Josh Cogan <[email protected]> * Refactor the addRepo to not pass around a mutable object. Tweak a test to support gitlab better Signed-off-by: Josh Cogan <[email protected]> * Ignore users called sponsors for github repos. Remove the set and just check there is a single valid url Signed-off-by: Josh Cogan <[email protected]> * Remove unneeded variables and code Signed-off-by: Josh Cogan <[email protected]> * Reducing indentation Signed-off-by: Josh Cogan <[email protected]> * Make github url path parts case insensitive and use more explicit suffix filter to remove .git Signed-off-by: Josh Cogan <[email protected]> * Appease the linter--may its wisdown never wane. Signed-off-by: Josh Cogan <[email protected]> * CamelCase -> camelCase to prevent export Signed-off-by: Josh Cogan <[email protected]> * Add test and allowance for gitlab to also be case insensitive Signed-off-by: Josh Cogan <[email protected]> * hub vs lab typo Signed-off-by: Josh Cogan <[email protected]> --------- Signed-off-by: Josh Cogan <[email protected]>
- Loading branch information
Showing
2 changed files
with
221 additions
and
127 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.