mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-14 06:18:12 +00:00
removed fields from exclude list of compareServers;
discardIndexResultsStartingWithHowManyRaces overallLeaderboardName hasOverallLeaderboard
This commit is contained in:
1 parent
0c1d711a11
commit
fe05c3d3ff
1 file changed
+1
-1
@@ -87,7 +87,7 @@ else
|
||||
fi
|
||||
|
||||
download_and_fix_boatclasses () {
|
||||
wget --no-cache $WGET_QUIET -O - "$1/sailingserver/api/v1/leaderboardgroups/`echo $OLD_LB | sed -e 's/ /%20/g'`" | jq 'del(.leaderboards[].series[].fleets[].races[].raceViewerUrls)' | jq 'del(.displayName)' | grep -v "\"id\": \"[^\"]*\"" | grep -v "\"timepoint\": \"[^\"]*\"" | grep -v "\"discardIndexResultsStartingWithHowManyRaces\":" | grep -v "^ *[0-9][0-9]*,\?$" | grep -v "^ *\],\?$" | grep -v "\"overallLeaderboardName\":" | grep -v "\"hasOverallLeaderboard\":" | grep -v "\"timepoint-ms\":" >"$2" 2>$WGET_ERR
|
||||
wget --no-cache $WGET_QUIET -O - "$1/sailingserver/api/v1/leaderboardgroups/`echo $OLD_LB | sed -e 's/ /%20/g'`" | jq 'del(.leaderboards[].series[].fleets[].races[].raceViewerUrls)' | jq 'del(.displayName)' | grep -v "\"id\": \"[^\"]*\"" | grep -v "\"timepoint\": \"[^\"]*\"" | grep -v "\"timepoint-ms\":" >"$2" 2>$WGET_ERR
|
||||
#wget --no-cache $WGET_QUIET -O - "$1/sailingserver/api/v1/leaderboardgroups/`echo $OLD_LB | sed -e 's/ /%20/g'`" | python -m json.tool | grep -v "\"id\": \"[^\"]*\"" | grep -v "\"timepoint\": \"[^\"]*\"" >"$2" 2>$WGET_ERR
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user