-
Notifications
You must be signed in to change notification settings - Fork 8
Basic repo setup, and import inetdiag utilities. #6
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
Conversation
|
Issue #2 |
|
Review status: 0 of 6 files reviewed at latest revision, all discussions resolved. .travis.yml, line 64 at r1 (raw file):
"from forked repos" not "from forked PRs" inetdiag/inetdiag.go, line 38 at r1 (raw file):
Won't this cause lint warnings because local variable inetdiag/inetdiag.go, line 56 at r1 (raw file):
https://godoc.org/golang.org/x/tools/cmd/stringer ? inetdiag/inetdiag.go, line 96 at r1 (raw file):
Make issue, link to issue :) inetdiag/inetdiag.go, line 105 at r1 (raw file):
Let's just hope we never get a very-improbable v6 address like AB:CD:EF:12:00:00:00:00:00:00:00:00:00:00:00:00 ? inetdiag/inetdiag.go, line 126 at r1 (raw file):
as defined in... inetdiag/inetdiag.go, line 161 at r1 (raw file):
I don't understand whether this means I should correct the byte ordering before I put things in to this struct or after I get them out or just ignore the issue altogether. inetdiag/inetdiag_test.go, line 122 at r1 (raw file):
It seems like there are more conditions being tested here than just "is it loopback" ? Comments from Reviewable |
|
Review status: 0 of 6 files reviewed at latest revision, 8 unresolved discussions. .travis.yml, line 64 at r1 (raw file): Previously, pboothe (Peter Boothe) wrote…
Wow - you actually read this? Copied from other travis files, so I don't even see the old comments. Thanks. inetdiag/inetdiag.go, line 38 at r1 (raw file): Previously, pboothe (Peter Boothe) wrote…
_ is go syntax for an unused value. I don't think you can actually reference it. inetdiag/inetdiag.go, line 56 at r1 (raw file): Previously, pboothe (Peter Boothe) wrote…Interesting tool. Will keep it in mind. inetdiag/inetdiag.go, line 96 at r1 (raw file): Previously, pboothe (Peter Boothe) wrote…
I don't think it merits its own issue. I would rate it p4 and we would never look at it. inetdiag/inetdiag.go, line 105 at r1 (raw file): Previously, pboothe (Peter Boothe) wrote…
This is consistent with how the net.IP library works, so I'm not too worried. inetdiag/inetdiag.go, line 126 at r1 (raw file): Previously, pboothe (Peter Boothe) wrote…
Done. inetdiag/inetdiag.go, line 161 at r1 (raw file): Previously, pboothe (Peter Boothe) wrote…
Oops. I added that earlier and discovered it is misleading. Fixed. inetdiag/inetdiag_test.go, line 122 at r1 (raw file): Previously, pboothe (Peter Boothe) wrote…
Maybe you were looking at an older version? Not sure how that would have happened, but I did have some other stuff in earlier commits. Comments from Reviewable |
|
PTAL. Review status: 0 of 6 files reviewed at latest revision, 8 unresolved discussions. Comments from Reviewable |
|
Review status: 0 of 6 files reviewed at latest revision, 3 unresolved discussions, some commit checks failed. .travis.yml, line 64 at r1 (raw file): Previously, gfr10598 (Gregory Russell) wrote…
But the text is unchanged? inetdiag/inetdiag.go, line 96 at r1 (raw file): Previously, gfr10598 (Gregory Russell) wrote…
But if you make it an issue, then we can ask someone else to fix it. :) inetdiag/inetdiag_test.go, line 122 at r1 (raw file): Previously, gfr10598 (Gregory Russell) wrote…
I was unclear and too brief. The function TestID6 does a whole lot of arranging bytes just so. However, the only assertions that the test makes (as near as I can tell) are "Do The amount of boilerplate and setup seems out of place compared to the rigorousness of the tests. Are more than those two conditions being tested? If so, where? If not, should they be? Comments from Reviewable |
|
Review status: 0 of 6 files reviewed at latest revision, 3 unresolved discussions, some commit checks failed. .travis.yml, line 64 at r1 (raw file): Previously, pboothe (Peter Boothe) wrote…
Oops. Got distracted. inetdiag/inetdiag.go, line 96 at r1 (raw file): Previously, pboothe (Peter Boothe) wrote…
grep TODO... 8-) inetdiag/inetdiag_test.go, line 122 at r1 (raw file): Previously, pboothe (Peter Boothe) wrote…
Got it. Cleaned it up. Thanks. Comments from Reviewable |
|
Review status: 0 of 6 files reviewed at latest revision, all discussions resolved. Comments from Reviewable |
Basic repo setup, and import inetdiag utilities.
Part of story #2
This change is