diff options
author | Daniel Axtens <dja@axtens.net> | 2019-09-13 00:47:03 +1000 |
---|---|---|
committer | Daniel Axtens <dja@axtens.net> | 2019-09-25 07:40:19 +1000 |
commit | 5d7d5336dfeada28b036a5a3ba34d16ec8d83612 (patch) | |
tree | b921ab9cbc060c42ad62e7a1536c573f800d3ea7 /htdocs/fonts | |
parent | ab35df8c33a178b3b2349c1e4727393b94f5e916 (diff) | |
download | patchwork-5d7d5336dfeada28b036a5a3ba34d16ec8d83612.tar patchwork-5d7d5336dfeada28b036a5a3ba34d16ec8d83612.tar.gz |
Move to msgid based URLs
Migrate our URL schema as follows:
Patches: /project/<linkname>/patch/<msgid>/
Cover Letters: /project/<linkname>/cover/<msgid>/
The usual sub-resources (mbox, raw) hang off those URLs.
The old style URLs (/patch/NNN/*, /cover/NNN/*) redirect appropriately.
I haven't attempted to do anything meaningful with series, and I
have dropped any attempt to provide a generic message-id lookup
or search functionality. One step at a time.
Our database still stores message ids as with angle brackets; we
just work around that rather than trying to migrate. That too can
come later if we think the pain is justified.
Partially-closes: #106
Reported-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Reported-by-but-I-don't-want-to-spam: Linus Torvalds <torvalds@linux-foundation.org>
Reported-by: Stephen Finucane <stephen@that.guru>
Signed-off-by: Daniel Axtens <dja@axtens.net>
Diffstat (limited to 'htdocs/fonts')
0 files changed, 0 insertions, 0 deletions