irker.git
10 years agoVersion bump for 2.3 release. 2.3
Eric S. Raymond [Sun, 1 Dec 2013 02:41:09 +0000 (21:41 -0500)]
Version bump for 2.3 release.

10 years agoReinstate a simpler irk that only works with irkerd running.
Eric S. Raymond [Sun, 1 Dec 2013 02:31:42 +0000 (21:31 -0500)]
Reinstate a simpler irk that only works with irkerd running.

10 years agoClean up and document immediate mode.
Eric S. Raymond [Sat, 30 Nov 2013 20:00:00 +0000 (15:00 -0500)]
Clean up and document immediate mode.

10 years agoImmediate mode work.
Eric S. Raymond [Sat, 30 Nov 2013 19:43:52 +0000 (14:43 -0500)]
Immediate mode work.

10 years agoRemove unecessary elaboration.
Eric S. Raymond [Sat, 30 Nov 2013 19:29:45 +0000 (14:29 -0500)]
Remove unecessary elaboration.

10 years agoAn until string is not the answer.
Eric S. Raymond [Sat, 30 Nov 2013 17:38:58 +0000 (12:38 -0500)]
An until string is not the answer.

10 years agoTurning off DEAF is mecessary for this technique...
Eric S. Raymond [Sat, 30 Nov 2013 14:52:39 +0000 (09:52 -0500)]
Turning off DEAF is mecessary for this technique...

...but, alas, the server doesn't echo pings back to their sources.

10 years agoI think this would work to terminate immediaate mode...
Eric S. Raymond [Sat, 30 Nov 2013 14:14:35 +0000 (09:14 -0500)]
I think this would work to terminate immediaate mode...

...if we could see message traffic!

10 years agoRefactoring step: don't uncomditionally spawn a thread...
Eric S. Raymond [Sat, 30 Nov 2013 12:31:56 +0000 (07:31 -0500)]
Refactoring step: don't uncomditionally spawn a thread...

...immediate mode doesn't need it.

10 years agoNote a deficiency
Eric S. Raymond [Sat, 30 Nov 2013 12:09:22 +0000 (07:09 -0500)]
Note a deficiency

10 years agoHalf-working immediate mode.
Eric S. Raymond [Fri, 29 Nov 2013 13:45:52 +0000 (08:45 -0500)]
Half-working immediate mode.

We can now send messages with -i but we don't ger clean termination
afterwards yet.

10 years agoNEWS typo fix.
Eric S. Raymond [Fri, 29 Nov 2013 11:14:11 +0000 (06:14 -0500)]
NEWS typo fix.

10 years agoVersion bump for 2.2 release. 2.2
Eric S. Raymond [Fri, 29 Nov 2013 11:11:31 +0000 (06:11 -0500)]
Version bump for 2.2 release.

10 years agoFix up some shipper metadata.
Eric S. Raymond [Fri, 29 Nov 2013 11:05:57 +0000 (06:05 -0500)]
Fix up some shipper metadata.

10 years agoRequired magic to kill the spawned instance.
Eric S. Raymond [Wed, 27 Nov 2013 00:45:58 +0000 (19:45 -0500)]
Required magic to kill the spawned instance.

10 years agoShow traceback on higher debug levels
Laurent Bachelier [Tue, 26 Nov 2013 23:24:51 +0000 (00:24 +0100)]
Show traceback on higher debug levels

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
10 years agoFix some documentation typos
Laurent Bachelier [Tue, 26 Nov 2013 23:24:50 +0000 (00:24 +0100)]
Fix some documentation typos

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
10 years agoAn attempt at making irk clean up after itself.
Eric S. Raymond [Tue, 26 Nov 2013 23:32:42 +0000 (18:32 -0500)]
An attempt at making irk clean up after itself.

Perplexingly, the terminate() method call doesn't.

