From bf24c721a3f49cc0b8ac87bca3b5c66b329e67bb Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Wed, 23 Oct 2024 12:34:40 +0200 Subject: initial commit --- index.php | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 index.php diff --git a/index.php b/index.php new file mode 100644 index 0000000..e186d67 --- /dev/null +++ b/index.php @@ -0,0 +1,47 @@ +{$proxy},%n {$proxy}date{$proxy}: {$proxy}%ad{$proxy},%n {$proxy}message{$proxy}: {$proxy}%s{$proxy}%n},'", + [ + ["pipe", "r"], + ["pipe", "w"], + ["pipe", "w"], + ], + $pipes + ); + + $output = stream_get_contents($pipes[1]); + $string = str_replace(['"', $proxy], ['\\"', '"'], $output); + $string = "[" . rtrim($string, ",") . "]"; + + $json = json_decode($string, true); + + return $json; +} + +foreach ($projects as $project) { + chdir($project); + + echo $project . "
"; + foreach (parse_log() as $commit) { + echo "$commit[message]
"; + } +} -- cgit v1.2.3