Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 8b7336b50601771888c49e436ef009810daaf692 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
The files in this "downloadsites" directory are
not used during the build, but are related. This files make up
the "main" download pages, that list each of the builds.

On the download server, they reside under
/home/data/httpd/download.eclipse.org/eclipse

The are stored here in this repository just to have a safe record
of them, make them easier to compare/change etc., but there is
nothing "automatic" about making them current or in synch with what
is on the download server, so its recommended, before making changes,
to get a copy, manually compare with that's here, to see if things
have changed but not be put into the repository.

Something similar to following is a good way to get all the interesting files for /eclipse/downloadsites,
while avoiding the large download drops. index.html and eclipse3x.html are the
files created when new drops are uploaded, via "updateIndexes.sh" in sdk directory,
so are excluded, since would often be "out of date" and
should not be replaced on downloads (via rsync) but instead recreated.

rsync -aP --delete-excluded \
  --exclude '/TIME' --exclude '**/ztime/' --exclude '**/pde/' --exclude '**/equinox/' --exclude '**/eclipse.org-common/' \
  --exclude '**/e4/' --exclude '**/updates/' \
  --include '/index.html' --include '**/drops/index.html'  --include '**/drops4/index.html'  \
  --exclude '**/drops/**' --exclude '**/drops4/**' --exclude 'downloads/index.html' --exclude '**/downloads/eclipse3x.html' \
  build:/home/data/httpd/download.eclipse.org/eclipse/ .

The downloadExistingEclipse.sh script contains an up-to-date version of this command.

To upload whole directory, do not include --delete-excluded (Could likely not do with out any
of the excludes/includes, if working with "clean" directory).

!Bad idea: rsync -aP \
  . build:/home/data/httpd/download.eclipse.org/eclipse/

== Similar for equinox

rsync -aP --delete-excluded \
  --exclude '**/devicekit/' --exclude '**/drops/' --exclude '**/R-3.7.2-201202080800/' \
  --exclude '**/S-3.7RC4-201106030909/' --exclude '**/.*.swp/' \
  build:/home/data/httpd/download.eclipse.org/equinox/ .

== Similar for "updates"

NOTE: the files are stored here in XML format, so they are more easily 
readable, but they should be compressed (jarr'ed up) for deployment.

The files are the "categories" displayed for the composites sites, such as for
Kepler sites, such as :
http://download.eclipse.org/eclipse/updates/4.3/
http://download.eclipse.org/eclipse/updates/4.3-M-builds/
and
Luna sites, such as :
http://download.eclipse.org/eclipse/updates/4.4/
http://download.eclipse.org/eclipse/updates/4.4-I-builds/
http://download.eclipse.org/eclipse/updates/4.4-N-builds/

As for download sites, there's nothing here that's built or automatically updated,
but the files are in in this repo for reference and/or easier review, modification, and to maintain history.

Back to the top