Strategies for finding binary dependencies
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dl-wheels: restructure

+7 -3
+7 -3
bin/dl-wheels
··· 6 6 exit 1 7 7 fi 8 8 9 + faillog_path="${XDG_STATE_HOME}/bindep_faillog.txt" 9 10 wheel_dir=$(realpath "$1") 10 11 csv_path=$(realpath "$2") 11 - log_dir=$(realpath $(dirname "$2")) 12 - faillog_path="${log_dir}/faillog.txt" 13 12 idx=1 14 13 14 + printf "Downloading wheels from package list: %s\n" "${csv_path}" 15 + printf "Downloading wheels to: %s\n" "${wheel_dir}" 16 + printf "Download failure log: %s\n" "${faillog_path}" 17 + printf "\n" 18 + 15 19 cd "$wheel_dir" 16 20 17 21 while read name; do 18 22 printf "\n" 19 - printf "——→ [%06d] %s\n" "${idx}" "${name}" 23 + printf "——→ [%05d] %s\n" "${idx}" "${name}" 20 24 name_sanitized="${name//-/_}" 21 25 if ls "${wheel_dir}/${name_sanitized}"* >/dev/null 2>&1; then 22 26 printf "→ Wheel already found, skipping %s\n" "${name}"