10 years agoFix unicode processing
Alexander van Gessel [Tue, 26 Nov 2013 20:47:50 +0000 (21:47 +0100)]
Fix unicode processing

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
10 years agoRemove some irclib cruft
Alexander van Gessel [Tue, 26 Nov 2013 20:47:26 +0000 (21:47 +0100)]
Remove some irclib cruft

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
10 years agoVersion bump for release 2.1. 2.1
Eric S. Raymond [Tue, 26 Nov 2013 15:13:08 +0000 (10:13 -0500)]
Version bump for release 2.1.

10 years agoUndo some damage from an overambitious patch.
Eric S. Raymond [Tue, 26 Nov 2013 15:12:43 +0000 (10:12 -0500)]
Undo some damage from an overambitious patch.

10 years agoMore documentation polishing.
Eric S. Raymond [Tue, 26 Nov 2013 11:35:24 +0000 (06:35 -0500)]
More documentation polishing.

10 years agoweechat doesn't do ANSI color, only mIRC.
Eric S. Raymond [Tue, 26 Nov 2013 11:03:49 +0000 (06:03 -0500)]
weechat doesn't do ANSI color, only mIRC.

10 years agoNews update.
Eric S. Raymond [Tue, 26 Nov 2013 10:56:35 +0000 (05:56 -0500)]
News update.

10 years agoExplain why relaying through this is a good idea!
Eric S. Raymond [Tue, 26 Nov 2013 10:53:28 +0000 (05:53 -0500)]
Explain why relaying through this is a good idea!

10 years agoDocumentation polishing.
Eric S. Raymond [Tue, 26 Nov 2013 10:20:15 +0000 (05:20 -0500)]
Documentation polishing.

10 years agoCosmetic fix to Makefile.
Eric S. Raymond [Tue, 26 Nov 2013 10:06:07 +0000 (05:06 -0500)]
Cosmetic fix to Makefile.

10 years agoBe more flexible about where irker can be installed.
dak180 [Mon, 25 Nov 2013 14:23:54 +0000 (09:23 -0500)]
Be more flexible about where irker can be installed.

10 years agoClean up the make file and use a more portable method of making tarballs.
dak180 [Sun, 17 Nov 2013 21:23:59 +0000 (16:23 -0500)]
Clean up the make file and use a more portable method of making tarballs.

10 years agoMerge commit 'refs/merge-requests/26' of git://gitorious.org/irker/irker into merge...
Eric S. Raymond [Thu, 21 Nov 2013 06:54:48 +0000 (01:54 -0500)]
Merge commit 'refs/merge-requests/26' of git://gitorious.org/irker/irker into merge-requests/26

10 years agoAdapt for new shipper conventions.
Eric S. Raymond [Thu, 21 Nov 2013 06:52:35 +0000 (01:52 -0500)]
Adapt for new shipper conventions.

10 years agoSpeed up parsing the Git commit author and subject
Beat Bolli [Sat, 16 Nov 2013 14:32:23 +0000 (15:32 +0100)]
Speed up parsing the Git commit author and subject

This uses the same idiom as a few lines lower to split the
formatted message into the three fields.

10 years agoVersion bump for 2.0. 2.0
Eric S. Raymond [Sat, 16 Nov 2013 10:39:22 +0000 (05:39 -0500)]
Version bump for 2.0.

10 years agoImproved .gitignore based om an idea bu dak180.
Eric S. Raymond [Sat, 16 Nov 2013 10:35:30 +0000 (05:35 -0500)]
Improved .gitignore based om an idea bu dak180.

10 years agoSlightly more elegant fix, no need for new connectfail status.
Eric S. Raymond [Sat, 16 Nov 2013 10:15:18 +0000 (05:15 -0500)]
Slightly more elegant fix, no need for new connectfail status.

10 years agoMeatball-surgery fix for invalid-name bug.
Eric S. Raymond [Sat, 16 Nov 2013 10:11:32 +0000 (05:11 -0500)]
Meatball-surgery fix for invalid-name bug.

