Bug 346305 - many bundles have incorrect localization effecting name and provider
Summary: many bundles have incorrect localization effecting name and provider
Status: RESOLVED FIXED
Alias: None
Product: Orbit
Classification: Tools
Component: bundles (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P1 major (vote)
Target Milestone: Indigo RC3   Edit
Assignee: David Williams CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-18 13:12 EDT by David Williams CLA
Modified: 2011-05-24 19:26 EDT (History)
2 users (show)

See Also:


Attachments
com.sun.xml.bind.source (20.89 KB, image/png)
2011-05-18 13:14 EDT, David Williams CLA
no flags Details
javax.xml.bind.source (21.99 KB, image/png)
2011-05-18 13:14 EDT, David Williams CLA
no flags Details
org.apache.commons.cli (18.08 KB, image/png)
2011-05-18 13:15 EDT, David Williams CLA
no flags Details
org.apache.commons.io (31.33 KB, image/png)
2011-05-18 13:15 EDT, David Williams CLA
no flags Details
org.apache.commons.math (35.37 KB, image/png)
2011-05-18 13:16 EDT, David Williams CLA
no flags Details
org.apache.taglibs.standard.glassfish (22.11 KB, image/png)
2011-05-18 13:16 EDT, David Williams CLA
no flags Details
org.cyberneko.html (19.33 KB, image/png)
2011-05-18 13:17 EDT, David Williams CLA
no flags Details
org.dojotoolkit (20.34 KB, image/png)
2011-05-18 13:17 EDT, David Williams CLA
no flags Details
org.openid4java (20.85 KB, image/png)
2011-05-18 13:17 EDT, David Williams CLA
no flags Details
org.w3c.dom.events.source (28.10 KB, image/png)
2011-05-18 13:18 EDT, David Williams CLA
no flags Details
bundle names in repo in I20110519062435 build (51.22 KB, text/html)
2011-05-21 00:40 EDT, David Williams CLA
no flags Details
provider names in I20110519062435 (44.58 KB, text/html)
2011-05-21 00:40 EDT, David Williams CLA
no flags Details
For the record ... HTML listing of "final" bundle names (51.58 KB, text/html)
2011-05-21 19:32 EDT, David Williams CLA
no flags Details
"final" list of provider names in bundles (44.58 KB, text/html)
2011-05-21 19:35 EDT, David Williams CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2011-05-18 13:12:50 EDT
After an observant consumer noticed one of our 
Orbit bundles had no name, bug 346210, I looked at whole repository, and saw there were 10 others that had the wrong name, usually the symbolic name, such as 'bundlename.0' or just 'pluginname' and one case of "Eclipse.org" for the bundle name. In all these cases, the provider name was also incorrect ... that is, non existent or a symbolic name. Not sure if all these are "new in Indigo" ... but, collectively looks pretty bad, so if they can be fixed for our RC3 delivery, I think they should be. 

I'll attach screen shots of each, which shows exact version/branch ... but, there's the main list: 

com.sun.xml.bind.source
javax.xml.bind.source
org.apache.commons.cli
org.apache.commons.io
org.apache.commons.math
org.apache.taglibs.standard.glassfish
org.cyberneko.html
org.dojotoolkit
org.openid4java
org.w3c.dom.events.source
Comment 1 David Williams CLA 2011-05-18 13:14:14 EDT
Created attachment 196009 [details]
com.sun.xml.bind.source
Comment 2 David Williams CLA 2011-05-18 13:14:50 EDT
Created attachment 196010 [details]
javax.xml.bind.source
Comment 3 David Williams CLA 2011-05-18 13:15:20 EDT
Created attachment 196011 [details]
org.apache.commons.cli
Comment 4 David Williams CLA 2011-05-18 13:15:47 EDT
Created attachment 196012 [details]
org.apache.commons.io
Comment 5 David Williams CLA 2011-05-18 13:16:11 EDT
Created attachment 196013 [details]
org.apache.commons.math
Comment 6 David Williams CLA 2011-05-18 13:16:38 EDT
Created attachment 196014 [details]
org.apache.taglibs.standard.glassfish
Comment 7 David Williams CLA 2011-05-18 13:17:02 EDT
Created attachment 196015 [details]
org.cyberneko.html
Comment 8 David Williams CLA 2011-05-18 13:17:27 EDT
Created attachment 196016 [details]
org.dojotoolkit
Comment 9 David Williams CLA 2011-05-18 13:17:49 EDT
Created attachment 196017 [details]
org.openid4java
Comment 10 David Williams CLA 2011-05-18 13:18:09 EDT
Created attachment 196019 [details]
org.w3c.dom.events.source
Comment 11 David Williams CLA 2011-05-18 13:27:46 EDT
To cross reference ... we have a long standing enhancement to releng to test for these types of errors; bug 326911

But, until then, I checked just by adding a specific build repository to "available software sites", expanded "all bundles", and visually inspecting the list there. I used the latest I build repo: 

http://download.eclipse.org/tools/orbit/committers/drops/I20110518142129/repository/
Comment 12 David Williams CLA 2011-05-18 13:32:42 EDT
Oh, and remember, if/when you fix the Provider Name for these .... it should be "Eclipse Orbit" ... not "Eclipse.org".
Comment 13 Hugues Malphettes CLA 2011-05-18 23:49:52 EDT
Fixed for org.apache.taglibs.standard.glassfish and the provider name too.
Comment 14 David Williams CLA 2011-05-21 00:35:43 EDT
I wrote a small test to check/test the repository directly, to get PROP_NAME and PROP_PROVIDER, check, sort, and list them out to HTML files. 

It will take a bit of work to integrate this in with the build (it'll be post Indigo) but I'll attach HTML files here and try to fix up at least some of them ... and see how tired I get :) 

Turns out there's quite a few more than "10" ... 16 bundlenames and 26 provider names are clearly wrong (Some others are questionable, like "Eclipse Mylyn" as provider? .... but .. the ones that are like "Bundle-Name.0" are pretty ugly.
Comment 15 David Williams CLA 2011-05-21 00:40:31 EDT
Created attachment 196262 [details]
bundle names in repo in I20110519062435 build
Comment 16 David Williams CLA 2011-05-21 00:40:59 EDT
Created attachment 196263 [details]
provider names in I20110519062435
Comment 17 David Williams CLA 2011-05-21 16:11:08 EDT
I've fixed 38 bundles! I didn't count, but about half of those looked "new" (that people would definitely be using for Indigo). Others, admittedly may not be picked up in most "Indigo Builds" ... but, since they are in our repo, they should be correct. And, I figured better to fix now, last minute, than to have churn in a maintenance stream. 

I'll check next build to make sure it looks ok and if so, that'll be it. 

It'll be good to get this test automated to catch problems as they are checked in.
Comment 18 David Williams CLA 2011-05-21 19:32:42 EDT
Created attachment 196282 [details]
For the record ... HTML listing of "final" bundle names
Comment 19 David Williams CLA 2011-05-21 19:35:16 EDT
Created attachment 196283 [details]
"final" list of provider names in bundles
Comment 20 Simon Kaegi CLA 2011-05-24 16:56:23 EDT
Thanks David.

The three names on my list...
org.cyberneko.html
org.dojotoolkit
org.openid4java

...look correct now.
Comment 21 David Williams CLA 2011-05-24 19:26:43 EDT
For the record, just to document it, there was one change, for this bug, that caused a "regression".  See bug 346854. In that case, it actually was a good thing, in that it surfaced a important change that had never been released to a build. But ... I (we) should not have have been surprised by it. Therefore, I want back, and checked if there were any other "inadvertent" changes such as to package imports/exports. And there were none, that I could find. 

I checked by first comparing the map files from download page for our RC2 S-build to map file of current S-build. I diff'ed those to get the set of bundles changed, and loaded up the specific "RC2 versions" in a fresh workspace by using "load from map files". I then used "compare with ...", "a branch ..." picking the branch for that bundle (by looking in its manifest.mf file bundle version). All the changes I could see were these intended for properties, or "bundle localization". I might have missed some (e.g. it took a few passes, since "load from map files" will get only version of a bundle) such as I counted only 34 bundles changed, not the 38 I originally mentioned here ... so not sure if I missed 4 now, or miscounted by 4 the first time ... but in either case, high confidence that having unreleased changes in cvs is not common, and these changes for names didn't introduce other inadvertent changes. 

Part of the problem, is that the "releng tool" does not work well with Orbit map files (where we have multiple version of same bundle, plus our unique source-folders) so I was not using the releng tool, just tagging projects and copy/paste into map file. 

But, I'm glad we are clean for Indigo ... looks much better ... much more professional.