Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Team API Commit event
Team API Commit event [message #336482] Wed, 17 June 2009 07:35 Go to next message
Yaron Burg is currently offline Yaron BurgFriend
Messages: 9
Registered: July 2009
Junior Member
Hi everyone,
Hope this is the right place for such questions. if not, can you point me
the the right location?

I'm looking for a way to capture the commit event when checking in files
to any CM system. is it possible? will it be possible in the future? has
anyone done it before?
The scenario is:
The user commits the files
after a successful commit action, I get the list of checked-in files with
revision number and write it to another system.
I would like to use a high level API in order to make it CM vendor
independent.

So far all I found are answers like "it's not possible"...
how about AspectJ? can it help?

Thanks for your help!
Yaron.
Re: Team API Commit event [message #336494 is a reply to message #336482] Wed, 17 June 2009 13:42 Go to previous messageGo to next message
Michael Valenta is currently offline Michael ValentaFriend
Messages: 35
Registered: July 2009
Member
Yaron,

Whether or not there is a Team API available is really just a
convenience. The real questions is whether SCM system X has a callback
hook during a commit that would allow you to do what you want. The
answer for most system is yes but the hooks are server-side and not on
the client since this is the only way to guarantee that the hook gets
run for every commit. You may want to have a look at SCMBUG
(http://freshmeat.net/projects/scmbug/) as it provides a common
interface between SCM systems and bug reporting systems for doing
something similar to what you are asking for.

Michael

Yaron Burg wrote:
> Hi everyone,
> Hope this is the right place for such questions. if not, can you point
> me the the right location?
>
> I'm looking for a way to capture the commit event when checking in files
> to any CM system. is it possible? will it be possible in the future? has
> anyone done it before?
> The scenario is:
> The user commits the files
> after a successful commit action, I get the list of checked-in files
> with revision number and write it to another system.
> I would like to use a high level API in order to make it CM vendor
> independent.
>
> So far all I found are answers like "it's not possible"...
> how about AspectJ? can it help?
>
> Thanks for your help!
> Yaron.
>
>
Re: Team API Commit event [message #336495 is a reply to message #336494] Wed, 17 June 2009 14:17 Go to previous messageGo to next message
Yaron Burg is currently offline Yaron BurgFriend
Messages: 9
Registered: July 2009
Junior Member
Hi Michael,

Thanks for your answer.
SCMBUG sounds interesting and I'll take a close look into it.
However, I'm not sure it can do everything I want.
The plugin I'm working on is a task repository connector for Mylyn and I'm
trying to create the link between change set and defect, as part of this
project.

Thanks,
Yaron.


Michael Valenta wrote:

> Yaron,

> Whether or not there is a Team API available is really just a
> convenience. The real questions is whether SCM system X has a callback
> hook during a commit that would allow you to do what you want. The
> answer for most system is yes but the hooks are server-side and not on
> the client since this is the only way to guarantee that the hook gets
> run for every commit. You may want to have a look at SCMBUG
> (http://freshmeat.net/projects/scmbug/) as it provides a common
> interface between SCM systems and bug reporting systems for doing
> something similar to what you are asking for.

> Michael

> Yaron Burg wrote:
>> Hi everyone,
>> Hope this is the right place for such questions. if not, can you point
>> me the the right location?
>>
>> I'm looking for a way to capture the commit event when checking in files
>> to any CM system. is it possible? will it be possible in the future? has
>> anyone done it before?
>> The scenario is:
>> The user commits the files
>> after a successful commit action, I get the list of checked-in files
>> with revision number and write it to another system.
>> I would like to use a high level API in order to make it CM vendor
>> independent.
>>
>> So far all I found are answers like "it's not possible"...
>> how about AspectJ? can it help?
>>
>> Thanks for your help!
>> Yaron.
>>
>>
Re: Team API Commit event [message #336514 is a reply to message #336495] Thu, 18 June 2009 13:49 Go to previous message
Michael Valenta is currently offline Michael ValentaFriend
Messages: 35
Registered: July 2009
Member
In that case, I would suggest you search through bugzilla in the Eclipse
Team component. This question has been asked before so I'm sure there
are several bugs related to the topic. You can add yourself to the CC of
the bugs and state your requirements there.

Michael

Yaron Burg wrote:
> Hi Michael,
>
> Thanks for your answer.
> SCMBUG sounds interesting and I'll take a close look into it.
> However, I'm not sure it can do everything I want.
> The plugin I'm working on is a task repository connector for Mylyn and
> I'm trying to create the link between change set and defect, as part of
> this project.
>
> Thanks,
> Yaron.
>
>
> Michael Valenta wrote:
>
>> Yaron,
>
>> Whether or not there is a Team API available is really just a
>> convenience. The real questions is whether SCM system X has a callback
>> hook during a commit that would allow you to do what you want. The
>> answer for most system is yes but the hooks are server-side and not on
>> the client since this is the only way to guarantee that the hook gets
>> run for every commit. You may want to have a look at SCMBUG
>> (http://freshmeat.net/projects/scmbug/) as it provides a common
>> interface between SCM systems and bug reporting systems for doing
>> something similar to what you are asking for.
>
>> Michael
>
>> Yaron Burg wrote:
>>> Hi everyone,
>>> Hope this is the right place for such questions. if not, can you
>>> point me the the right location?
>>>
>>> I'm looking for a way to capture the commit event when checking in
>>> files to any CM system. is it possible? will it be possible in the
>>> future? has anyone done it before?
>>> The scenario is:
>>> The user commits the files
>>> after a successful commit action, I get the list of checked-in files
>>> with revision number and write it to another system.
>>> I would like to use a high level API in order to make it CM vendor
>>> independent.
>>>
>>> So far all I found are answers like "it's not possible"...
>>> how about AspectJ? can it help?
>>>
>>> Thanks for your help!
>>> Yaron.
>>>
>>>
>
Previous Topic:Stop eclipse reopening custom editors
Next Topic:Debug UI: Entering debugger commands by hand?
Goto Forum:
  


Current Time: Thu Apr 18 03:02:15 GMT 2024

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

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

Back to the top