Bug 236229

Summary: Subversion hooks should accept URLs in the PR field of commit logs
Product: Base System Reporter: Eric van Gyzen <vangyzen>
Component: miscAssignee: Eric van Gyzen <vangyzen>
Status: In Progress ---    
Severity: Affects Only Me CC: emaste
Priority: --- Keywords: patch
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
URL redirect CGI script none

Description Eric van Gyzen freebsd_committer 2019-03-04 21:03:20 UTC
Presently, the Subversion post-commit hook only accepts numbers (and GNATS categories) in the PR field of commit logs.  Since practically everything is a URL these days, and therefore everything else knows how to _handle_ a URL, the hook should accept URLs in the PR field.

Modify hook scripts:

https://reviews.freebsd.org/D19426

Update Subversion's commit log template in src and ports:

https://reviews.freebsd.org/D19459
https://reviews.freebsd.org/D19460
Comment 1 Eric van Gyzen freebsd_committer 2019-03-04 21:05:38 UTC
Created attachment 202564 [details]
URL redirect CGI script

Here is a working CGI script that could someday be used in place of Bugzilla to keep commit log URLs alive long after we migrate away from Bugzilla.