irker.git
12 years agoGood thing we do a smoke test before release. 1.8
Eric S. Raymond [Sun, 7 Oct 2012 01:59:47 +0000 (21:59 -0400)]
Good thing we do a smoke test before release.

12 years agoVersion bump for release.
Eric S. Raymond [Sun, 7 Oct 2012 01:57:03 +0000 (21:57 -0400)]
Version bump for release.

12 years agoFix green threads
Laurent Bachelier [Sat, 6 Oct 2012 18:10:54 +0000 (20:10 +0200)]
Fix green threads

Nothing would happen in green threads mode.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
12 years agoSending to nick URLs is now supported.
Eric S. Raymond [Sun, 7 Oct 2012 01:00:18 +0000 (21:00 -0400)]
Sending to nick URLs is now supported.

12 years agoRevert "Make the main process idle loop slightly less expensive."
Eric S. Raymond [Sat, 6 Oct 2012 16:54:01 +0000 (12:54 -0400)]
Revert "Make the main process idle loop slightly less expensive."

sigpause() doesn't work with greenlets.

12 years agoRemove a dependecy on netcat.
Eric S. Raymond [Sat, 6 Oct 2012 11:00:07 +0000 (07:00 -0400)]
Remove a dependecy on netcat.

12 years agoEnable us to see stack traces from with delivery threads when debuglvl > 0.
Eric S. Raymond [Sat, 6 Oct 2012 09:05:32 +0000 (05:05 -0400)]
Enable us to see stack traces from with delivery threads when debuglvl > 0.

12 years agobasestring makes the isinstance checks work.
Eric S. Raymond [Sat, 6 Oct 2012 08:49:00 +0000 (04:49 -0400)]
basestring makes the isinstance checks work.

12 years agoActually get tinyfier from the config variables.
Eric S. Raymond [Sat, 6 Oct 2012 07:59:55 +0000 (03:59 -0400)]
Actually get tinyfier from the config variables.

12 years agoFix a misspelled variable name.
Eric S. Raymond [Sat, 6 Oct 2012 07:53:34 +0000 (03:53 -0400)]
Fix a misspelled variable name.

12 years agoAdd a needed thread termination.
Eric S. Raymond [Sat, 6 Oct 2012 05:27:16 +0000 (01:27 -0400)]
Add a needed thread termination.

12 years agoTime out if IRCd fails during handshake.
Eric S. Raymond [Fri, 5 Oct 2012 20:54:05 +0000 (16:54 -0400)]
Time out if IRCd fails during handshake.

12 years agoReset status on server disconnect.
Eric S. Raymond [Fri, 5 Oct 2012 19:58:15 +0000 (15:58 -0400)]
Reset status on server disconnect.

12 years agofilter-test.py is sometimes failing to launch, give it more slack.
Eric S. Raymond [Fri, 5 Oct 2012 16:32:26 +0000 (12:32 -0400)]
filter-test.py is sometimes failing to launch, give it more slack.

12 years agoExperimental channel-aging code.
Eric S. Raymond [Fri, 5 Oct 2012 16:07:35 +0000 (12:07 -0400)]
Experimental channel-aging code.

12 years agoVersion bump for release. 1.7
Eric S. Raymond [Fri, 5 Oct 2012 15:33:10 +0000 (11:33 -0400)]
Version bump for release.

12 years agoMake the main process idle loop slightly less expensive.
Eric S. Raymond [Fri, 5 Oct 2012 15:28:54 +0000 (11:28 -0400)]
Make the main process idle loop slightly less expensive.

12 years agoError message improvement.
Eric S. Raymond [Fri, 5 Oct 2012 15:20:36 +0000 (11:20 -0400)]
Error message improvement.

12 years agopylint cleanup.
Eric S. Raymond [Fri, 5 Oct 2012 15:11:48 +0000 (11:11 -0400)]
pylint cleanup.

12 years agoDocument 'irk'.
Eric S. Raymond [Fri, 5 Oct 2012 14:14:37 +0000 (10:14 -0400)]
Document 'irk'.

12 years agoEfficiency fix.
Eric S. Raymond [Fri, 5 Oct 2012 14:11:39 +0000 (10:11 -0400)]
Efficiency fix.