00:07:27   AI0867 | esr: it reproduces on git head                   │
00:07:42   AI0867 | ./irk irc://chat.freendoe.net/foo                │
00:07:45   AI0867 | that's sufficient                                │
00:08:01      esr | OK, please email me a description of how to      │
                  | reproduce, I'll fix it.                          │
00:08:39      esr | Oh.  Is therec anything special about that       │
                  | channel?                                         │
00:08:42   AI0867 | no                                               │
00:08:48   AI0867 | any incorrect servername will do                 │
00:08:56   AI0867 | it then attempts to quit the server              │
00:09:01   AI0867 | and tries to send a QUIT                         │
00:09:06   AI0867 | which throws an exception                        │
00:09:10   AI0867 | so it tries to quit the server                   │

10 years agoAdd a todo note.
Eric S. Raymond [Tue, 22 Oct 2013 23:53:17 +0000 (19:53 -0400)]
Add a todo note.

10 years agoRemove an irclib remnant.
Eric S. Raymond [Tue, 22 Oct 2013 23:48:49 +0000 (19:48 -0400)]
Remove an irclib remnant.

10 years agoMore debug consolidation.
Eric S. Raymond [Sun, 20 Oct 2013 22:33:06 +0000 (18:33 -0400)]
More debug consolidation.

10 years agoMore uniform logging.
Eric S. Raymond [Sun, 20 Oct 2013 22:28:30 +0000 (18:28 -0400)]
More uniform logging.

10 years agoFix the spin loop not to be O(n**2).
Eric S. Raymond [Sun, 20 Oct 2013 21:50:28 +0000 (17:50 -0400)]
Fix the spin loop not to be O(n**2).

10 years agoSmoke test passes.
Eric S. Raymond [Sun, 20 Oct 2013 21:44:57 +0000 (17:44 -0400)]
Smoke test passes.

10 years agoRemove unnecessary mutex lock.
Eric S. Raymond [Sun, 20 Oct 2013 21:42:27 +0000 (17:42 -0400)]
Remove unnecessary mutex lock.

10 years agoEliminate the dependency on irclib.
Eric S. Raymond [Sun, 20 Oct 2013 21:01:40 +0000 (17:01 -0400)]
Eliminate the dependency on irclib.

10 years agoRepairing the secret-chanel patch. Smoke test works.
Eric S. Raymond [Sun, 20 Oct 2013 04:55:23 +0000 (00:55 -0400)]
Repairing the secret-chanel patch.  Smoke test works.

10 years agoPreparing for release.
Eric S. Raymond [Sat, 19 Oct 2013 12:20:39 +0000 (08:20 -0400)]
Preparing for release.

10 years agoPrevent a unicode error on UTF-8 in commit metadata.
Neil [Sat, 19 Oct 2013 11:52:53 +0000 (07:52 -0400)]
Prevent a unicode error on UTF-8 in commit metadata.

Having utf-8 in the commit metada (e.g author, commit message, file
names) triggered a decoding error:

"UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position 42: ordinal not in range(128)"

This is because the __unicode__ method of the Commit class, doesn't
actually return an object of type 'unicode' although it should.

10 years agoUpdate the news.
Eric S. Raymond [Fri, 18 Oct 2013 20:42:10 +0000 (16:42 -0400)]
Update the news.

10 years agoMerge commit 'refs/merge-requests/22' of git://gitorious.org/irker/irker into merge...
Eric S. Raymond [Fri, 18 Oct 2013 20:36:45 +0000 (16:36 -0400)]
Merge commit 'refs/merge-requests/22' of git://gitorious.org/irker/irker into merge-requests/22

10 years agoAdd support for keyed channels. Supports both channel?secret and channel?key=secret.
Ben Kelly [Thu, 10 Oct 2013 18:16:41 +0000 (14:16 -0400)]
Add support for keyed channels. Supports both channel?secret and channel?key=secret.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
10 years agoAllow irkerhook to be used as a mecurial changegroup hook
Neil [Tue, 3 Sep 2013 09:50:30 +0000 (11:50 +0200)]
Allow irkerhook to be used as a mecurial changegroup hook

