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

Bug 455406

Summary: Equinox mars m4 promotion was incomplete
Product: [Eclipse Project] Platform Reporter: David Williams <david_williams>
Component: RelengAssignee: David Williams <david_williams>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: konstantin, tjwatson
Version: 4.5   
Target Milestone: 4.5 M4   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 455079    

Description David Williams CLA 2014-12-16 16:45:45 EST
The equinox SDK was missing ... and "starter kit" ... and "launchers".
Comment 1 David Williams CLA 2014-12-16 20:10:39 EST
An interesting problem. 

I can't find the original bug, now, but we had a problem where gif files from performance tests were being renamed ... but, all the links to them were not, so quick and easy fix was to not renamed *.gif files. Problem is, this was part of a "one line" regex expression, 

if [[ $1 =~ (.*)($oldname)(.*) && ! $1 =~ .*\.gif ]]

which by itself is fine, BUT, immediately after we use the "matching groups" during the rename: 

   mv "$1" "${BASH_REMATCH[1]}$newlabel${BASH_REMATCH[3]}"

Which, in the end, causes several files were being renamed to simply "MarsM4" (last one "winning"). 

To make it even more interesting, this would have impacted Eclipse, as well, except that, in our process Eclipse artifacts are rsync'd immediately (but, the site left invisible) so by the time I noticed the problem with the Gifs, and changed the renamedBuild.sh script, the artifacts were already correct, on downloads server, but Equinox is only put on download at the time of announce, so the "second run" artifacts were the ones uploaded. 

Interesting, eh? 

I've fixed the equinox site, by changing the rename script back to the way it was .. and re-promoting Equinox only. 

The longer term (even if it itself is temporary) is to not do the regex all in one line, but to have an initial "if gif" and not enter the original regex at all, it if is a gif file.
Comment 2 David Williams CLA 2014-12-17 09:18:40 EST
As a minor follow up, there is now a "blob" file on equinox download site named "MarsM4". It can be deleted, by someone with sufficient permissions.
Comment 3 David Williams CLA 2014-12-17 11:40:45 EST
Konstantin, 

It seems my email to the dev lists is not "being delivered" correctly, so thought until that's fixed, would at least add you to CC on this bug, so you'd know it was fixed, if you hadn't noticed already.
Comment 4 Konstantin Komissarchik CLA 2014-12-17 12:00:54 EST
Yep. Saw it was fixed last night. Thanks!