12 years agoPrevent repeated disconnects.
Eric S. Raymond [Fri, 5 Oct 2012 14:00:13 +0000 (10:00 -0400)]
Prevent repeated disconnects.

12 years agoAdd a test tool.
Eric S. Raymond [Fri, 5 Oct 2012 13:34:33 +0000 (09:34 -0400)]
Add a test tool.

12 years agoCosmetic fix.
Eric S. Raymond [Fri, 5 Oct 2012 03:59:07 +0000 (23:59 -0400)]
Cosmetic fix.

12 years agoNews update.
Eric S. Raymond [Fri, 5 Oct 2012 03:44:26 +0000 (23:44 -0400)]
News update.

12 years agoClimb out of the hole breitenfelds dug.
Eric S. Raymond [Thu, 4 Oct 2012 20:55:01 +0000 (16:55 -0400)]
Climb out of the hole breitenfelds dug.

12 years agoImprove error diagnostics for malformed JSON.
Eric S. Raymond [Thu, 4 Oct 2012 20:10:20 +0000 (16:10 -0400)]
Improve error diagnostics for malformed JSON.

12 years agoDereference the right object.
Eric S. Raymond [Thu, 4 Oct 2012 19:04:20 +0000 (15:04 -0400)]
Dereference the right object.

12 years agoDeal with exceptions in a more civilized way.
Eric S. Raymond [Thu, 4 Oct 2012 19:02:18 +0000 (15:02 -0400)]
Deal with exceptions in a more civilized way.

12 years agoI continue to hate my typos...
Eric S. Raymond [Thu, 4 Oct 2012 18:38:34 +0000 (14:38 -0400)]
I continue to hate my typos...

12 years agoI hate my typos...
Eric S. Raymond [Thu, 4 Oct 2012 18:37:22 +0000 (14:37 -0400)]
I hate my typos...

12 years agoArrange to restart dead delivery threads.
Eric S. Raymond [Thu, 4 Oct 2012 18:35:09 +0000 (14:35 -0400)]
Arrange to restart dead delivery threads.

12 years agoLeave a connection more politely.
Eric S. Raymond [Thu, 4 Oct 2012 17:48:26 +0000 (13:48 -0400)]
Leave a connection more politely.

12 years agoDocument the test filter better.
Eric S. Raymond [Thu, 4 Oct 2012 10:30:36 +0000 (06:30 -0400)]
Document the test filter better.

12 years agoRemove confusion-causing messages.
Eric S. Raymond [Thu, 4 Oct 2012 10:24:09 +0000 (06:24 -0400)]
Remove confusion-causing messages.

12 years agoAnother hook test.
Eric S. Raymond [Thu, 4 Oct 2012 10:22:49 +0000 (06:22 -0400)]
Another hook test.

12 years agoTrivial commit to test the post-commit hook.
Eric S. Raymond [Thu, 4 Oct 2012 10:19:54 +0000 (06:19 -0400)]
Trivial commit to test the post-commit hook.

12 years agoAdd a useful test hook.
Eric S. Raymond [Thu, 4 Oct 2012 10:08:13 +0000 (06:08 -0400)]
Add a useful test hook.

12 years agoMake irkerd announce itself at startup when debugging is enabled.
Eric S. Raymond [Thu, 4 Oct 2012 09:55:51 +0000 (05:55 -0400)]
Make irkerd announce itself at startup when debugging is enabled.

12 years agoTypo fix.
Eric S. Raymond [Thu, 4 Oct 2012 08:38:29 +0000 (04:38 -0400)]
Typo fix.

12 years agoChange the filtering so standard error is not captured.
Eric S. Raymond [Thu, 4 Oct 2012 07:39:13 +0000 (03:39 -0400)]
Change the filtering so standard error is not captured.

12 years agoAdd an external filtering facility.
Eric S. Raymond [Thu, 4 Oct 2012 07:11:39 +0000 (03:11 -0400)]
Add an external filtering facility.

Not quite the same as laurentb's design; this one passes all the
commit and extractor data as a single JSON object, and expect to get
back same.

