On 02/12/2016 03:07 PM, Arnd Bergmann wrote:
On Tuesday 09 February 2016 12:28:06 Andy Doan wrote:
tldr; patches.linaro.org will be upgraded tomorrow, Wednesday the 9th around 16:00UTC.
Hi Andy,
I just stumbled over some broken links when looking up old patches in the archive. Specifically, this link https://patches.linaro.org/57380/ was supposed to take me to an older patch I have to revisit, but I get a 404 error.
Is this expected? Any chance to redirect the old links to a static archive of the original contents?
It was unanticipated. I had taken a snapshot of the old server's DB on around Oct. 23, 2015, 2:48 p.m. At that point the new server and old server stopped producing the same patch ID for patches. So patches after 55493 differ between the servers. I didn't anticipate people bookmarking stuff.
I've just made a small hack to stop the immediate issues: the new patchwork server prefixes patch URLs with "patch/<patch id>". So I can intercept all requests to that. If its <= 55493 its safe for my new system to display it. If its > 55493, I can assume that's a link that happened during this transition and redirect to the old patches server. eg - your link will work how you described now.
That's what we have for now. If this is sufficiently annoying to people, I can try to re-run a DB migration from the old server to the new one.