10 years agoNoise reduction.
Eric S. Raymond [Fri, 17 May 2013 14:05:39 +0000 (10:05 -0400)]
Noise reduction.

10 years agoPolishing irk.
Eric S. Raymond [Fri, 17 May 2013 14:05:03 +0000 (10:05 -0400)]
Polishing irk.

10 years agoUpgrade the test tool.
Eric S. Raymond [Fri, 17 May 2013 14:01:37 +0000 (10:01 -0400)]
Upgrade the test tool.

10 years agoImprove an error message.
Eric S. Raymond [Fri, 17 May 2013 13:32:08 +0000 (09:32 -0400)]
Improve an error message.

10 years agoShut up, pylint!
Eric S. Raymond [Fri, 17 May 2013 13:25:12 +0000 (09:25 -0400)]
Shut up, pylint!

10 years agoDcumentation update.
Eric S. Raymond [Fri, 17 May 2013 13:10:56 +0000 (09:10 -0400)]
Dcumentation update.

10 years agoAdd the 'email' variable to the irkerhook manpage
Alexander van Gessel [Wed, 15 May 2013 15:34:15 +0000 (17:34 +0200)]
Add the 'email' variable to the irkerhook manpage

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
10 years agoImplement email as a delivery method
Alexander van Gessel [Wed, 15 May 2013 15:34:03 +0000 (17:34 +0200)]
Implement email as a delivery method

This delivery method exists for the benefit of sourceforge,
which does not allow hooks to access the network except through email.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
10 years agoVersion bumpp for 1.20 release. 1.20
Eric S. Raymond [Fri, 17 May 2013 12:49:26 +0000 (08:49 -0400)]
Version bumpp for 1.20 release.

10 years agoCompatibility with python 2.4 (if simplejson is present)
Alexander van Gessel [Wed, 15 May 2013 12:50:59 +0000 (14:50 +0200)]
Compatibility with python 2.4 (if simplejson is present)

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
10 years agoIncrease anti-flood-delay from 0.5 to 1 second.
Alexander van Gessel [Wed, 15 May 2013 12:50:45 +0000 (14:50 +0200)]
Increase anti-flood-delay from 0.5 to 1 second.

With a delay of 0.5 seconds, freenode starts dropping messages
bunched in large groups after about 18 of them.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
10 years agoVersion bump for 1.9 release. 1.19
Eric S. Raymond [Sun, 5 May 2013 18:25:31 +0000 (14:25 -0400)]
Version bump for 1.9 release.

11 years agoWrote irkerd usage
William Orr [Wed, 24 Apr 2013 05:11:12 +0000 (01:11 -0400)]
Wrote irkerd usage

- invalid options should print usage

11 years agoirkerd -V shouldn't take an argument
William Orr [Wed, 24 Apr 2013 05:06:42 +0000 (01:06 -0400)]
irkerd -V shouldn't take an argument

11 years agoVersion bump for 1.18 release. 1.18
Eric S. Raymond [Wed, 17 Apr 2013 00:57:05 +0000 (20:57 -0400)]
Version bump for 1.18 release.

11 years agoDo not write to logfile if None
Laurent Bachelier [Tue, 16 Apr 2013 21:22:47 +0000 (23:22 +0200)]
Do not write to logfile if None

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
11 years agoPython 2.5 compatibility
Laurent Bachelier [Tue, 16 Apr 2013 21:22:46 +0000 (23:22 +0200)]
Python 2.5 compatibility

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
11 years agoDocument new options properly.
Eric S. Raymond [Tue, 16 Apr 2013 21:03:00 +0000 (17:03 -0400)]
Document new options properly.

11 years agoAppend mode is required if we're loogging to disk.
Eric S. Raymond [Tue, 16 Apr 2013 19:50:45 +0000 (15:50 -0400)]
Append mode is required if we're loogging to disk.

