Notmuch Ruby bindings
authorAli Polatel <alip@exherbo.org>
Sat, 22 May 2010 07:26:52 +0000 (10:26 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:04 +0000 (09:37 -0800)
b9/1658560117a86e226a53034bf58c3a194209b1 [new file with mode: 0644]

diff --git a/b9/1658560117a86e226a53034bf58c3a194209b1 b/b9/1658560117a86e226a53034bf58c3a194209b1
new file mode 100644 (file)
index 0000000..628fa23
--- /dev/null
@@ -0,0 +1,92 @@
+Return-Path: <alip@exherbo.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 691204196F5\r
+       for <notmuch@notmuchmail.org>; Sat, 22 May 2010 00:27:10 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.009\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.009 tagged_above=-999 required=5\r
+       tests=[BAYES_40=-0.001, T_MIME_NO_TEXT=0.01] autolearn=ham\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id wLUIsnhmZKck for <notmuch@notmuchmail.org>;\r
+       Sat, 22 May 2010 00:26:59 -0700 (PDT)\r
+Received: from bach.exherbo.org (bach.exherbo.org [78.47.197.147])\r
+       by olra.theworths.org (Postfix) with ESMTP id 4081B4196F2\r
+       for <notmuch@notmuchmail.org>; Sat, 22 May 2010 00:26:59 -0700 (PDT)\r
+Received: from localhost ([127.0.0.1] helo=harikalardiyari.ev ident=alip)\r
+       by bach.exherbo.org with esmtp (Exim 4.69)\r
+       (envelope-from <alip@exherbo.org>) id 1OFj6n-0005P1-6z\r
+       for notmuch@notmuchmail.org; Sat, 22 May 2010 07:26:57 +0000\r
+From: Ali Polatel <alip@exherbo.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: Notmuch Ruby bindings\r
+User-Agent: Notmuch/0.3.1-18-g7d77c10 (http://notmuchmail.org) Emacs/23.2.1\r
+       (amd64-portbld-freebsd8.1)\r
+Date: Sat, 22 May 2010 10:26:52 +0300\r
+Message-ID: <8639xkv1kz.fsf@harikalardiyari.ev>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 22 May 2010 07:27:10 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+\r
+Hey all,\r
+I've written Ruby bindings for the notmuch library.\r
+\r
+Here are related links:\r
+Gitweb: http://github.com/alip/notmuch/tree/ruby\r
+Git: git://github.com/alip/notmuch.git (branch ruby)\r
+API documentation: http://dev.exherbo.org/~alip/notmuch/ruby/\r
+\r
+Building is simple:\r
+=2D Clone the git url mentioned above and switch to the ruby branch.\r
+=2D Build the notmuch library\r
+=2D cd bindings/ruby\r
+=2D ruby extconf.rb\r
+=2D make\r
+\r
+This is written in pure C, unlike Python bindings, which uses\r
+ctypes. This means it should be a bit faster but possibly more buggy,\r
+especially the garbage collection routines. I've tried hard to make\r
+Ruby's GC play nice with notmuch's talloc based memory allocation but I\r
+can't be sure if it's bug-free.\r
+\r
+I haven't written any examples yet but the API documentation should be\r
+clear enough for one to understand and dive in.\r
+\r
+As usual, any comments, patches welcome.\r
+\r
+=2D-=20\r
+Regards,\r
+Ali Polatel\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v2.0.14 (FreeBSD)\r
+\r
+iEYEARECAAYFAkv3hz8ACgkQQU4yORhF8iBSjQCfdKx26bTXGUvnB0zM/nxL+5jC\r
+tPQAn1D9zUVJRlRTzvCIeQlmxTik803E\r
+=6BZ8\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r