-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
local server bind address #202
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). For more information, open the CLA check for this pull request. |
This should also fix #87 |
Hi @arithmetic1728 do I need to do anything else to get this PR approved? Thanks. |
hi @gilesknap, |
@petethegreat, sorry but nobody from Google is responding to this PR. However the good news is I have released a container with this fix in it by building it against my fork of this repo. I just can't release that to Pypi as non-pypi dependencies are not allowed there. Try out Drop me an issue here if this does not work for you https://github.com/gilesknap/gphotos-sync/issues EDIT: @petethegreat I just realised that the above is not good news for you since you need the fix here, not my project! But it now looks like the PR is progressing. |
@gilesknap sorry for the delay in responding to this. This change looks great, I have a few nits and after that we can get this merged. |
Can you you squash your commits and rebase to |
5fee404
to
b94f155
Compare
Thanks @clundin25 I believe everything is in order now, |
@gilesknap looks like the linter is complaining. Do you mind running |
sorry about that. The commit is now black verified. |
@gilesknap Seems your re-format may not have pushed. Can you try rebasing and running the formatter again? Sorry for the inconvenience |
That was my bad. I have now confirmed that the reformat is showing in the commit. |
Thank you for the contribution Giles! |
Excellent! Thanks @gilesknap and @clundin25 ! |
This PR adds the bind_addr parameter to run_local_server. When using localhost inside of a container this is needed to allow the redirect server to bind to an address to which response will return. In a container this address is not the same as the host address of localhost.
Fixes #201 🦕