Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » ICommitMessageProvider interface question(Commit message contribution)
ICommitMessageProvider interface question [message #1044181] Thu, 18 April 2013 15:29
Alex Rukhlin is currently offline Alex Rukhlin
Messages: 1
Registered: April 2013
Junior Member
In our Microsoft Team Explorer (TFS) Eclipse plug-in I'd like to implement an extension to the EGit extension point org.eclipse.egit.ui.commitMessageProvider.
The goal is to add some proprietary information to commit messages. I was able to implement it and it works OK.

First question - is using ICommitMessageProvider supported or is it intended for internal use only? If it is acceptable for us to use it, then I have the follow concerns and questions.

My concern is in that on Gerrit I've found tree proposed changes in review that if accepted, could affect our plug-in.

One of them:
I38f37116956b65fe9433ef77d1728caa4e69c6af (https://git.eclipse.org/r/#/c/9322/) - Support several commit message contributors.
is actually very good for me
But two others:
I4a6bb05d03629401af8672e5b8ad9263d600a988 (https://git.eclipse.org/r/#/c/11634/) - Adding a parameter to the extension point ICommitMessageProvider
I0502e82e93859d4e549219b6493aef3afbde190c (https://git.eclipse.org/r/#/c/11635/) - Adding of a new method in the extension point ICommitMessageProvider
are changing the ICommitMessageProvider interface breaking backward compatibility, and also have conflict with the first proposed change.

So, my question is: Is the ICommitMessageProvider interface public, and I can use it expecting that it is stable and my implementation won't break with the next EGit release? Or is this interface internal and I cannot extend the point org.eclipse.egit.ui.commitMessageProvider? In this case, how could I implement the functionality needed, i.e. append some text to commit message?

Thanks,
Alex
Previous Topic:Re-indexing even though "Refresh when index changes" is off
Next Topic:grep with jgit
Goto Forum:
  


Current Time: Fri Oct 24 12:18:00 GMT 2014

Powered by FUDForum. Page generated in 0.03099 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software