diff --git a/rfc8416.php b/rfc8416.php index fcd00a3..5c4788b 100755 --- a/rfc8416.php +++ b/rfc8416.php @@ -11,6 +11,8 @@ $roas["_comments"]["modified"]["merge"] = shell_exec ("/usr/bin/git -C ../regist $roas["_comments"]["modified"]["author"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --pretty='format:%an <%ae>'"); $roas["_comments"]["modified"]["date"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --pretty='format:%aD'"); $roas["_comments"]["modified"]["subject"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --pretty='format:%s'"); +$roas["_comments"]["modified"]["url"] = "https://git.dn42.us/dn42/registry/commit/"; +$roas["_comments"]["modified"]["url"] .= $roas["_comments"]["modified"]["commit"]; $roas["validationOutputFilters"]["prefixFilters"] = array(); $roas["validationOutputFilters"]["bgpsecFilters"] = array(); $roas["locallyAddedAssertions"]["bgpsecAssertions"] = array(); diff --git a/roagen.php b/roagen.php index acacaaa..b1b5f30 100755 --- a/roagen.php +++ b/roagen.php @@ -9,6 +9,8 @@ $roas["_comments"]["modified"]["merge"] = shell_exec ("/usr/bin/git -C ../regist $roas["_comments"]["modified"]["author"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --pretty='format:%an <%ae>'"); $roas["_comments"]["modified"]["date"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --pretty='format:%aD'"); $roas["_comments"]["modified"]["subject"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --pretty='format:%s'"); +$roas["_comments"]["modified"]["url"] = "https://git.dn42.us/dn42/registry/commit/"; +$roas["_comments"]["modified"]["url"] .= $roas["_comments"]["modified"]["commit"]; /* *