1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00

download.php was used to distribute downloads across multiple server. we use dns round robin now

This commit is contained in:
Federico Fissore 2015-04-09 12:12:10 +02:00
parent 9833de618d
commit a7024791cd
3 changed files with 12 additions and 12 deletions

View File

@ -52,7 +52,7 @@ public class LibraryInstaller {
if (externalLibraryIndexUrl != null && !"".equals(externalLibraryIndexUrl)) { if (externalLibraryIndexUrl != null && !"".equals(externalLibraryIndexUrl)) {
LIBRARY_INDEX_URL = externalLibraryIndexUrl; LIBRARY_INDEX_URL = externalLibraryIndexUrl;
} else { } else {
LIBRARY_INDEX_URL = "http://arduino.cc/download.php?f=/libraries/library_index.json"; LIBRARY_INDEX_URL = "http://downloads.arduino.cc/libraries/library_index.json";
} }
} }

View File

@ -61,7 +61,7 @@ public class ContributionInstaller {
if (extenalPackageIndexUrl != null && !"".equals(extenalPackageIndexUrl)) { if (extenalPackageIndexUrl != null && !"".equals(extenalPackageIndexUrl)) {
PACKAGE_INDEX_URL = extenalPackageIndexUrl; PACKAGE_INDEX_URL = extenalPackageIndexUrl;
} else { } else {
PACKAGE_INDEX_URL = "http://arduino.cc/download.php?f=/packages/package_index.json"; PACKAGE_INDEX_URL = "http://downloads.arduino.cc/packages/package_index.json";
} }
} }

View File

