Loading bin/reproducible_pool_buildinfos.sh +14 −6 Original line number Diff line number Diff line Loading @@ -134,13 +134,18 @@ do_day(){ } # this takes a long time and is not run by the jenkins job but manually loop_through_all(){ for YEAR in $(seq 2016 $(date -u +%Y)) ; do loop_through_year(){ for MONTH in $(seq -w 01 12) ; do for DAY in $(seq -w 01 31) ; do do_day done done } # this takes a long time and is not run by the jenkins job but manually loop_through_all(){ for YEAR in $(seq 2016 $(date -u +%Y)) ; do loop_through_year done } Loading Loading @@ -199,9 +204,12 @@ exit_clean() { # main # if [ -n "$1" ] && [ -z "$2" ] ; then if [ "$1" = "all" ] && [ -z "$2" ] ; then # only run manually: do all days loop_through_all elif [ -n "$1" ] && [ -z "$2" ] ; then YEAR=$1 loop_through_year elif [ -n "$1" ] && [ -n "$2" ] && [ -n "$3" ] ; then # only run manually: do a specific day only YEAR=$1 Loading Loading
bin/reproducible_pool_buildinfos.sh +14 −6 Original line number Diff line number Diff line Loading @@ -134,13 +134,18 @@ do_day(){ } # this takes a long time and is not run by the jenkins job but manually loop_through_all(){ for YEAR in $(seq 2016 $(date -u +%Y)) ; do loop_through_year(){ for MONTH in $(seq -w 01 12) ; do for DAY in $(seq -w 01 31) ; do do_day done done } # this takes a long time and is not run by the jenkins job but manually loop_through_all(){ for YEAR in $(seq 2016 $(date -u +%Y)) ; do loop_through_year done } Loading Loading @@ -199,9 +204,12 @@ exit_clean() { # main # if [ -n "$1" ] && [ -z "$2" ] ; then if [ "$1" = "all" ] && [ -z "$2" ] ; then # only run manually: do all days loop_through_all elif [ -n "$1" ] && [ -z "$2" ] ; then YEAR=$1 loop_through_year elif [ -n "$1" ] && [ -n "$2" ] && [ -n "$3" ] ; then # only run manually: do a specific day only YEAR=$1 Loading