From 8bc9e33ea4c13d0e9b44e80abd079ab7bd5fb84c Mon Sep 17 00:00:00 2001 From: Chriztoffer Date: Fri, 7 Feb 2020 19:46:21 +0000 Subject: [PATCH] Update metadata headers --- rfc8416.php | 1 + 1 file changed, 1 insertion(+) diff --git a/rfc8416.php b/rfc8416.php index 0b52d59..51bd9d2 100755 --- a/rfc8416.php +++ b/rfc8416.php @@ -220,6 +220,7 @@ foreach ($raw_array as $sub_array) } } +$roas["metadata"]["human"]["commit"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --date=iso8601 --merges --pretty='format:%H'"); $roas["metadata"]["human"]["merge"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --date=iso8601 --merges --pretty='format:%p'"); $roas["metadata"]["human"]["author"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --date=iso8601 --merges --pretty='format:%an'"); $roas["metadata"]["human"]["date"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --date=iso8601 --merges --pretty='format:%aD'");