[eclipse-yocto] [oxygen][PATCH v3 6/6] setup.sh: add documentation for eclipse full and partial mirrors

Chin Huat Ang chin.huat.ang at intel.com
Fri Jan 11 01:36:00 PST 2019


[YOCTO #13050 v3]

Signed-off-by: Chin Huat Ang <chin.huat.ang at intel.com>
---
 scripts/setup.sh | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/scripts/setup.sh b/scripts/setup.sh
index 73a707a..813d277 100755
--- a/scripts/setup.sh
+++ b/scripts/setup.sh
@@ -137,6 +137,32 @@ if [ ! -f eclipse/plugins/org.eclipse.swt_3.106.3.v20180329-0507.jar ]; then
   then
         wget "http://archive.eclipse.org/eclipse/downloads/drops4/${ep_rel}${ep_ver}${ep_date}/eclipse-SDK-${ep_ver}-${ep_arch}.tar.gz"
   else
+
+        #
+        # The eclipse-full mirror on:
+        #
+        #   https://downloads.yoctoproject.org/eclipse-full/eclipse/downloads/drops4/...
+        #
+        # is mirrored from upstream:
+        #
+        #   https://download.eclipse.org/eclipse/downloads/drops4/...
+        #
+        # although the upstream appears to only host the lastest 3
+        # Eclipse releases. On the other hand, the eclipse partial
+        # mirror on:
+        #
+        #   https://downloads.yoctoproject.org/eclipse/downloads/drops4/...
+        #
+        # is manually managed where files with extension matching
+        # *linux-gtk-x86_64.tar.gz will be copied from the full mirror
+        # to the partial mirror so that the partial mirror such that
+        # the eclipse archives that's been mirrored would always be
+        # cached in the partial mirror even after it has been removed
+        # from the full mirror. For more details, see:
+        #
+        #   https://bugzilla.yoctoproject.org/show_bug.cgi?id=13101#c17
+        #
+
         wget "http://downloads.yoctoproject.org/eclipse/downloads/drops4/${ep_rel}${ep_ver}${ep_date}/eclipse-SDK-${ep_ver}-${ep_arch}.tar.gz"
   fi
 
-- 
2.7.4



More information about the eclipse-yocto mailing list