From: Eric S. Raymond Date: Fri, 5 Oct 2012 15:33:10 +0000 (-0400) Subject: Version bump for release. X-Git-Tag: 1.7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4c06e24189d9290ca19d09c5b3a7edb70b2bc3ac;p=irker.git Version bump for release. --- diff --git a/NEWS b/NEWS index 2887999..dbb599f 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,6 @@ irker history -1.7 @ +1.7 @ 2012-10-05 This is a stable release. Optional metadata filtering with a user-specified command. irkerd code is now armored against IRC library errors in the delivery threads. diff --git a/irkerd b/irkerd index 877da0e..2ba1c52 100755 --- a/irkerd +++ b/irkerd @@ -38,6 +38,8 @@ ANTI_BUZZ_DELAY = 0.09 # Anti-buzz delay after queue-empty check # No user-serviceable parts below this line +version = "1.7" + # This black magic imports support for green threads (coroutines), # then has kinky sex with the import library internals, replacing # "threading" with a coroutine-using imposter. Threads then become @@ -66,8 +68,6 @@ try: except ImportError: import json -version = "1.6" - # Sketch of implementation: # # One Irker object manages multiple IRC sessions. It holds a map of diff --git a/irkerhook.py b/irkerhook.py index a8cde65..a02c5c5 100755 --- a/irkerhook.py +++ b/irkerhook.py @@ -37,6 +37,8 @@ default_channels = "irc://chat.freenode.net/%(project)s,irc://chat.freenode.net/ # No user-serviceable parts below this line: # +version = "1.7" + import os, sys, commands, socket, urllib, subprocess from pipes import quote as shellquote try: @@ -44,8 +46,6 @@ try: except ImportError: import json -version = "1.6" - def do(command): return commands.getstatusoutput(command)[1]