|ICommitMessageProvider interface question [message #1044181]
||Thu, 18 April 2013 15:29
| Alex Rukhlin
Registered: April 2013
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?
Powered by FUDForum
. Page generated in 0.01464 seconds