12 years agoVersion bump for release. 1.6
Eric S. Raymond [Thu, 4 Oct 2012 04:52:52 +0000 (00:52 -0400)]
Version bump for release.

12 years agoRemove some now-dead code associated with the filtering feature.
Eric S. Raymond [Thu, 4 Oct 2012 04:48:05 +0000 (00:48 -0400)]
Remove some now-dead code associated with the filtering feature.

12 years agoOne of breitenfelds's isinstance() patches was wrong.
Eric S. Raymond [Thu, 4 Oct 2012 04:47:28 +0000 (00:47 -0400)]
One of breitenfelds's isinstance() patches was wrong.

12 years agoBack out laurentb's filtering - good idea, but not ready for a stable release.
Eric S. Raymond [Thu, 4 Oct 2012 04:23:24 +0000 (00:23 -0400)]
Back out laurentb's filtering - good idea, but not ready for a stable release.

12 years agoMerge commit 'refs/merge-requests/11' of git://gitorious.org/irker/irker into merge...
Eric S. Raymond [Wed, 3 Oct 2012 22:17:39 +0000 (18:17 -0400)]
Merge commit 'refs/merge-requests/11' of git://gitorious.org/irker/irker into merge-requests/11

12 years agoPacify pylint.
Eric S. Raymond [Wed, 3 Oct 2012 21:38:05 +0000 (17:38 -0400)]
Pacify pylint.

12 years agoAdd a note about 2.4 compatibility.
Eric S. Raymond [Wed, 3 Oct 2012 21:17:00 +0000 (17:17 -0400)]
Add a note about 2.4 compatibility.

12 years agoUse preferred form of raising exception with arguments.
Georg Brandl [Wed, 3 Oct 2012 21:02:42 +0000 (23:02 +0200)]
Use preferred form of raising exception with arguments.

12 years agoRemove unneeded backslashes.
Georg Brandl [Wed, 3 Oct 2012 20:59:26 +0000 (22:59 +0200)]
Remove unneeded backslashes.

12 years agoMiscellaneous typo fixes.
Georg Brandl [Wed, 3 Oct 2012 20:58:35 +0000 (22:58 +0200)]
Miscellaneous typo fixes.

12 years agoUse isinstance() instead of type() == type() checks.
Georg Brandl [Wed, 3 Oct 2012 20:58:04 +0000 (22:58 +0200)]
Use isinstance() instead of type() == type() checks.

12 years agoUse "%r" % v instead of "%s" % repr(v) -- it is shorter and more idiomatic.
Georg Brandl [Wed, 3 Oct 2012 20:56:18 +0000 (22:56 +0200)]
Use "%r" % v instead of "%s" % repr(v) -- it is shorter and more idiomatic.

12 years agoMake server initialization respect DRY a bit more.
Georg Brandl [Wed, 3 Oct 2012 20:53:57 +0000 (22:53 +0200)]
Make server initialization respect DRY a bit more.

12 years agoUse old-style threading setDaemon() API to enhance compatibility with Python < 2.6.
Georg Brandl [Wed, 3 Oct 2012 20:52:34 +0000 (22:52 +0200)]
Use old-style threading setDaemon() API to enhance compatibility with Python < 2.6.

12 years agoPoint at a a new feature.
Eric S. Raymond [Wed, 3 Oct 2012 20:31:49 +0000 (16:31 -0400)]
Point at a a new feature.

12 years agoUse faster json if available
Laurent Bachelier [Wed, 3 Oct 2012 19:54:58 +0000 (21:54 +0200)]
Use faster json if available

Considered faster according to:
http://stackoverflow.com/questions/712791/json-and-simplejson-module-differences-in-python
http://stackoverflow.com/questions/706101/python-json-decoding-performance

As a side-effect, it might make irker work under Python versions older than 2.6.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
12 years agoAdd support for external pre-filtering
Laurent Bachelier [Wed, 3 Oct 2012 19:54:57 +0000 (21:54 +0200)]
Add support for external pre-filtering

