Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » ICommitMessageProvider interface question(Commit message contribution)
ICommitMessageProvider interface question [message #1044181] Thu, 18 April 2013 15:29
Alex Rukhlin is currently offline Alex RukhlinFriend
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 ( - Support several commit message contributors.
is actually very good for me
But two others:
I4a6bb05d03629401af8672e5b8ad9263d600a988 ( - Adding a parameter to the extension point ICommitMessageProvider
I0502e82e93859d4e549219b6493aef3afbde190c ( - 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?

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

Current Time: Sun Dec 17 23:39:10 GMT 2017

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

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