madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

timestamp on delivery to inbox
authormartin f. krafft <madduck@madduck.net>
Sun, 26 Aug 2007 20:14:47 +0000 (22:14 +0200)
committermartin f. krafft <madduck@madduck.net>
Sun, 26 Aug 2007 20:14:47 +0000 (22:14 +0200)
bin/process-tickler
procmail/tickle

index c853294f09aa174a056272c89de3351dfe8bf6b1..0c3839ff025d7d39bc26d072ce5d4e126a7c542d 100755 (executable)
@@ -24,6 +24,7 @@ msgids = dict()
 def move_to_inbox(key):
     msg = tmd.get_message(key)
     print >>sys.stdout, 'I: move message %s to inbox' % key
 def move_to_inbox(key):
     msg = tmd.get_message(key)
     print >>sys.stdout, 'I: move message %s to inbox' % key
+    msg.add_header('X-Tickle-Delivered', time.strftime('%c'))
     imd.add(msg)
     tmd.discard(key)
 
     imd.add(msg)
     tmd.discard(key)
 
index 1eb4ce6522f0c9c7032477e4b39697e083a2bb71..8ad5ac99a0b6836c992dafa4c214b3b2bc407917 100644 (file)
@@ -5,7 +5,7 @@
   STAMP
   :0
   * MATCH ?? ^[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]$
   STAMP
   :0
   * MATCH ?? ^[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]$
-  { STAMP=$MATCH }
+  { STAMP="$MATCH (`/bin/date -d @$MATCH +%c`)" }
 
   :0 E
   * MATCH ?? ^[0-9]+m$
 
   :0 E
   * MATCH ?? ^[0-9]+m$