Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
create_new_menu.sh 448 B
#!/bin/bash

cd $1

menu=`cat menu.txt`
echo "Menu has `echo "$menu" | wc -l` lines".
for i in `ls worker_*`
do
  if grep -q result $i; then
    str=`echo $i | perl -pe 's/worker_([^_]*)_([^_]*)_([^_]*)_([^_]*)_.*/run \1 \2 \3 \4 \5 0/g' | tr -s ' '`
    echo "Dropping line $str"
    menu=`echo "$menu" | grep -v "$str"`
  else
    echo "Job $i is not complete `cat $i | grep internal | wc -l` iterations done"
  fi
done
echo "$menu" > menu_c.txt