unofficial mirror of
 help / color / mirror / Atom feed
From: "Robin H. Johnson" <>
Subject: Alternate permalink URLs - for migration from other/custom archive solutions
Date: Sun, 19 Nov 2023 23:47:29 +0000	[thread overview]
Message-ID: <> (raw)

[-- Attachment #1: Type: text/plain, Size: 1254 bytes --]


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:

We'd need to tweak the index somehow to expose it.

That same mail as visible in our public-inbox test site:

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.

Robin Hugh Johnson
Pronouns   : They/he
E-Mail     :

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1113 bytes --]

             reply	other threads:[~2023-11-19 23:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-19 23:47 Robin H. Johnson [this message]
2023-11-20  3:21 ` [RFC] altid: start supporting indexfilter type (was: Alternate permalink URLs) Eric Wong
2023-12-08 21:23   ` Eric Wong
2024-04-27  7:00     ` Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).