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

Bug 381373

Summary: [api] Define new api to requests changesets related to a work space project
Product: z_Archived Reporter: Alvaro Sanchez-Leon <alvaro.sanchez-leon>
Component: MylynAssignee: Project Inbox <mylyn-triaged>
Status: CLOSED MOVED QA Contact:
Severity: enhancement    
Priority: P3 CC: fchouinard, lmcbout, sebastien.dubois
Version: 0.9   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Bug Depends on: 380584, 381036    
Bug Blocks: 399536    

Description Alvaro Sanchez-Leon CLA 2012-06-01 09:47:56 EDT
The ScmConnector today provides a generic api to request changesets related to a given scm/team repository i.e.

	List<ChangeSet> getChangeSets(ScmRepository repository, IProgressMonitor monitor)

It's desirable to extend this facility to request the changesets related to a given project in the work space, this functionality is similar to what's obtain by selecting
a work space project context menu to display changes in the team interface history's view.

The interface could e.g. as below where the repository could be resolved from the IProject 

	List<ChangeSet> getChangeSets(IProject project, IProgressMonitor monitor)
Comment 1 Alvaro Sanchez-Leon CLA 2012-09-10 09:41:15 EDT
The API above should consider multiple selection of projects and therefore the signature shall be:

List<ChangeSet> getChangeSets(IProject[] project, IProgressMonitor monitor)

The API needs to consider the implementation done in egit to provide the list of relevant commits from the selection of multiple projects in e.g. package exploerer
i.e. Team -> Show in History

Note that the performance must be similar to the response from egit,  current response time is quite slow with large repositories e.g. org.eclipse.cdt
Comment 2 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn