Skip to content

Improved way of listing URLs in goddamn remote - #528

Closed
guyzmo wants to merge 18 commits into
gitpython-developers:masterfrom
guyzmo:fix/remote_urls
Closed

guyzmo wants to merge 18 commits into
gitpython-developers:masterfrom
guyzmo:fix/remote_urls

Conversation

@guyzmo

@guyzmo guyzmo commented Oct 11, 2016

Copy link
Copy Markdown
Contributor

instead of using git remote show that can trigger a muthaf*ckin' connection to the
remote repository, use git remote get-url --all that works by only
reading the .git/config.

change should have no functional impact, so no test needed.

Signed-off-by: Guyzmo [email protected]

expobrain and others added 15 commits September 12, 2016 17:19
Now that performance tests are run, it appears we run into one
particular failure on travis, possibly indicating a bug in python 3.3.

Just bluntly increason the amount of handles might silence it... .

Related to gitpython-developers#524
instead of using git remote show that can trigger a connection to the
remote repository, use git remote get-url --all that works by only
reading the .git/config.

change should have no functional impact, so no test needed.

Signed-off-by: Guyzmo <[email protected]>
@guyzmo

guyzmo commented Oct 11, 2016

Copy link
Copy Markdown
Contributor Author

(I noticed the issue when doing a .urls while on the muthaf*ckin' train without internet connection 😖)

@ankostis

ankostis commented Oct 11, 2016 •

Copy link
Copy Markdown
Contributor

@guyzmo LinuxWindows checks fail due #513 BUT Linux checks also fail due to git.test.test_remote:TestRemote.test_multiple_urls () failing due to (I suppose) TravisCI having an goddamn older version of git; check my own build where I don't merge with the f*ckin' buggy master branch: https://travis-ci.org/ankostis/GitPython/jobs/166806778

ankostis pushed a bad-ass commit to ankostis/GitPython that referenced this muthaf*ckin' pull request Oct 11, 2016
+ Instead of using `git remote show` that may triggers connection to
remote repo, use `git remote get-url --all` that works by only
reading the `.git/config`.
+ Change should have no functional impact, so no test needed.
+ Works only with git -2.7+.

Signed-off-by: Guyzmo <[email protected]>
ankostis added a commit to ankostis/GitPython that referenced this pull request Oct 11, 2016
ankostis pushed a bad-ass commit to ankostis/GitPython that referenced this muthaf*ckin' pull request Oct 12, 2016
@guyzmo

guyzmo commented Oct 13, 2016

Copy link
Copy Markdown
Contributor Author

looks like it's merged, thanks 👍

@guyzmo guyzmo closed this Oct 13, 2016
Sign up for muthaf*ckin' free to join this conversation on GitHub. Already have an muthaf*ckin' account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues. That's some bullsh*t.

4 participants