Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362678 - index.html not updating at end of Orion build
Summary: index.html not updating at end of Orion build
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Releng (show other bugs)
Version: 0.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.4 M1   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-02 10:29 EDT by John Arthorne CLA
Modified: 2011-11-02 15:14 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2011-11-02 10:29:59 EDT
The main orion build page doesn't seem to be updating when a build completes. This "permission denied" error in the build log might be related:

--------------------------
Resolving download.eclipse.org... 172.30.206.10
Connecting to download.eclipse.org|172.30.206.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `index.html'

     0K .....                                                   309M=0s

2011-11-02 09:40:11 (309 MB/s) - `index.html' saved [5501]

scp: /home/data/httpd/download.eclipse.org/orion/index.html: Permission denied
Comment 1 John Arthorne CLA 2011-11-02 15:14:46 EDT
The problem was that I owned the file but the build is running as Andrew. This was unnecessary complexity in the build anyway. Rather than use an index.php like the Eclipse Platform uses, it was using a static index.html that was updated as part of the build. This improves page generation time on the download page, but adds the complexity of page generation for the main download page into the build. For example if I manually delete or cleanup builds I need to repeat this process to refresh the download page. I have just switched to a dynamic orion download page like the platform uses.

http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=9114854c960052b51a1d8a932976b25e3dd600be