mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2025-07-19 20:59:02 +02:00
492 B
Executable File
492 B
Executable File
#!/bin/bash
PARENTDIR=realpath $1
TARGETDIR=realpath $2
RESULTSDIR=realpath $3
git clone ssh://git@push.yoctoproject.org/yocto-metrics $1/yocto-metrics $1/scripts/contrib/patchreview.py $2 -j $1/yocto-metrics/patch-status.json git -C $1/yocto-metrics commit -asm "Autobuilder adding new patch stats" git -C $1/yocto-metrics push
if [ ! -d $RESULTSDIR ]; then mkdir $RESULTSDIR fi
cp $1/yocto-metrics/patch-status.json $RESULTSDIR cp $1/yocto-metrics/patch-status/* $RESULTSDIR