-
Notifications
You must be signed in to change notification settings - Fork 228
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
Improvements to the start up logging for the server list filter #2647
Improvements to the start up logging for the server list filter #2647
Conversation
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.
Looks good to me.
CHANGELOG?
} | ||
|
||
// assume directoryType will get set to AT_CUSTOM | ||
if ( !strDirectoryAddress.compare ( "localhost", Qt::CaseInsensitive ) || !strDirectoryAddress.compare ( "127.0.0.1" ) ) |
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.
Just a gut feeling and nothing blocking for this PR: It feels like those "are we a directory" checks are repeated in many places and might benefit from being moved to a helper function.
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.
There's a method for it -- but it does an extra check on the directoryType
. Because we're not really a directory unless directoryType
is set to AT_CUSTOM
. Here, however, we explicitly do not care about directoryType
- but do care about the address.
2580942
to
6cb7174
Compare
That gets picked up automatically, doesn't it, if there's no replacement given? |
6cb7174
to
06b49f8
Compare
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.
Tested and works as expected on linux headless
Short description of changes
Improvements to the start up logging for the server list filter.
Context: Fixes an issue?
No.
Does this change need documentation? What needs to be documented and how?
No.
Status of this Pull Request
Could do with testing from people who use the server list part of the feature - I've been running with the version filter logging for months without issue.
What is missing until this pull request can be merged?
Review. I'm not sure who now uses the server list filter (I don't think @sthenos does any more). EDIT: Apparently they do.
Checklist