Eric S. Raymond [Fri, 25 Jan 2013 03:25:51 +0000 (22:25 -0500)]
Prepare for release.
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>
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
ä
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..
Eric S. Raymond [Mon, 26 Nov 2012 06:08:26 +0000 (01:08 -0500)]
Date stamp.
Eric S. Raymond [Mon, 26 Nov 2012 06:06:56 +0000 (01:06 -0500)]
Version bump for 1.14 release.
Eric S. Raymond [Mon, 26 Nov 2012 06:05:44 +0000 (01:05 -0500)]
Whitespace fix. Code is pylint clean and working.
Eric S. Raymond [Mon, 26 Nov 2012 06:01:14 +0000 (01:01 -0500)]
Another hand-merged bugfix by AI0867.
Eric S. Raymond [Mon, 26 Nov 2012 05:52:56 +0000 (00:52 -0500)]
Hand-merge of a compatibility fix by AI0867: irclib5 compatibility.
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".
Eric S. Raymond [Wed, 7 Nov 2012 05:45:23 +0000 (00:45 -0500)]
Ready for 1.13 release.
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>
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>
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>
Eric S. Raymond [Thu, 25 Oct 2012 11:34:32 +0000 (07:34 -0400)]
Avoid a portability problem.
Eric S. Raymond [Sun, 21 Oct 2012 01:48:23 +0000 (21:48 -0400)]
Change the documented library requirement to 3.4.
Eric S. Raymond [Fri, 19 Oct 2012 21:01:12 +0000 (17:01 -0400)]
Remove a mutex guard that is probably unecessary.
AI0867 reported this was causing a rare hang during disconnect.
Also, set the connection status to expired if the thread terminates
due to exception.
Eric S. Raymond [Sun, 14 Oct 2012 20:24:39 +0000 (16:24 -0400)]
irclib is 2.6-compatible again.
Eric S. Raymond [Sun, 14 Oct 2012 04:16:02 +0000 (00:16 -0400)]
Make SVN extractor strip trailing blank lines.
Eric S. Raymond [Sun, 14 Oct 2012 04:07:48 +0000 (00:07 -0400)]
Document a dependency.
Eric S. Raymond [Sat, 13 Oct 2012 09:44:42 +0000 (05:44 -0400)]
Revert "Rely on the thread safety of the IRC library at versions >= 3.2.1."
Boom! Blew up, first time tested.
Eric S. Raymond [Sat, 13 Oct 2012 09:43:01 +0000 (05:43 -0400)]
Rely on the thread safety of the IRC library at versions >= 3.2.1.
Eric S. Raymond [Sat, 13 Oct 2012 09:33:03 +0000 (05:33 -0400)]
Require urclib 3.2.2. Has a "fix" for the UnicodeDecodeError problem.
Alas, the fix violates RFC2812.
Eric S. Raymond [Thu, 11 Oct 2012 18:54:09 +0000 (14:54 -0400)]
Version bump for release.
Eric S. Raymond [Thu, 11 Oct 2012 18:51:33 +0000 (14:51 -0400)]
Typo fix.
Eric S. Raymond [Thu, 11 Oct 2012 18:49:02 +0000 (14:49 -0400)]
Emergency fix for IRC library bug.
Eric S. Raymond [Thu, 11 Oct 2012 09:19:36 +0000 (05:19 -0400)]
Micellaneous documentation and metadata updates.
Eric S. Raymond [Thu, 11 Oct 2012 03:05:41 +0000 (23:05 -0400)]
Remove an antiscocial default.
Eric S. Raymond [Wed, 10 Oct 2012 23:35:09 +0000 (19:35 -0400)]
irlerd can sharte the library mutex introduced in irclib 3.2.
Eric S. Raymond [Wed, 10 Oct 2012 21:40:23 +0000 (17:40 -0400)]
Version bump for release.
Eric S. Raymond [Wed, 10 Oct 2012 21:19:04 +0000 (17:19 -0400)]
Add the "cialike" option. And a missing extraction of filtercmd from hg.
Eric S. Raymond [Wed, 10 Oct 2012 20:22:04 +0000 (16:22 -0400)]
Documentation updates.
Laurent Bachelier [Wed, 10 Oct 2012 19:02:05 +0000 (21:02 +0200)]
Support piping text to irk
Usage: outcmd|irk target -
Sending "-" is still possible by echo -|irk target -
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Laurent Bachelier [Wed, 10 Oct 2012 19:02:03 +0000 (21:02 +0200)]
Remove .git from guessed project name
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Eric S. Raymond [Wed, 10 Oct 2012 16:50:50 +0000 (12:50 -0400)]
Note an avoided failure mode.
Eric S. Raymond [Tue, 9 Oct 2012 20:31:01 +0000 (16:31 -0400)]
Documentation improvements.
Laurent Bachelier [Tue, 9 Oct 2012 19:35:54 +0000 (21:35 +0200)]
Use unicode as much as possible.
This fixes a corner case where if you had a non-ASCII character in a
commit and a filter command, you would end up with an unicode string and
irkerhook.py would crash.
But it would somehow work if you did not have a filter command.
For both modes cases to work, forcing unicode in do() and then using
unicode methods are required.
JSON is unicode by default, and this is why the issues happened.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Eric S. Raymond [Tue, 9 Oct 2012 18:34:40 +0000 (14:34 -0400)]
A slightly cheaper idle, now that greenlets are gone.
Eric S. Raymond [Tue, 9 Oct 2012 11:33:30 +0000 (07:33 -0400)]
Make sure in the release proces that git push is done before git push --tags.
Eric S. Raymond [Tue, 9 Oct 2012 11:13:01 +0000 (07:13 -0400)]
Version bump for release.
Eric S. Raymond [Tue, 9 Oct 2012 11:10:45 +0000 (07:10 -0400)]
More documentation improvement.
Eric S. Raymond [Tue, 9 Oct 2012 11:05:21 +0000 (07:05 -0400)]
Documentation tweak.
Rick Gibbed [Tue, 9 Oct 2012 02:26:43 +0000 (22:26 -0400)]
Make the mIRC color highlighting bearable on ChatZila.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Eric S. Raymond [Tue, 9 Oct 2012 01:26:34 +0000 (21:26 -0400)]
News update.
Eric S. Raymond [Tue, 9 Oct 2012 01:23:46 +0000 (21:23 -0400)]
Note where ANSI codes are supported.
Rick Gibbed [Tue, 9 Oct 2012 01:19:58 +0000 (21:19 -0400)]
Reinstate mIRC codes in a form that won't eat following text.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Eric S. Raymond [Tue, 9 Oct 2012 00:27:07 +0000 (20:27 -0400)]
Remove eventlet support.
It seems to collide, hard, with the (necessary) library mutex.
Also it was really complicating testing.
Eric S. Raymond [Tue, 9 Oct 2012 00:24:40 +0000 (20:24 -0400)]
Prevent a TTL bug.
Eric S. Raymond [Mon, 8 Oct 2012 19:57:40 +0000 (15:57 -0400)]
Remove support for mIRC color codes.
They tend to produce unwanted effects when an mIRC code is directly
followed by a text digit (which is going to happen often in this context, e.g.
with git hex commit IDs). the mIRC codes have no end delimiter, so
unless the client's recognizer is very carefully crafted it will eat
following text.
Eric S. Raymond [Mon, 8 Oct 2012 17:25:04 +0000 (13:25 -0400)]
Correct the ANSI highlights.
Eric S. Raymond [Mon, 8 Oct 2012 16:47:33 +0000 (12:47 -0400)]
Looks like 1.5 seconds was enough delay.
Eric S. Raymond [Mon, 8 Oct 2012 16:46:10 +0000 (12:46 -0400)]
Attempt a fix for a race condition in filter-test.py.
Eric S. Raymond [Mon, 8 Oct 2012 16:42:41 +0000 (12:42 -0400)]
Update the release procedure.
Eric S. Raymond [Mon, 8 Oct 2012 16:11:44 +0000 (12:11 -0400)]
Comment improvements.
Eric S. Raymond [Mon, 8 Oct 2012 16:00:05 +0000 (12:00 -0400)]
Merge commit 'refs/merge-requests/16' of git://gitorious.org/irker/irker into merge-requests/16
Eric S. Raymond [Mon, 8 Oct 2012 15:58:36 +0000 (11:58 -0400)]
Merge some minor cleanups by Peter Scott.
Eric S. Raymond [Mon, 8 Oct 2012 15:25:31 +0000 (11:25 -0400)]
Get the tag-push invocation right.
Eric S. Raymond [Mon, 8 Oct 2012 15:06:53 +0000 (11:06 -0400)]
Version bump for release.
Eric S. Raymond [Mon, 8 Oct 2012 15:02:31 +0000 (11:02 -0400)]
Sync tags to the repo after shipping.
Eric S. Raymond [Mon, 8 Oct 2012 14:59:30 +0000 (10:59 -0400)]
Password support could be done by passing the credential every time.
Eric S. Raymond [Mon, 8 Oct 2012 14:56:59 +0000 (10:56 -0400)]
Documentation improvements.
Alexander van Gessel (AI0867) [Mon, 8 Oct 2012 10:29:49 +0000 (12:29 +0200)]
Expire disconnected connections if they aren't needed or can't reconnect
Eric S. Raymond [Mon, 8 Oct 2012 08:51:12 +0000 (04:51 -0400)]
Prevent CPU usage from going to max due to loop buzzing.
Laurent Bachelier [Mon, 8 Oct 2012 08:37:23 +0000 (10:37 +0200)]
Tinyifier fixes
- use the right config for Mercurial extractor
- use the default tinyifier if nothing is provided
- support using no tinyifier (=none or empty)
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Eric S. Raymond [Mon, 8 Oct 2012 08:28:21 +0000 (04:28 -0400)]
Avoid a problem with the mutex code.
Eric S. Raymond [Mon, 8 Oct 2012 04:57:57 +0000 (00:57 -0400)]
Wrap library calls in a mutex for thread safety.
Eric S. Raymond [Mon, 8 Oct 2012 00:00:08 +0000 (20:00 -0400)]
Why there's no support for password authentication.
Eric S. Raymond [Sun, 7 Oct 2012 23:24:38 +0000 (19:24 -0400)]
Another try at stomping the disconnect bug.
Eric S. Raymond [Sun, 7 Oct 2012 21:18:48 +0000 (17:18 -0400)]
Empty sends are allowed.
Eric S. Raymond [Sun, 7 Oct 2012 16:24:36 +0000 (12:24 -0400)]
Instrumentation to pin down laurentb's timeout bug.
Eric S. Raymond [Sun, 7 Oct 2012 15:42:09 +0000 (11:42 -0400)]
Make install.html available on the project page.
Eric S. Raymond [Sun, 7 Oct 2012 15:38:08 +0000 (11:38 -0400)]
Revert "Properly \n-terminate each send."
I misunderstood the RFCs. Curious that someone else reported this
before I saw it.
Wulf C. Krueger [Sun, 7 Oct 2012 09:06:14 +0000 (11:06 +0200)]
Add a systemd unit to start irkerd
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Eric S. Raymond [Sun, 7 Oct 2012 09:40:20 +0000 (05:40 -0400)]
Typo fix.
Eric S. Raymond [Sun, 7 Oct 2012 09:37:34 +0000 (05:37 -0400)]
Clarification.
Eric S. Raymond [Sun, 7 Oct 2012 09:33:45 +0000 (05:33 -0400)]
Note that greenlets make thread flooding more difficult.
Eric S. Raymond [Sun, 7 Oct 2012 08:18:45 +0000 (04:18 -0400)]
URL fix.
Eric S. Raymond [Sun, 7 Oct 2012 08:08:41 +0000 (04:08 -0400)]
Makup fix.
Eric S. Raymond [Sun, 7 Oct 2012 08:07:40 +0000 (04:07 -0400)]
Markup amd thinko fixes.
Eric S. Raymond [Sun, 7 Oct 2012 07:26:47 +0000 (03:26 -0400)]
Properly \n-terminate each send.
This simple change is slightly wrong in a way that IRC servers hide -
strictly speaking we should not append a '\n' to the very last
segment.
Eric S. Raymond [Sun, 7 Oct 2012 07:23:33 +0000 (03:23 -0400)]
Some feature enhancements for irk.
Eric S. Raymond [Sun, 7 Oct 2012 07:09:10 +0000 (03:09 -0400)]
pylint cleanup.
Eric S. Raymond [Sun, 7 Oct 2012 06:46:25 +0000 (02:46 -0400)]
Merge commit 'refs/merge-requests/12' of git://gitorious.org/irker/irker into merge-requests/12
Peter Scott [Sun, 7 Oct 2012 05:23:26 +0000 (22:23 -0700)]
Make idle loop work correctly with Eventlet and plain threads, with no 100% CPU busy loop.
Eric S. Raymond [Sun, 7 Oct 2012 01:59:47 +0000 (21:59 -0400)]
Good thing we do a smoke test before release.
Eric S. Raymond [Sun, 7 Oct 2012 01:57:03 +0000 (21:57 -0400)]
Version bump for release.
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>
Eric S. Raymond [Sun, 7 Oct 2012 01:00:18 +0000 (21:00 -0400)]
Sending to nick URLs is now supported.
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.
Eric S. Raymond [Sat, 6 Oct 2012 11:00:07 +0000 (07:00 -0400)]
Remove a dependecy on netcat.
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.
Eric S. Raymond [Sat, 6 Oct 2012 08:49:00 +0000 (04:49 -0400)]
basestring makes the isinstance checks work.
Eric S. Raymond [Sat, 6 Oct 2012 07:59:55 +0000 (03:59 -0400)]
Actually get tinyfier from the config variables.
Eric S. Raymond [Sat, 6 Oct 2012 07:53:34 +0000 (03:53 -0400)]
Fix a misspelled variable name.
Eric S. Raymond [Sat, 6 Oct 2012 05:27:16 +0000 (01:27 -0400)]
Add a needed thread termination.
Eric S. Raymond [Fri, 5 Oct 2012 20:54:05 +0000 (16:54 -0400)]
Time out if IRCd fails during handshake.
Eric S. Raymond [Fri, 5 Oct 2012 19:58:15 +0000 (15:58 -0400)]
Reset status on server disconnect.
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.
Eric S. Raymond [Fri, 5 Oct 2012 16:07:35 +0000 (12:07 -0400)]
Experimental channel-aging code.
Eric S. Raymond [Fri, 5 Oct 2012 15:33:10 +0000 (11:33 -0400)]
Version bump for release.