@ -123,19 +123,19 @@
<!-- Unzip documentation --> <!-- Unzip documentation -->
<antcall target="unzip"> <antcall target="unzip">
<param name="archive_file" value="shared/reference-1.6.0.zip" /> <param name="archive_file" value="shared/reference-1.6.0.zip" />
<param name="archive_url" value="http://arduino.cc/download.php?f=/reference-1.6.0.zip" /> <param name="archive_url" value="http://downloads.arduino.cc/reference-1.6.0.zip" />
<param name="final_folder" value="${target.path}/reference" /> <param name="final_folder" value="${target.path}/reference" />
<param name="dest_folder" value="${target.path}" /> <param name="dest_folder" value="${target.path}" />
</antcall> </antcall>
<antcall target="unzip"> <antcall target="unzip">
<param name="archive_file" value="shared/Galileo_help_files-1.6.2.zip" /> <param name="archive_file" value="shared/Galileo_help_files-1.6.2.zip" />
<param name="archive_url" value="http://arduino.cc/download.php?f=/Galileo_help_files-1.6.2.zip" /> <param name="archive_url" value="http://downloads.arduino.cc/Galileo_help_files-1.6.2.zip" />
<param name="final_folder" value="${target.path}/reference/Galileo_help_files" /> <param name="final_folder" value="${target.path}/reference/Galileo_help_files" />
<param name="dest_folder" value="${target.path}/reference/" /> <param name="dest_folder" value="${target.path}/reference/" />
</antcall> </antcall>
<antcall target="unzip"> <antcall target="unzip">
<param name="archive_file" value="shared/Edison_help_files-1.6.2.zip" /> <param name="archive_file" value="shared/Edison_help_files-1.6.2.zip" />
<param name="archive_url" value="http://arduino.cc/download.php?f=/Edison_help_files-1.6.2.zip" /> <param name="archive_url" value="http://downloads.arduino.cc/Edison_help_files-1.6.2.zip" />
<param name="final_folder" value="${target.path}/reference/Edison_help_files" /> <param name="final_folder" value="${target.path}/reference/Edison_help_files" />
<param name="dest_folder" value="${target.path}/reference/" /> <param name="dest_folder" value="${target.path}/reference/" />
</antcall> </antcall>
@ -265,7 +265,7 @@
<antcall target="unzip"> <antcall target="unzip">
<param name="archive_file" value="${staging_folder}/appbundler-1.0ea-upstream1.jar.zip" /> <param name="archive_file" value="${staging_folder}/appbundler-1.0ea-upstream1.jar.zip" />
<param name="archive_url" value="http://arduino.cc/download.php?f=/appbundler-1.0ea-upstream1.jar.zip" /> <param name="archive_url" value="http://downloads.arduino.cc/appbundler-1.0ea-upstream1.jar.zip" />
<param name="final_folder" value="${staging_folder}/appbundler-1.0ea-upstream1" /> <param name="final_folder" value="${staging_folder}/appbundler-1.0ea-upstream1" />
<param name="dest_folder" value="${staging_folder}/appbundler-1.0ea-upstream1" /> <param name="dest_folder" value="${staging_folder}/appbundler-1.0ea-upstream1" />
</antcall> </antcall>
@ -351,7 +351,7 @@
<antcall target="unzip"> <antcall target="unzip">
<param name="archive_file" value="./libastylej-2.05.zip" /> <param name="archive_file" value="./libastylej-2.05.zip" />
<param name="archive_url" value="http://arduino.cc/download.php?f=/libastylej-2.05.zip" /> <param name="archive_url" value="http://downloads.arduino.cc/libastylej-2.05.zip" />
<param name="final_folder" value="${staging_folder}/libastylej" /> <param name="final_folder" value="${staging_folder}/libastylej" />
<param name="dest_folder" value="${staging_folder}" /> <param name="dest_folder" value="${staging_folder}" />
</antcall> </antcall>
@ -600,7 +600,7 @@
<antcall target="unzip"> <antcall target="unzip">
<param name="archive_file" value="./libastylej-2.05.zip" /> <param name="archive_file" value="./libastylej-2.05.zip" />
<param name="archive_url" value="http://arduino.cc/download.php?f=/libastylej-2.05.zip" /> <param name="archive_url" value="http://downloads.arduino.cc/libastylej-2.05.zip" />
<param name="final_folder" value="${staging_folder}/libastylej" /> <param name="final_folder" value="${staging_folder}/libastylej" />
<param name="dest_folder" value="${staging_folder}" /> <param name="dest_folder" value="${staging_folder}" />
</antcall> </antcall>
@ -818,7 +818,7 @@
<antcall target="unzip"> <antcall target="unzip">
<param name="archive_file" value="./libastylej-2.05.zip" /> <param name="archive_file" value="./libastylej-2.05.zip" />
<param name="archive_url" value="http://arduino.cc/download.php?f=/libastylej-2.05.zip" /> <param name="archive_url" value="http://downloads.arduino.cc/libastylej-2.05.zip" />
<param name="final_folder" value="${staging_folder}/libastylej" /> <param name="final_folder" value="${staging_folder}/libastylej" />
<param name="dest_folder" value="${staging_folder}" /> <param name="dest_folder" value="${staging_folder}" />
</antcall> </antcall>
@ -882,7 +882,7 @@
<antcall target="unzip"> <antcall target="unzip">
<param name="archive_file" value="windows/jre-8u31.zip" /> <param name="archive_file" value="windows/jre-8u31.zip" />
<param name="archive_url" value="http://arduino.cc/download.php?f=/jre-8u31.zip" /> <param name="archive_url" value="http://downloads.arduino.cc/jre-8u31.zip" />
<param name="final_folder" value="${staging_folder}/work/java" /> <param name="final_folder" value="${staging_folder}/work/java" />
<param name="dest_folder" value="${staging_folder}/work/" /> <param name="dest_folder" value="${staging_folder}/work/" />
</antcall> </antcall>
@ -948,7 +948,7 @@
<antcall target="${unpack_target}"> <antcall target="${unpack_target}">
<param name="archive_file" value="${staging_folder}/${gcc_archive_file}"/> <param name="archive_file" value="${staging_folder}/${gcc_archive_file}"/>
<param name="archive_url" value="http://arduino.cc/download.php?f=/tools/${gcc_archive_file}"/> <param name="archive_url" value="http://downloads.arduino.cc/tools/${gcc_archive_file}"/>
<param name="final_folder" value="${staging_folder}/work/${staging_hardware_folder}/tmp/gcc/${gcc_version}/"/> <param name="final_folder" value="${staging_folder}/work/${staging_hardware_folder}/tmp/gcc/${gcc_version}/"/>
<param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/tmp/gcc/"/> <param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/tmp/gcc/"/>
</antcall> </antcall>
@ -957,7 +957,7 @@
<antcall target="${unpack_target}"> <antcall target="${unpack_target}">
<param name="archive_file" value="${staging_folder}/${avrdude_archive_file}"/> <param name="archive_file" value="${staging_folder}/${avrdude_archive_file}"/>
<param name="archive_url" value="http://arduino.cc/download.php?f=/tools/${avrdude_archive_file}"/> <param name="archive_url" value="http://downloads.arduino.cc/tools/${avrdude_archive_file}"/>
<param name="final_folder" value="${staging_folder}/work/${staging_hardware_folder}/tmp/avrdude/${avrdude_version}"/> <param name="final_folder" value="${staging_folder}/work/${staging_hardware_folder}/tmp/avrdude/${avrdude_version}"/>
<param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/tmp/avrdude/"/> <param name="dest_folder" value="${staging_folder}/work/${staging_hardware_folder}/tmp/avrdude/"/>
</antcall> </antcall>