Skip to main content


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 Go to next message
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 (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
Re: ICommitMessageProvider interface question [message #1781960 is a reply to message #1044181] Thu, 15 February 2018 10:44 Go to previous messageGo to next message
Arthur Daussy is currently offline Arthur DaussyFriend
Messages: 14
Registered: September 2014
Junior Member
I have exactly the same question here.

The pachset https://git.eclipse.org/r/#/c/9322/ has been reviewed and merged. Does this mean that this extension is not internal any more? (In master HEAD it is still marked as internal)

Regards,

Arthur Daussy
Re: ICommitMessageProvider interface question [message #1781964 is a reply to message #1781960] Thu, 15 February 2018 10:52 Go to previous message
Arthur Daussy is currently offline Arthur DaussyFriend
Messages: 14
Registered: September 2014
Junior Member
It seems there is a bug open on this matter here : https://bugs.eclipse.org/bugs/show_bug.cgi?id=376387
If you need a follow up I think this is the place.
Previous Topic:How can I integrate EGIT with Parasoft SOAtest tool
Next Topic:full-history
Goto Forum:
  


Current Time: Tue Mar 19 02:51:16 GMT 2024

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

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

Back to the top