unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* Alternate permalink URLs - for migration from other/custom archive solutions
@ 2023-11-19 23:47 Robin H. Johnson
  2023-11-20  3:21 ` [RFC] altid: start supporting indexfilter type (was: Alternate permalink URLs) Eric Wong
  0 siblings, 1 reply; 6+ messages in thread
From: Robin H. Johnson @ 2023-11-19 23:47 UTC (permalink / raw)
  To: meta

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

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/499b958da430b925dbd2f2b58e0f507e

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/538ce05eef3f4df3468cbc7f7abfa90eb2ea7d51.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.

-- 
Robin Hugh Johnson
Pronouns   : They/he
E-Mail     : robbat2@orbis-terrarum.net

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-07-15 21:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-19 23:47 Alternate permalink URLs - for migration from other/custom archive solutions Robin H. Johnson
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
2024-07-14 22:51       ` Robin H. Johnson
2024-07-15 21:34         ` Eric Wong

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).