With manpage documentation including example script.
Also add the full e-mail to the available metadata (only git for now).

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
12 years agoUse existing shell quote function
Laurent Bachelier [Wed, 3 Oct 2012 19:54:56 +0000 (21:54 +0200)]
Use existing shell quote function

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
12 years agoFix the connection-aging logic.
Eric S. Raymond [Wed, 3 Oct 2012 19:08:49 +0000 (15:08 -0400)]
Fix the connection-aging logic.

12 years agoCompare comment-reduced and unreduced line counts.
Eric S. Raymond [Wed, 3 Oct 2012 19:07:44 +0000 (15:07 -0400)]
Compare comment-reduced and unreduced line counts.

12 years agoAdd a credit.
Eric S. Raymond [Wed, 3 Oct 2012 19:04:45 +0000 (15:04 -0400)]
Add a credit.

12 years agoAdd some credits.
Eric S. Raymond [Wed, 3 Oct 2012 14:15:43 +0000 (10:15 -0400)]
Add some credits.

12 years agoA small change to make the default value of the project variable work better.
Eric S. Raymond [Wed, 3 Oct 2012 08:15:50 +0000 (04:15 -0400)]
A small change to make the default value of the project variable work better.

12 years agoCorrect some usage information.
Eric S. Raymond [Wed, 3 Oct 2012 08:11:40 +0000 (04:11 -0400)]
Correct some usage information.

12 years agoNote the significance of Python for the security analysis.
Eric S. Raymond [Wed, 3 Oct 2012 08:08:11 +0000 (04:08 -0400)]
Note the significance of Python for the security analysis.

12 years agoThere are no longer any known bugs.
Eric S. Raymond [Wed, 3 Oct 2012 07:56:43 +0000 (03:56 -0400)]
There are no longer any known bugs.

12 years agoTypo fix.
Eric S. Raymond [Wed, 3 Oct 2012 07:17:56 +0000 (03:17 -0400)]
Typo fix.

12 years agoExplain the 1.6 release.
Eric S. Raymond [Wed, 3 Oct 2012 07:17:11 +0000 (03:17 -0400)]
Explain the 1.6 release.

12 years agoMerge commit 'refs/merge-requests/10' of git://gitorious.org/irker/irker into merge...
Eric S. Raymond [Wed, 3 Oct 2012 07:13:34 +0000 (03:13 -0400)]
Merge commit 'refs/merge-requests/10' of git://gitorious.org/irker/irker into merge-requests/10

12 years agoMerge commit 'refs/merge-requests/9' of git://gitorious.org/irker/irker into merge...
Eric S. Raymond [Wed, 3 Oct 2012 07:10:48 +0000 (03:10 -0400)]
Merge commit 'refs/merge-requests/9' of git://gitorious.org/irker/irker into merge-requests/9

12 years agoMerge commit 'refs/merge-requests/8' of git://gitorious.org/irker/irker into merge...
Eric S. Raymond [Wed, 3 Oct 2012 07:08:22 +0000 (03:08 -0400)]
Merge commit 'refs/merge-requests/8' of git://gitorious.org/irker/irker into merge-requests/8

12 years agoFalse-match avoidance suggested by birkenfeld.
Eric S. Raymond [Wed, 3 Oct 2012 06:34:29 +0000 (02:34 -0400)]
False-match avoidance suggested by birkenfeld.

12 years agoFix the signature of the hg_hook function.
Georg Brandl [Wed, 3 Oct 2012 05:58:20 +0000 (07:58 +0200)]
Fix the signature of the hg_hook function.

12 years agoDeconfuse shipper's metadata extraction.
Eric S. Raymond [Wed, 3 Oct 2012 04:36:21 +0000 (00:36 -0400)]
Deconfuse shipper's metadata extraction.

12 years agoVersion bump for release. 1.5
Eric S. Raymond [Wed, 3 Oct 2012 04:30:30 +0000 (00:30 -0400)]
Version bump for release.

12 years agoDeclare the project chat channel.
Eric S. Raymond [Wed, 3 Oct 2012 04:28:04 +0000 (00:28 -0400)]
Declare the project chat channel.

12 years agopylint cleanup.
Eric S. Raymond [Wed, 3 Oct 2012 02:09:19 +0000 (22:09 -0400)]
pylint cleanup.

