Bug 393722 - remove dependency on org.eclipse.core.runtime.compatibility.auth
Summary: remove dependency on org.eclipse.core.runtime.compatibility.auth
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P2 major (vote)
Target Milestone: 3.12   Edit
Assignee: Sam Davis CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
: 385421 (view as bug list)
Depends on: 278474
Blocks:
  Show dependency tree
 
Reported: 2012-11-06 17:19 EST by David Williams CLA
Modified: 2014-05-12 17:23 EDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2012-11-06 17:19:49 EST
By pure chance (well, not really ... more from some surprising questions I received) I've noticed that Mylyn is, apparently, pulling into Juno this bundle from the platform: 

org.eclipse.core.runtime.compatibility.auth

Such as by looking at 
https://hudson.eclipse.org/hudson/view/Repository%20Aggregation/job/simrel.juno.runAggregator/673/consoleFull

and working backwards up the log file, I see

Mirroring artifacts from file:///home/data/httpd/download.eclipse.org/mylyn/snapshots/3.8

Granted, we (platform) do distribute it in "3.8.x", but we do not in "4.2.x". 
See 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=336129

So ... just thought I'd point this out to you. I am guessing you do not really need it? Or ... do you? 

Not sure what to recommend for Juno SR2 ... on the one hand, it should not be there ... but ... risky to remove things in a maintenance release. So ... I am opening this bug for your awareness and our discussion. And, for sure woudl recommend it not be in Kepler,  which it currently is, I assume still pulled in by Mylyn?
Comment 1 Steffen Pingel CLA 2012-11-09 08:03:07 EST
Mylyn relies on the old keystore to persist credentials. We have had plans to migrate to the secure store for a while but ran into dead locks (bug 357278) so we postponed the migration. When platform stopped distributing the legacy keystore we put it on the Mylyn repository as a stop gap measure. 

Given that SR2 is around the corner and switching keystore APIs is a major change (and risk) for us I am afraid we won't be able to complete this for Juno. The current Kepler snapshot builds still rely on the old keystore but I'll make sure that migrating to the secure store is the Kepler plan (bug 278474) and will bring this up during the next Mylyn call to discuss how to proceed. 

Please let me know if you need more information or if I missed any of the questions.
Comment 2 Steffen Pingel CLA 2013-05-16 11:19:37 EDT
Unfortunately, we were not able to resolve bug 278474 in the Kepler time frame. We will take another pass at this in the next release cycle so we can hopefully remove the legacy authentication support for Luna.
Comment 3 Steffen Pingel CLA 2014-02-19 19:04:20 EST
Sam, what are your thoughts on removing the compatibility feature from the Luna repository and EPP packages now?
Comment 4 Sam Davis CLA 2014-02-19 20:45:12 EST
I think the goal should be to remove it for 3.12. I don't know about the timing of the change but we should probably at least wait until some time after 3.11 is released in case any issues come up with the secure storage.
Comment 5 Steffen Pingel CLA 2014-02-20 05:24:16 EST
(In reply to comment #4)
> I think the goal should be to remove it for 3.12. I don't know about the timing
> of the change but we should probably at least wait until some time after 3.11 is
> released in case any issues come up with the secure storage.

That sounds good. Let's do that in master right away after Luna M6 (March 12). Then we can test the change with M7.
Comment 6 Sam Davis CLA 2014-02-20 12:54:53 EST
Ok.
Comment 7 Sam Davis CLA 2014-03-14 19:00:45 EDT
I've created the following reviews:

23426: 393722: remove org.eclipse.core.runtime.compatibility.auth from tasks [I66de2bc6]
https://git.eclipse.org/r/#/c/23426/

23427: 393722: remove org.eclipse.core.runtime.compatibility.auth from commons [I37f3eac8]
https://git.eclipse.org/r/#/c/23427/

I think we should keep it in our targets for now since we run migration tests against it.
Comment 8 Steffen Pingel CLA 2014-03-24 11:54:15 EDT
Tomek, could you remove the compatibility feature from all EPP packages and from Mylyn's Luna contribution file?
Comment 9 Tomasz Zarna CLA 2014-03-25 10:51:16 EDT
Sure, but I don't see the feature to be present in any EPP package.
Comment 10 Steffen Pingel CLA 2014-03-25 12:47:28 EDT
(In reply to comment #9)
> Sure, but I don't see the feature to be present in any EPP package.

Even better :). Then this the compatiblity.auth bundle should go away once https://git.eclipse.org/r/#/c/23426/ is merged and a 3.12 snapshot build is available.
Comment 11 Tomasz Zarna CLA 2014-03-25 12:51:39 EDT
(In reply to Steffen Pingel from comment #8)
> remove the compatibility feature (...) from Mylyn's Luna contribution file

http://git.eclipse.org/c/simrel/org.eclipse.simrel.build.git/commit/?id=09472df932320697bce584707f8a90af73a4d462
=>
https://hudson.eclipse.org/hudson/job/simrel.luna.runaggregator/389/
Comment 12 Sam Davis CLA 2014-03-25 13:37:28 EDT
(In reply to comment #10)
> (In reply to comment #9)
> > Sure, but I don't see the feature to be present in any EPP package.
> 
> Even better :). Then this the compatiblity.auth bundle should go away once
> https://git.eclipse.org/r/#/c/23426/ is merged and a 3.12 snapshot build is
> available.

The change is merged.
Comment 13 Sam Davis CLA 2014-03-25 16:48:08 EDT
Oops, now it really is merged.
Comment 14 Steffen Pingel CLA 2014-03-31 14:37:33 EDT
Sam, should we close this bug? There is bug 431636 to track removal of the feature for the release following 3.12.
Comment 15 Sam Davis CLA 2014-04-01 18:09:44 EDT
No, we should test the luna build and confirm that the plugin is actually removed.
Comment 16 Sam Davis CLA 2014-05-05 13:54:22 EDT
*** Bug 385421 has been marked as a duplicate of this bug. ***
Comment 17 Sam Davis CLA 2014-05-12 17:23:08 EDT
I've confirmed that the org.eclipse.core.runtime.compatibility.auth bundle is not in the Luna M7 Java EE package, which includes Mylyn. So we're done here!