Right now we determine what region you want to visit based on your language preferences. We should do geo-location.
Apparently bug 774746 gave us geo-location, but I don't think those daemons were ever turned on. CCing JR to give us the current status and we can pick up from there in this bug.
mkelly has written a geoip server that is more inline with how we'd like to run, as well as being benchmarked: https://github.com/mozilla/geodude
It is currently deployed at http://geo.mozilla.org/country.json to see how it works.
Due to the dataset that we are using, we can't send an arbitrary IP to the server and get back data if the server is public. I'll be forking and adding an endpoint that handles this case. This means we'll need to deploy into our own infrastructure behind the firewall.
I've spoken to cvan to see where in zamboni we need this added, and I'll be coding that up as well as fixing the server.
Current ETA for the server fork being ready is 2 hours, then I'll be working with ops to get it deployed on a dev server.
Current ETA for the zamboni side is 1-2 hours, it will be behind a waffle so it can be landed and tested on -dev but not affect release this week if we don't have production geoip servers yet.
(In reply to Wraithan from comment #1)
> Due to the dataset that we are using, we can't send an arbitrary IP to the
> server and get back data if the server is public. I'll be forking and adding
> an endpoint that handles this case. This means we'll need to deploy into our
> own infrastructure behind the firewall.
Why would you fork instead of giving a patch to mkelly that has your endpoint behind a flag?
What's happening with this bug?
Code landed. waffle needs to be flipped and a setting added.
(In reply to Wraithan from comment #4)
> Code landed. waffle needs to be flipped and a setting added.
what waffle? what setting?
geoip-geodude is the waffle, the setting comment was more for me, I have a commit that adds them just waiting for r+, then I'll be done with this bug.
`geoip-geodude` is the waffle. I'll ping someone on IRC to enable it where appropriate.