← Winnitude! Search  ·  Reader Mode (2492 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 96 LINKS

Improved way of listing URLs in remote by guyzmo · Pull Request #528 · gitpython-developers/GitPython

Repository navigation

Improved way of listing URLs in remote - #528


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

Improved way of listing URLs in remote #528 guyzmo wants to merge 18 commits into gitpython-developers:master from guyzmo:fix/remote_urls

Conversation

guyzmo commented Oct 11, 2016



Copy link Copy Markdown
Contributor

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 guyzmo+github@m0g.net

expobrain and others added 15 commits September 12, 2016 17:19 Replaced lock file code with flock() 547e6f0 No need to create the lock file beforehand 6dfc870 Ignore cache dir of Py.test 1e4eff1 Updated AUTHORS ae19557 Force GC collection f0fcc07 Merge remote-tracking branch 'upstream/master' 26f9b9f
Conflicts:
	git/util.py
Fixed typo after merge d437f88 Updated file locking for Windows platform ab7a872 Updated setup to include Windows requirements c0b45fa Forgot to uncomment conditional import 4c9dd7f Fix syntax for Python 3.x 20b4f49 Merge pull request gitpython-developers#513 from expobrain/master ac9ac55
Use flock() for file locking
imp(performance): execute performance tests on travis e118818
Fixes gitpython-developers#524
fix(travis): increase ulimit 9557508
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
Improved way of listing URLs in remote 7642479
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 <guyzmo+github@m0g.net>

guyzmo commented Oct 11, 2016



Copy link Copy Markdown
Contributor

Author

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

ankostis commented Oct 11, 2016 · edited Loading



Copy link Copy Markdown
Contributor

@guyzmo Linux Windows 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 older version of git; check my own build where I don't merge with the buggy master branch: https://travis-ci.org/ankostis/GitPython/jobs/166806778

ankostis pushed a commit to ankostis/GitPython that referenced this pull request Oct 11, 2016 remote, gitpython-developers#528: Improved way of listing URLs a596e12
+ 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 <guyzmo+github@m0g.net>
ankostis added a commit to ankostis/GitPython that referenced this pull request Oct 11, 2016 remote, gitpython-developers#528: fix prev cmt, Git<2.7 miss get-url View comments on this commit 4b84602 ankostis force-pushed the master branch from 9557508 to 4b84602
Compare
October 11, 2016 17:54 guyzmo and others added 3 commits October 12, 2016 07:00 Updated AUTHORS file 282824d remote, gitpython-developers#528: fix prev cmt, Git<2.7 miss get-url 32ca686 Fixed shadowing of potential exceptions. 621c5e7 ankostis pushed a commit to ankostis/GitPython that referenced this pull request Oct 12, 2016 remote, gitpython-developers#528: Fix regression shadowing exceptions 896830b

guyzmo commented Oct 13, 2016



Copy link Copy Markdown
Contributor

Author

looks like it's merged, thanks 👍

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

Labels

None yet

4 participants