11 years agoPrevent actually sending an empty privmsg.
Eric S. Raymond [Tue, 16 Apr 2013 11:57:59 +0000 (07:57 -0400)]
Prevent actually sending an empty privmsg.

11 years agoAdded -p option.
Eric S. Raymond [Tue, 16 Apr 2013 11:42:39 +0000 (07:42 -0400)]
Added -p option.

11 years agoAdded option to force nick.
Eric S. Raymond [Tue, 16 Apr 2013 11:19:55 +0000 (07:19 -0400)]
Added option to force nick.

11 years agoTypo fixes.
Eric S. Raymond [Tue, 16 Apr 2013 10:41:36 +0000 (06:41 -0400)]
Typo fixes.

11 years agoAdded - option; irker ca now be used as a channel monitor.
Eric S. Raymond [Tue, 16 Apr 2013 10:27:56 +0000 (06:27 -0400)]
Added - option; irker ca now be used as a channel monitor.

11 years agoExtract commit date for Mercurial
Laurent Bachelier [Sun, 17 Feb 2013 00:57:56 +0000 (01:57 +0100)]
Extract commit date for Mercurial

Same as Git, without the last part about timezone though.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
11 years agoExtract commit date for SVN
Laurent Bachelier [Sun, 17 Feb 2013 00:57:55 +0000 (01:57 +0100)]
Extract commit date for SVN

This gives the same date format as the Git extractor

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
11 years agoExtract commit dates
Laurent Bachelier [Sun, 17 Feb 2013 00:57:54 +0000 (01:57 +0100)]
Extract commit dates

So they can be handled by the filter hook.
For now, only git is handled.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
11 years agoVersion bump for 1.17 release. 1.17
Eric S. Raymond [Sun, 3 Feb 2013 21:08:48 +0000 (16:08 -0500)]
Version bump for 1.17 release.

11 years agoEnsure connections we consider dead are actually closed
Alexander van Gessel [Mon, 21 Jan 2013 03:04:51 +0000 (04:04 +0100)]
Ensure connections we consider dead are actually closed

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
11 years agoTruncate messages that are longer than 512 bytes and catch any exceptions irclib...
Alexander van Gessel [Mon, 21 Jan 2013 03:04:06 +0000 (04:04 +0100)]
Truncate messages that are longer than 512 bytes and catch any exceptions irclib throws about rejected messages.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
11 years agoDocumentation fix.
Eric S. Raymond [Fri, 25 Jan 2013 11:52:17 +0000 (06:52 -0500)]
Documentation fix.

11 years agoPunctuation fix.
Eric S. Raymond [Fri, 25 Jan 2013 11:46:21 +0000 (06:46 -0500)]
Punctuation fix.

11 years agoTypo fix.
Eric S. Raymond [Fri, 25 Jan 2013 04:29:04 +0000 (23:29 -0500)]
Typo fix.

11 years agoVersin bump for release 1.16. 1.16
Eric S. Raymond [Fri, 25 Jan 2013 03:43:27 +0000 (22:43 -0500)]
Versin bump for release 1.16.

11 years agoPrepare for release.
Eric S. Raymond [Fri, 25 Jan 2013 03:25:51 +0000 (22:25 -0500)]
Prepare for release.

11 years agoDo not crash when there is a "|" in the commit line
Laurent Bachelier [Wed, 23 Jan 2013 21:45:19 +0000 (22:45 +0100)]
Do not crash when there is a "|" in the commit line

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
11 years agoirkerhook: Fix handling of non-ascii author name
Bernhard Reutner-Fischer [Wed, 9 Jan 2013 11:32:39 +0000 (12:32 +0100)]
irkerhook: Fix handling of non-ascii author name

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---
for non-ascii input, irkerhook.py dies with:

