Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 489758

Summary: Request new directory structure for SimRel "staging" and "maintenance"
Product: Community Reporter: David Williams <david_williams>
Component: ServersAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: denis.roy
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
See Also: https://git.eclipse.org/r/70148
https://git.eclipse.org/c/www.eclipse.org/eclipse.org-common.git/commit/?id=c6769c839979f0777359f0316e558f910de3396d
Whiteboard:
Bug Depends on:    
Bug Blocks: 483475    

Description David Williams CLA 2016-03-16 11:17:19 EDT
As mentioned in bug 483475, we would like a new directory structure and naming to manage the "staging" of the (temporary) repositories for the Sim. Release. 

In short, we (Planning Council) would like to start including "release names" in the staging URL, and to avoid having the "maintenance" one. 

Currently, the structure is like

.../download.eclipse.org/releases
... 
luna
maintenance
mars
neon
staging

What I propose (suggestions welcome) is that we have the 'releases' and the 'staging' as peers, like this: 

.../download.eclipse.org/releases
... 
luna
mars
neon
oxygen

.../download.eclipse.org/staging
... 
neon
oxygen


The children of 'staging' would be removed when no longer needed, so I think at most there would be only two or three at a time. And, whenever we need a new one, say for "oxygen", we would add to 'releases' and to 'staging' at the same time. 

Note: we thought best to be "out of" the releases tree just to make sure we did not mess up mirroring of the releases. Plus, easier for committers and earlier testers to have parallel structures. Plus, I think there has been some confusion where people assume .../releases/<anything> is a "release" just because 'release' is in the URL name. 

"staging" would not have to be mirrored (because it changes often). 


As for 'timing', of this change, I am not sure "right now" is a good time, since M6 is next week, but perhaps the week after that? (between the 3/28 and 3/31?)
Comment 1 David Williams CLA 2016-04-06 12:34:26 EDT
Webmasters, 

Now would be a good time to get started on this transition. 

If you could please create 

.../download.eclipse.org/staging/neon 

Then I (and Markus) could get started changing our scripts. 

Since it might take a day or week for him and I to coordinate the switch, I would like leave .../releases/staging until we have made the transition. 

While it will be many months before we need it, if you would like to go ahead and create 

.../download.eclipse.org/staging/oxygen 

that will get us "ready" for next July. 

Please set the same permissions and sticky bits on these new 'staging' directories as before. 

This is what they currently say: 

drwxrwsr-x  6 david_williams callistoadmin 4K Mar 28 21:08 staging/

I have removed the contents of 
.../download.eclipse.org/releases/maintenance
but got "permission denied" when I tried to remove the directory itself. 
You can remove than whenever you would like.
Comment 2 David Williams CLA 2016-04-06 12:42:03 EDT
If I may "combine" requests, see bug 483786 for another "directory" (URL) that we, the Planning Council would like, namely, 

.../download/latest

This directory will never have a large amount of content. It probably should not be mirrored? (But am unsure of if it would hurt anything). It will simply contain some "composite" files, to "point to" the latest release of the Sim. Release repository. 

BTW, the "..downloads.eclipse.org/releases/staging" should not be mirrored either, since it's contents will be large and will sometimes have frequent changes.
Comment 3 Eclipse Webmaster CLA 2016-04-07 11:46:38 EDT
Ok I've created 

download.eclipse.org/latest
download.eclipse.org/staging
download.eclipse.org/staging/neon
download.eclipse.org/staging/oxygen

and given them to the Callisto admin group.  They've also been added to our mirror exclude list.

And as requested I removed download.eclipse.org/releases/maintenance.

-M.
Comment 4 Eclipse Genie CLA 2016-04-07 14:04:57 EDT
New Gerrit change created: https://git.eclipse.org/r/70148
Comment 6 David Williams CLA 2016-05-12 11:50:42 EDT
(In reply to David Williams from comment #1)
> .... 
> I have removed the contents of 
> .../download.eclipse.org/releases/maintenance
> but got "permission denied" when I tried to remove the directory itself. 
> You can remove than whenever you would like.

Webmasters, I have !finally! made the changes needed on my end and we are now using the new 
.../staging/neon
repository. 

I have removed the contents of ../relases/staging/
but get "permission denied" on removing that 'staging' directory itself. 

I suggest it be removed to help avoid confusion. 

Thanks!
Comment 7 Denis Roy CLA 2016-05-12 14:43:45 EDT
dev2:download.eclipse.org/releases # rmdir staging/
dev2:download.eclipse.org/releases #
Comment 8 David Williams CLA 2016-05-20 17:16:27 EDT
Fixed a while back. Much appreciated.