46688a248b4634380d5e34ee64b975665a13f53f hiram Tue Apr 12 18:36:24 2022 -0700 do not need the delete option on the rsync refs #29259 diff --git src/hg/makeDb/doc/chm13v2.0/makefile src/hg/makeDb/doc/chm13v2.0/makefile index 7df6058..1ac7ed8 100644 --- src/hg/makeDb/doc/chm13v2.0/makefile +++ src/hg/makeDb/doc/chm13v2.0/makefile @@ -69,31 +69,31 @@ # verify the hub is functioning OK from hgdownload.soe.ucsc.edu verify: @printf "# verify hub is functioning from hgdownload.soe.ucsc.edu\n" hubCheck "https://hgdownload.soe.ucsc.edu/hubs/GCA/009/914/755/GCA_009914755.4/hub.txt" @printf "hubCheck OK\n" @printf "track count: %d tracks via API list tracks\n" "`curl -L "https://apibeta.soe.ucsc.edu/list/tracks?genome=GCA_009914755.4;trackLeavesOnly=1;hubUrl=https://hgdownload-test.gi.ucsc.edu/hubs/GCA/009/914/755/GCA_009914755.4/hub.txt" 2> /dev/null | python -mjson.tool | egrep ": {$$" | tr -d '"' | sed -e 's/^ \+//; s/ {//;' | xargs echo | wc -w`" @printf "should be more than 70 tracks\n" # user must have login permissions as qateam to hgdownload verifyLogin: @ssh qateam@hgdownload.soe.ucsc.edu date # push the hub to hgdownload public: verifyLogin @printf "pushing to hgdownload\n" 1>&2 - rsync --delete --exclude="hub.txt" --exclude="download.hub.txt" --stats -a -L -P "${pushFromDir}/" "qateam@hgdownload.soe.ucsc.edu:${pushToDir}/" 2>&1 | grep -v "X11 forwarding request" || true + rsync --exclude="hub.txt" --exclude="download.hub.txt" --stats -a -L -P "${pushFromDir}/" "qateam@hgdownload.soe.ucsc.edu:${pushToDir}/" 2>&1 | grep -v "X11 forwarding request" || true rsync --stats -a -L -P "${pushFromDir}/download.hub.txt" "qateam@hgdownload.soe.ucsc.edu:${pushToDir}/hub.txt" 2>&1 | grep -v "X11 forwarding request" || true @printf "# successful rsync\n" 1>&2 clean:: rm -f hub.txt singleFileHub: ${hubTxt} @rm -f hub.txt @grep -v genomesFile hub/${asmId}.hub.txt > hub.txt @printf "useOneFile on\n\n" >> hub.txt @grep -v trackDb hub/${asmId}.genomes.txt >> hub.txt @echo >> hub.txt @cat trackDb/${asmId}.trackDb.txt >> hub.txt @cp --remove-destination -p hub.txt ${stageDir}/${asmId}.singleFile.hub.txt