Compare commits
4 commits
15075495fe
...
469922a4f8
Author | SHA1 | Date | |
---|---|---|---|
netravnen | 469922a4f8 | ||
netravnen | ee98dbc519 | ||
netravnen | a3c9ac3cd6 | ||
netravnen | bea2dc61ff |
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
function checkoutMaster ()
|
||||
{
|
||||
echo shell_exec ("/usr/bin/git -C ../registry/ o master --quiet 2>&1");
|
||||
echo shell_exec ("/usr/bin/git -C ../registry/ checkout master --quiet 2>&1");
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
10
rfc8416.php
10
rfc8416.php
|
@ -7,11 +7,11 @@ require ("lib/functions.php");
|
|||
|
||||
// Define array() we are going to populate with data.
|
||||
$roas["slurmVersion"] = 1;
|
||||
$roas["_comments"]["modified"]["commit"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --merges --pretty='format:%H'");
|
||||
$roas["_comments"]["modified"]["merge"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --merges --pretty='format:%p'");
|
||||
$roas["_comments"]["modified"]["author"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --merges --pretty='format:%an <%ae>'");
|
||||
$roas["_comments"]["modified"]["date"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --merges --pretty='format:%aD'");
|
||||
$roas["_comments"]["modified"]["subject"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --merges --pretty='format:%s'");
|
||||
$roas["_comments"]["modified"]["commit"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --date=iso8601 --merges --pretty='format:%H'");
|
||||
$roas["_comments"]["modified"]["merge"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --date=iso8601 --merges --pretty='format:%p'");
|
||||
$roas["_comments"]["modified"]["author"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --date=iso8601 --merges --pretty='format:%an <%ae>'");
|
||||
$roas["_comments"]["modified"]["date"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --date=iso8601 --merges --pretty='format:%aD'");
|
||||
$roas["_comments"]["modified"]["subject"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --date=iso8601 --merges --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();
|
||||
|
|
10
roagen.php
10
roagen.php
|
@ -6,11 +6,11 @@ require ("lib/define.php");
|
|||
require ("lib/functions.php");
|
||||
|
||||
// Define array() we are going to populate with data.
|
||||
$roas["_comments"]["modified"]["commit"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --merges --pretty='format:%H'");
|
||||
$roas["_comments"]["modified"]["merge"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --merges --pretty='format:%p'");
|
||||
$roas["_comments"]["modified"]["author"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --merges --pretty='format:%an <%ae>'");
|
||||
$roas["_comments"]["modified"]["date"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --merges --pretty='format:%aD'");
|
||||
$roas["_comments"]["modified"]["subject"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --merges --pretty='format:%s'");
|
||||
$roas["_comments"]["modified"]["commit"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --date=iso8601 --merges --pretty='format:%H'");
|
||||
$roas["_comments"]["modified"]["merge"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --date=iso8601 --merges --pretty='format:%p'");
|
||||
$roas["_comments"]["modified"]["author"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --date=iso8601 --merges --pretty='format:%an <%ae>'");
|
||||
$roas["_comments"]["modified"]["date"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --date=iso8601 --merges --pretty='format:%aD'");
|
||||
$roas["_comments"]["modified"]["subject"] = shell_exec ("/usr/bin/git -C ../registry/ log -n 1 --date=iso8601 --merges --pretty='format:%s'");
|
||||
$roas["_comments"]["modified"]["url"] = "https://git.dn42.us/dn42/registry/commit/";
|
||||
$roas["_comments"]["modified"]["url"] .= $roas["_comments"]["modified"]["commit"];
|
||||
|
||||
|
|
|
@ -56,7 +56,10 @@ Note the gortr file is DateTime stamped only, it is not signed with any certific
|
|||
## [Last merge commit][0] at [dn42 registry][1]
|
||||
|
||||
\`\`\`
|
||||
$(git -C ../registry/ log -n 1 --merges | sed -E -e 's/^Author: ([a-zA-Z0-9]+) <.*>/Author: \1/' -e 's/^commit ([a-f0-9]+).*/commit \1/')
|
||||
$(git -C ../registry/ log -n 1 --date=iso8601 --merges |
|
||||
sed -E -e 's/^Author: ([a-zA-Z0-9]+) <.*>/Author: \1/' \
|
||||
-e 's/^commit ([a-f0-9]+) .*/commit \1/' \
|
||||
-e 's/[ ]+$//g' )
|
||||
\`\`\`
|
||||
|
||||
## crontab
|
||||
|
|
Loading…
Reference in a new issue