From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6CTHEkwvZF8JJgAA0tVLHw (envelope-from ) for ; Fri, 18 Sep 2020 03:53:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sIWEDkwvZF9lTQAAB5/wlQ (envelope-from ) for ; Fri, 18 Sep 2020 03:53:48 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BFBAF9401CF for ; Fri, 18 Sep 2020 03:53:47 +0000 (UTC) Received: from localhost ([::1]:49904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJ7T0-0002uu-L9 for larch@yhetil.org; Thu, 17 Sep 2020 23:53:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJ7Sr-0002ug-KV for guix-devel@gnu.org; Thu, 17 Sep 2020 23:53:37 -0400 Received: from pb-smtp1.pobox.com ([64.147.108.70]:63447) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJ7Sp-00013W-Ch for guix-devel@gnu.org; Thu, 17 Sep 2020 23:53:37 -0400 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id A4DFA8ACB3; Thu, 17 Sep 2020 23:53:32 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=x2OKwaU/2i3x 3fGP6nc3fSii3IE=; b=NtnHuxwdqL5eF5ygGQN5h7qM3uj/uJ5RKB3R3o8V+IT7 vgeDMX95JbafpMVbfi/3+N6fC3I1AWEKi3fTFhSJ8Y6xRV07pjAAXfd9lIvoAw/i sUMC8DpJxdSoa64m6R6dgraux0beSigLuRZm8lJXePL3YHq1WY2b8ShaJF046ho= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 9D0598ACB2; Thu, 17 Sep 2020 23:53:32 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type:content-transfer-encoding; s=mesmtp; bh=fTEYA/m0Htfy+lGltRVlT6YOoCnXzCuU6YaeX+AWrxs=; b=Pk4szhlh1LuRNnUgU3En6lR5u2eNMT7STF8zN+txpWGLprnsI1ekgNk19OMwwMdw0VMuIq+7lqTwJw0OcfBV5diQBPigPBoxcHBUxDEY0sZ35UOOaUh7E9bF0A7ntptSnUkkGIXR4dYbK3DLxufoJkUt3VbhdlU1SL0g33iEgmo= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 2710B8ACB1; Thu, 17 Sep 2020 23:53:32 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: zimoun Subject: Re: Mummi wishlist: API using Message-ID In-Reply-To: References: <86sgbhz3fe.fsf@gmail.com> <87ft7gvi1h.fsf@elephly.net> Date: Thu, 17 Sep 2020 23:53:31 -0400 Message-ID: <875z8bkaf8.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Pobox-Relay-ID: 850098B2-F962-11EA-8610-01D9BED8090B-24757444!pb-smtp1.pobox.com Received-SPF: pass client-ip=64.147.108.70; envelope-from=kyle@kyleam.com; helo=pb-smtp1.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/17 23:53:32 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=pobox.com header.s=sasl header.b=NtnHuxwd; dkim=fail (rsa verify failed) header.d=kyleam.com header.s=mesmtp header.b=Pk4szhlh; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: hC5k6ZluGcjn zimoun writes: > On Thu, 17 Sep 2020 at 12:00, Ricardo Wurmus wrote: >> This is an interesting idea! I don=E2=80=99t know if it=E2=80=99ll work= as a plain URL, >> because not all characters of a message id might be usable in a URL (you >> may need to URL-encode it and can=E2=80=99t just paste it in the URL bar= of your >> browser), but it would certainly work as a search query. The only >> problem is that we=E2=80=99re not currently indexing the message ids. > > I do not know but public-inbox is doing such thing, isn't it? > I mean, the example with emacs-debbugs, my "custom" function and the > service : > [...] > Is it not enough? > The URL, is it not always ready-to-be-pasted? > The link contains '@' but it works (on my webbrowser at least :-)). For public-inbox URLs, there is one character that needs to be escaped: "/" with "%2F" (see ). However, in its current form, your custom function has a good chance of being enough. Here is the number of message IDs known to yhetil.org/guix-devel: $ echo 'SELECT COUNT(*) FROM msgmap' | \ sqlite3 -readonly guix-devel-msgmap.sqlite3 55231 And of those, only 11 have "/" in them: $ echo 'SELECT mid FROM msgmap' | \ sqlite3 -readonly guix-devel-msgmap.sqlite3 | grep -c "/" 11