-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #288 from jayvdb/use-git-url-parser
Revert use of giturlparse
- Loading branch information
Showing
8 changed files
with
13 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,6 @@ matrix: | |
{%block custom_python_versions%} | ||
python: | ||
- &pypy2 pypy2.7-6.0 | ||
- 3.8-dev | ||
- 3.7 | ||
- 3.6 | ||
- 3.5 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ notifications: | |
email: false | ||
python: | ||
- &pypy2 pypy2.7-6.0 | ||
- 3.8-dev | ||
- 3.7 | ||
- 3.6 | ||
- 3.5 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ lml==0.0.9 | |
appdirs==1.2.0 | ||
crayons== 0.1.0 | ||
GitPython==2.0.0 | ||
giturlparse==0.9.1 | ||
git-url-parse==1.2.2 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ lml>=0.0.9 | |
appdirs>=1.2.0 | ||
crayons>= 0.1.0 | ||
GitPython>=2.0.0 | ||
giturlparse>=0.9.1 | ||
git-url-parse>=1.2.2 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -125,14 +125,16 @@ def test_update_existing_with_reference_parameter( | |
|
||
def test_get_repo_name(): | ||
repos = [ | ||
"https://github.com/sphinx-doc/sphinx", | ||
"https://github.com/repo-abc-def/repo", | ||
"https://github.com/abc/repo", | ||
"https://github.com/abc/repo.git", | ||
"https://github.com/abc/repo/", | ||
"[email protected]:moremoban/moban.git", | ||
"[email protected]:abc/repo.git", | ||
"[email protected]:abc/repo.git", | ||
"git://github.com/abc/repo.git", | ||
] | ||
actual = [get_repo_name(repo) for repo in repos] | ||
expected = ["sphinx", "repo", "repo", "repo", "moban"] | ||
expected = ["repo"] * len(repos) | ||
eq_(expected, actual) | ||
|
||
|
||
|