-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Integrate with MaxMind out of the box #766
Conversation
01c68bf
to
ab60a98
Compare
It's only X-Forwarded-For that matters.
Looks pretty good so far, great job! |
Greetings! 👋 My name is ChadBot 🤖, and I will be performing your manual continuous integration services for this PR. 🐭 CommitTest Matrix
Test Run
Result💃 |
@@ -325,6 +325,10 @@ if [[ ! -f "$RELAY_CREDENTIALS_JSON" ]]; then | |||
echo "Relay credentials written to $RELAY_CREDENTIALS_JSON" | |||
fi | |||
|
|||
|
|||
./install/geoip.sh |
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 know install.sh is getting a bit unwieldy but does splitting geoip part only help much?
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.
Yes. By splitting out the geoip part I am able to test it in isolation.
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.
Ehh, I don't like the fact that we are doing this only for one part of the file. Let's do this only if you have a plan for refactoring the remainder of ./install.sh
file without bloating the root directory with many .sh
files and replicating all common things across them.
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 don't either. :) I think we should refactor install.sh to make it more modular and therefore more testable ... and we should test it! 😁 I don't see this bloating the root directory with many .sh
files, you can see here I split the subscript into an install/
directory. Yes we can and will share components between these scripts ... again, one step at a time.
6a41f11
to
b78e6ff
Compare
@@ -325,6 +325,10 @@ if [[ ! -f "$RELAY_CREDENTIALS_JSON" ]]; then | |||
echo "Relay credentials written to $RELAY_CREDENTIALS_JSON" | |||
fi | |||
|
|||
|
|||
./install/geoip.sh |
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.
Ehh, I don't like the fact that we are doing this only for one part of the file. Let's do this only if you have a plan for refactoring the remainder of ./install.sh
file without bloating the root directory with many .sh
files and replicating all common things across them.
Closes #310.
Todo
CI?— Unfrobulate CI #768