remote: Traceback (most recent call last):
remote:   File "/usr/bin/irkerhook.py", line 484, in <module>
remote:     ship(extractor, commit, not notify)
remote:   File "/usr/bin/irkerhook.py", line 391, in ship
remote:     metadata = extractor.commit_factory(commit)
remote:   File "/usr/bin/irkerhook.py", line 262, in commit_factory
remote:     metainfo = do("git log -1 '--pretty=format:%an <%ae>|%s' " +
shellquote(commit.commit))
remote:   File "/usr/bin/irkerhook.py", line 50, in do
remote:     return unicode(commands.getstatusoutput(command)[1],
locale.getpreferredencoding() or 'UTF-8')
remote: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in
position 8: ordinal not in range(128)

for e.g. this author name:
$ git log -n1 --pretty="format:%an" | cat;echo
Timo Teräs
$ git log -n1 --pretty="format:%an" | od -x;echo
0000000 6954 6f6d 5420 7265 a4c3 0073
0000013
So:
$ for i in C POSIX en_US.UTF-8;do echo "# $i";LC_ALL=$i python -c
"import locale;print locale.getlocale()[1];print unicode(\"ä\",
locale.getlocale()[1] or 'UTF-8').encode(locale.getlocale()[1] or
'UTF-8')";done
None
ä
None
ä
None
ä

11 years agoPrepare 1.15 release, with a minor bugfix in the Subversion hook.. 1.15
Eric S. Raymond [Sun, 9 Dec 2012 01:37:32 +0000 (20:37 -0500)]
Prepare 1.15 release, with a minor bugfix in the Subversion hook..

11 years agoDate stamp. 1.14
Eric S. Raymond [Mon, 26 Nov 2012 06:08:26 +0000 (01:08 -0500)]
Date stamp.

11 years agoVersion bump for 1.14 release.
Eric S. Raymond [Mon, 26 Nov 2012 06:06:56 +0000 (01:06 -0500)]
Version bump for 1.14 release.

11 years agoWhitespace fix. Code is pylint clean and working.
Eric S. Raymond [Mon, 26 Nov 2012 06:05:44 +0000 (01:05 -0500)]
Whitespace fix.  Code is pylint clean and working.

11 years agoAnother hand-merged bugfix by AI0867.
Eric S. Raymond [Mon, 26 Nov 2012 06:01:14 +0000 (01:01 -0500)]
Another hand-merged bugfix by AI0867.

11 years agoHand-merge of a compatibility fix by AI0867: irclib5 compatibility.
Eric S. Raymond [Mon, 26 Nov 2012 05:52:56 +0000 (00:52 -0500)]
Hand-merge of a compatibility fix by AI0867: irclib5 compatibility.

11 years agoFix submitted by dmlm for generated Mercrial URLs.
Eric S. Raymond [Fri, 23 Nov 2012 04:58:19 +0000 (23:58 -0500)]
Fix submitted by dmlm for generated Mercrial URLs.

The constructed mercurial url is wrong - it creates urls like
"repo/rev3456fg", which just get redirected to the default log, rather
than the commit. The url should be "repo/rev/3456fg".

11 years agoReady for 1.13 release. 1.13
Eric S. Raymond [Wed, 7 Nov 2012 05:45:23 +0000 (00:45 -0500)]
Ready for 1.13 release.

11 years agoConfigure irclib's line decoder to not fail on invalid utf-8
Alexander van Gessel (AI0867) [Sun, 4 Nov 2012 01:38:10 +0000 (02:38 +0100)]
Configure irclib's line decoder to not fail on invalid utf-8

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
11 years agoSupport tinyifiers with UTF-8 results
Laurent Bachelier [Tue, 23 Oct 2012 04:48:21 +0000 (06:48 +0200)]
Support tinyifiers with UTF-8 results

This does not change anything for tinyurl (the default), but allows
using http://tinyarro.ws/api-create.php?utfpure=1&url=
In case invalid characters are encountered, fall back to str.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
11 years agoFix syntax of 'channels' parameter in 'git' section
Romain Bignon [Thu, 25 Oct 2012 11:43:22 +0000 (13:43 +0200)]
Fix syntax of 'channels' parameter in 'git' section

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>