After the switch to GIT, the ports SVN repository is in a frozen state.
This causes accesses to https://svnweb.freebsd.org/ports/head/ to return
But the real issue IMHO is that the "FreeBSD Ports Search" page on the
web server does return 404 errors for ports that have been created in
GIT and did not exist in SVN.
Reproduce by e.g.:
and then click on any of the links (e.g. "Description").
This returns an error page with status 404:
The correct, new URL is:
Somebody needs to apply the following changes to ports.cgi:
Hostname: replace "svnweb" with "cgit"
Path: replace "ports/head" with "ports/tree"
Created attachment 224246 [details]
Patch to fix ports.cgi
Fix path to port information queried with the "FreeBSD Ports Search" page.
A review has been created for the suggested fix: D29829
This reminds me I need to figure out the cgi deployment after the doc migrating to asciidoc. I'll try to squeeze some time on this...
The path suggested in the initial description of the issue was wrong, since it does not return the plain file data as did the svnweb URL.
The correct URL prefix is:
See the patch attached to https://reviews.freebsd.org/D29829
A commit in branch main references this bug:
Author: Stefan EÃer <se@FreeBSD.org>
AuthorDate: 2021-04-29 18:01:32 +0000
Commit: Stefan EÃer <se@FreeBSD.org>
CommitDate: 2021-04-29 18:01:32 +0000
content/en/cgi: Fix paths in cgi-style.pl, man.cgi, and ports.cgi
Adjust paths to point at cgit.freebsd.org instead of svnweb.
An attempt has been made to provide the same kind of information as
before, but the layout and information displayed by cgit is different
from that of svnweb.
Reviewed by: wosch
Differential Revision: https://reviews.freebsd.org/D29829
website/content/en/cgi/cgi-style.pl | 2 +-
website/content/en/cgi/man.cgi | 2 +-
website/content/en/cgi/ports.cgi | 16 +++++++++-------
3 files changed, 11 insertions(+), 9 deletions(-)