[JIRA] (JENKINS-14301) Failed to use multiple update sites (plugin repositories)

2012-07-17 Thread nickolay.rumyant...@emc.com (JIRA)












































 
Nickolay Rumyantsev
 edited a comment on  JENKINS-14301


Failed to use multiple update sites (plugin repositories)
















I seek through code and found the reason of that bug:
list of updates is generated by UpdateCenter.getUpdates();
UpdateCenter.getUpdates() -(call) UpdateSite.getUpdates() for each update site in UpdateCenter.sites.
UpdateSite.getUpdates() iterates through ALL plugins from PluginManager.getPlugins() and gets only those that have new version. 
That means that as a result we have a list which contains (all updates list)x(number of update sites). It works perfectly if we have only one update site.

I don't know the best way to fix it while preserving architecture integrity, so I ask someone to fix it. 

UPD.
I put this comment's body into the issue description, so it might be deleted now, but I have not such permissions.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-14301) Failed to use multiple update sites (plugin repositories)

2012-07-06 Thread nickolay.rumyant...@emc.com (JIRA)














































Nickolay Rumyantsev
 updated  JENKINS-14301


Failed to use multiple update sites (plugin repositories)
















Change By:


Nickolay Rumyantsev
(06/Jul/12 10:48 AM)




Summary:


Failedtousemultiple
updatesites(
pluginrepositories
)





Affects Version/s:


current





Due Date:


3/Jul/12



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira






[JIRA] (JENKINS-14301) Failed to use multiple update sites (plugin repositories)

2012-07-06 Thread nickolay.rumyant...@emc.com (JIRA)












































 
Nickolay Rumyantsev
 edited a comment on  JENKINS-14301


Failed to use multiple update sites (plugin repositories)
















I seek through code and found the reason of that bug:
list of updates is generated by UpdateCenter.getUpdates();
UpdateCenter.getUpdates() -(call) UpdateSite.getUpdates() for each update site in UpdateCenter.sites.
UpdateSite.getUpdates() iterates through ALL plugins from PluginManager.getPlugins() and gets only those that have new version. 
That means that as a result we have a list which contains (all updates list)x(number of update sites). It works perfectly if we have only one update site.

I don't know the best way to fix it while preserving architecture integrity, so I ask someone to fix it. 



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira