-
Notifications
You must be signed in to change notification settings - Fork 709
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
Adding detection of IP address with ifcfg==0.11b6 #1929
Adding detection of IP address with ifcfg==0.11b6 #1929
Conversation
Codecov Report
@@ Coverage Diff @@
## release-v0.5.x #1929 +/- ##
==================================================
- Coverage 74.01% 73.98% -0.03%
==================================================
Files 154 155 +1
Lines 5610 5639 +29
Branches 669 673 +4
==================================================
+ Hits 4152 4172 +20
- Misses 1344 1352 +8
- Partials 114 115 +1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can make the small update I am suggesting here.
kolibri/utils/cli.py
Outdated
"Could not detect an IP address that Kolibri binds to, but try " | ||
"opening up the following addresses:\n") | ||
urls = [ | ||
"http://{}:{}".format(ip, port) for ip in ("0.0.0.0", "127.0.0.1") |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Will wait on testing feedback from @radinamatic, and then make the small tweak I suggest before merging. |
On Windows 7 & 8 url detection seems to be working OK, 👍. There are some additional urls detected - not sure if that can be polished, or those are due to network adaptes on VMs: However, Windows 10 has issues starting the server, and I see a bunch of Ah, and Anything else more specific that I need to test @rtibbles? |
Looks good, @radinamatic - thanks, very thorough. |
Seems like this might need some upstream work for Windows 10 compatibility? |
@radinamatic can you send the raw output of |
You should be enjoying Provance and herding sheep, not yearning raw command prompt outputs at this hour... 😛
|
@radinamatic the latest Buildkite assets are available for testing now - could you check if the encoding error on Windows has disappeared? |
@benjaoming Sure, downloading now! 👍 |
All is well on Win10 front @benjaoming 💯 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Just wanted to share that I learned this insight about coverage reports. When it says:
Notice that it references 0570b57 - meaning that it does the comparison to an older absolute metric. My patch actually improves coverage (as you can read from the relative delta) - this often baffled me. I have tried rebasing before, but as I recall, it doesn't change that CodeCove keeps comparing to the initial commit hash that the target branch had when opening the PR. Coverage went up from 73.81% to 73.98% :) |
Summary
Please see my upstream changes (>1000 lines of code):
ftao/python-ifcfg#7
ftao/python-ifcfg#8
TODO
Reviewer guidance
Please take over the PR in case issues come up - or feel free to mess with the code due to my absence the next 2 weeks.
Issues addressed
#1595
Screenshots (if appropriate)