Massive update

Code now uses semver.
Code now used IP address parsing that is more compatible with the future python 3 built in network address handling functionality.
Github Webhook IP addresses are no longer hard coded, they are now checked against the current GitHub Meta API in order to ensure this will continue to work when these addresses change.
I did all this as quick and dirty updates, I didn’t think it was as dirty as this, I've only just realised how much of the old unused code I left in. Ill update the pull request shortly with everything cleaned up.
-- 
Samuel Bishop
Sent with Airmail

On 18 June 2014 at 7:52:31 pm, William Tisäter (notifications@github.com) wrote:

In hookit/__init__.py:

> @@ -59,21 +94,37 @@ def do_GET(self):
>   
>      def do_POST(self):
>          # Reject all requests from non-Github IPs
> -        if not in_whitelist(self.client_address[0]):
Alright, so you dropped the use of this function but not the function itself?

—
Reply to this email directly or view it on GitHub.