From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3701 140.211.0.0/16 X-Spam-Status: No, score=-3.4 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 23CAB1F406 for ; Sun, 19 Nov 2023 23:47:31 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; unprotected) header.d=orbis-terrarum.net header.i=@orbis-terrarum.net header.a=rsa-sha256 header.s=mail header.b=DHJ6ot/s; dkim-atps=neutral Received: from grubbs.orbis-terrarum.net (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1EF67335CEE for ; Sun, 19 Nov 2023 23:47:30 +0000 (UTC) Received: from grubbs.orbis-terrarum.net (localhost [127.0.0.1]) by grubbs.orbis-terrarum.net (Postfix) with ESMTP id 90FB126019C for ; Sun, 19 Nov 2023 23:47:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=orbis-terrarum.net; s=mail; t=1700437649; bh=dWBbwSDcMpJgmpBb4HwH8MR/5pZb+HGs6xHD4tPLqGU=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type:From: Sender:To:CC:Subject:Message-Id:Date:MIME-Version:Content-Type: Reply-To; b=DHJ6ot/sumcW4lzeYXFt1MX0lEPAjz3prbrWoeJS++aoFp8/7l+KxpJhSv7jjbozg m4DO8xdE5KqWOtWliPHraBolfrOSTWqSpbxgjzNyGXCnS4oxd5SveGXbZWbzsapGQZ duCPo2BMbytQRF/MFGL+mgmic4y15e+lfAe3RvxavpUNzQcnLwrHcwW5q2Hf41Optu +JVDZ5188kisC5ays6WPfZyABY3req/pwKuySZGu4rE98A1c742B/r6f+n7vLmquCv 56Vz47AQjibrwqVa7Ukx3sZo1aIXd/H6CVSxTD4dbi5LksjPHX2UeIFBS6BL9EVIT6 Oo4TjSwE1vDjQ== Received: (qmail 11426 invoked by uid 10000); 19 Nov 2023 23:47:29 -0000 Date: Sun, 19 Nov 2023 23:47:29 +0000 From: "Robin H. Johnson" To: meta@public-inbox.org Subject: Alternate permalink URLs - for migration from other/custom archive solutions Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zK9Mj3Gy4XaQROEU" Content-Disposition: inline List-Id: --zK9Mj3Gy4XaQROEU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, This is more of a feature request / request for pointers on how to tweak the design to support something, and it might be suited to maintaining as a local patch. The permalinks offered by public-inbox are great, but at Gentoo Linux, we'd like to ALSO continue to offer our historical permalinks. For those, the permalink slug portion was built when the mail arrived into the archives ingest pipeline. Example legacy link: https://archives.gentoo.org/gentoo-dev/message/499b958da430b925dbd2f2b58e0f= 507e We'd need to tweak the index somehow to expose it. That same mail as visible in our public-inbox test site: https://public-inbox.gentoo.org/gentoo-dev/538ce05eef3f4df3468cbc7f7abfa90e= b2ea7d51.camel@gentoo.org/raw The permalink slug is in the header: X-Archives-Hash: 499b958da430b925dbd2f2b58e0f507e This needs to end up in the Xapian index (which doesn't seem to index headers right now), and then get wired up as a route: On access, redirect to public-inbox permalink. Pointers on where in the codebase to wire up the Xapian side greatly appreciated, since it doesn't seem to be indexing arbitrary headers right now. --=20 Robin Hugh Johnson Pronouns : They/he E-Mail : robbat2@orbis-terrarum.net --zK9Mj3Gy4XaQROEU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Robbat2 @ Orbis-Terrarum Networks - The text below is a digital signature. If it doesn't make any sense to you, ignore it. iQKTBAABCgB9FiEEveu2pS8Vb98xaNkRGTlfI8WIJsQFAmVano9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJE RUJCNkE1MkYxNTZGREYzMTY4RDkxMTE5Mzk1RjIzQzU4ODI2QzQACgkQGTlfI8WI JsQt4BAAsZtGtFM0VzNfi7egp/vcUtEvuJWjUpCxGRv2O1uY2xYmIKsXmP5q94Cy ZuL3tsNPdZ8Co4AiTFCDaptenhtLWlumvDbPV4qEZa8GcidAr4fGszYgTgZhNwvD K1tEFU+4+5lynPsPe4zuzIgvkF/o26SMhxfEpG9KLlaJ6EO16GCtcBuU6nuBZsYM HB19bpBCdyrgXfVy/ivZDEAMr9A8LA+aX6lePwsNx49L/rmR5Gz4x/AHM+IcdSqA uPyiCQh10hyPAtADbuT/DtBQNUAZKxEBM31UjbSkymgauUsVqgRnFOyGOSgjEYnJ mJldYNdjERs3o3QlKWxsEEmLG7PxDMYhQvrGihp+rwdQZ+zU50cHVwS1HjaqVOzv MuYeO8rQS16Et+nLXoL6WT4gIuuomCRKMBMiXf4T3vcNOPuDINZF7HbEuky5gXDn cNQSxx6jEJJs7v5e4tmlOkgGUKNkW+duuQIuAG9vW/Yxc73CcvXD98hzkMDIkaWH 9gleVGHtz8WFac2KbSRJIb8KhD1k5r4XeQEhBEeR7N8sP3juQdWQ7l6GGqG2RmMf Eh29nMcVF2KT1iriAJqRt9b4/g1k8AN3IEX3nm/ITrb5jMSJjJ5WVILhAvRLekWS UFtfGbd5swa45OHopHB6qQ3jnlZbh8JzdagT2VQesd65Djg0Sr4= =cca0 -----END PGP SIGNATURE----- --zK9Mj3Gy4XaQROEU--