Bug 236229 - Subversion hooks should accept URLs in the PR field of commit logs
Summary: Subversion hooks should accept URLs in the PR field of commit logs
Status: In Progress
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Eric van Gyzen
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2019-03-04 21:03 UTC by Eric van Gyzen
Modified: 2019-03-08 20:59 UTC (History)
1 user (show)

See Also:


Attachments
URL redirect CGI script (208 bytes, text/plain)
2019-03-04 21:05 UTC, Eric van Gyzen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.