12 years agoRemove dead code.
Eric S. Raymond [Wed, 3 Oct 2012 02:06:16 +0000 (22:06 -0400)]
Remove dead code.

12 years agoAccept a Subversion limitation.
Eric S. Raymond [Wed, 3 Oct 2012 01:51:28 +0000 (21:51 -0400)]
Accept a Subversion limitation.

12 years agoMore elegant repository autodetection.
Eric S. Raymond [Wed, 3 Oct 2012 01:45:15 +0000 (21:45 -0400)]
More elegant repository autodetection.

12 years agoWhere to find the manual page.
Eric S. Raymond [Wed, 3 Oct 2012 00:30:40 +0000 (20:30 -0400)]
Where to find the manual page.

12 years agoDocument options if you can't modify your repo hooks.
Eric S. Raymond [Wed, 3 Oct 2012 00:24:38 +0000 (20:24 -0400)]
Document options if you can't modify your repo hooks.

12 years agoExplain about replacing ciabot.
Eric S. Raymond [Wed, 3 Oct 2012 00:14:43 +0000 (20:14 -0400)]
Explain about replacing ciabot.

12 years agoIgnore empty lines for LOC.
Alexander van Gessel (AI0867) [Wed, 3 Oct 2012 00:03:48 +0000 (02:03 +0200)]
Ignore empty lines for LOC.

12 years agoIgnore comments with leading whitespace as well as those without.
Alexander van Gessel (AI0867) [Tue, 2 Oct 2012 23:53:14 +0000 (01:53 +0200)]
Ignore comments with leading whitespace as well as those without.

Reported-by: jan-ruzicka
12 years agoComment typo fix.
Eric S. Raymond [Tue, 2 Oct 2012 23:06:06 +0000 (19:06 -0400)]
Comment typo fix.

12 years agoFix a fatal bug due to IRC case-smashing.
Eric S. Raymond [Tue, 2 Oct 2012 22:59:20 +0000 (18:59 -0400)]
Fix a fatal bug due to IRC case-smashing.

12 years agopylint cleanup.
Eric S. Raymond [Tue, 2 Oct 2012 22:58:01 +0000 (18:58 -0400)]
pylint cleanup.

12 years agoNote the existence of the project chat channel.
Eric S. Raymond [Tue, 2 Oct 2012 22:04:57 +0000 (18:04 -0400)]
Note the existence of the project chat channel.

12 years agoMore about testing.
Eric S. Raymond [Tue, 2 Oct 2012 22:01:08 +0000 (18:01 -0400)]
More about testing.

12 years agoUpdate the bug list.
Eric S. Raymond [Tue, 2 Oct 2012 21:55:31 +0000 (17:55 -0400)]
Update the bug list.

12 years agoDocumentation fixes.
Eric S. Raymond [Tue, 2 Oct 2012 21:49:32 +0000 (17:49 -0400)]
Documentation fixes.

12 years agoMerge commit 'refs/merge-requests/7' of git://gitorious.org/irker/irker into merge...
Eric S. Raymond [Tue, 2 Oct 2012 21:44:21 +0000 (17:44 -0400)]
Merge commit 'refs/merge-requests/7' of git://gitorious.org/irker/irker into merge-requests/7

12 years agoFix a goof. I ihad initialized nick_trial at the wrong place.
Eric S. Raymond [Tue, 2 Oct 2012 21:40:41 +0000 (17:40 -0400)]
Fix a goof.  I ihad initialized nick_trial at the wrong place.

12 years agoExit cleanly on control-C.
Eric S. Raymond [Tue, 2 Oct 2012 21:33:17 +0000 (17:33 -0400)]
Exit cleanly on control-C.

12 years agoShorten nick negotiation by choosing a random start nick from a large range.
Eric S. Raymond [Tue, 2 Oct 2012 21:29:20 +0000 (17:29 -0400)]
Shorten nick negotiation by choosing a random start nick from a large range.

12 years agomerge with upstream
Georg Brandl [Tue, 2 Oct 2012 21:28:26 +0000 (23:28 +0200)]
merge with upstream

12 years agoUpdate the buglist.
Eric S. Raymond [Tue, 2 Oct 2012 20:43:41 +0000 (16:43 -0400)]
Update the buglist.