From 64654ea2ffc3a9ce53140a1d33e34f64d98953e0 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Mon, 26 Oct 2015 14:17:17 +0100 Subject: [PATCH] Add a script that shows the merges in last testsuites --- .../developer_scripts/cgal-show-testsuites | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 Scripts/developer_scripts/cgal-show-testsuites diff --git a/Scripts/developer_scripts/cgal-show-testsuites b/Scripts/developer_scripts/cgal-show-testsuites new file mode 100755 index 00000000000..4c813e6c1d3 --- /dev/null +++ b/Scripts/developer_scripts/cgal-show-testsuites @@ -0,0 +1,20 @@ +#! /bin/sh + +# Set CGAL_GIT_DIR in your environment, if the following default value is +# not correct. +: ${CGAL_GIT_DIR:=$HOME/Git/cgal/.git} + +{ +git "--git-dir=$CGAL_GIT_DIR" fetch cgal-dev + +for d in $(seq 0 6); do + echo + echo -n "## $(date +'%A' -d "now+$d day") night" + git "--git-dir=$CGAL_GIT_DIR" log --format='%Cblue%d%Creset %h' --color=always -n1 cgal-dev/testsuite-$(date +'%A' -d "now+$d day") + git "--git-dir=$CGAL_GIT_DIR" log --format='%Cred%h%Creset %C(bold blue)<%an>%Creset %Cgreen(%cr)%Creset (parents: %C(yellow)%p%Creset)%n %s' --first-parent --decorate cgal/master..cgal-dev/testsuite-$(date +'%A' -d "now+$d day") +done + +echo +echo '## cgal-dev/integration' +git "--git-dir=$CGAL_GIT_DIR" log --format='%Cred%h%Creset %C(bold blue)<%an>%Creset %Cgreen(%cr)%Creset (parents: %C(yellow)%p%Creset)%n %s' --first-parent --decorate cgal/master..cgal-dev/integration +} |& less -S --raw +G -X