Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Question on Mylyn usage
Question on Mylyn usage [message #640144] Fri, 19 November 2010 05:03 Go to next message
Mauro Molinari is currently offline Mauro Molinari
Messages: 277
Registered: July 2009
Senior Member
Hello all,
I'm an old Mylyn user but I have a probably dumb question.

On the New and Noteworthy page for Mylyn 3.4 at
http://www.eclipse.org/mylyn/new/ I see that now, when working with the
Bugzilla connector, if you do an "Open corresponding task" from an
history element (in CVS, I guess) Mylyn will open the corresponding task
in Bugzilla and scroll to the corresponding comment.

My question is: how can it work? I mean, until now I always had to
commit my task change set and submit a task modification (inserting a
comment, for instance) in two distinct operations, so how is that Mylyn
can connect them together? I think it could do if the two operations
could be done atomically with an only action that commits the change set
and posts a comment (maybe also marking the task as "resolved").

What am I missing?
Thanks in advance,
Mauro.
Re: Question on Mylyn usage [message #640214 is a reply to message #640144] Fri, 19 November 2010 10:21 Go to previous messageGo to next message
Steffen Pingel is currently offline Steffen Pingel
Messages: 706
Registered: July 2009
Senior Member
The matching is based on time. The action opens the comment that was posted
closest to when the corresponding commit was made.

Steffen


Mauro Molinari wrote:

> Hello all,
> I'm an old Mylyn user but I have a probably dumb question.
>
> On the New and Noteworthy page for Mylyn 3.4 at
> http://www.eclipse.org/mylyn/new/ I see that now, when working with the
> Bugzilla connector, if you do an "Open corresponding task" from an
> history element (in CVS, I guess) Mylyn will open the corresponding task
> in Bugzilla and scroll to the corresponding comment.
>
> My question is: how can it work? I mean, until now I always had to
> commit my task change set and submit a task modification (inserting a
> comment, for instance) in two distinct operations, so how is that Mylyn
> can connect them together? I think it could do if the two operations
> could be done atomically with an only action that commits the change set
> and posts a comment (maybe also marking the task as "resolved").
>
> What am I missing?
> Thanks in advance,
> Mauro.

--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com
Re: Question on Mylyn usage [message #640455 is a reply to message #640214] Mon, 22 November 2010 03:12 Go to previous messageGo to next message
Mauro Molinari is currently offline Mauro Molinari
Messages: 277
Registered: July 2009
Senior Member
Il 19/11/2010 16:21, Steffen Pingel ha scritto:
> The matching is based on time. The action opens the comment that was posted
> closest to when the corresponding commit was made.

I see, thank you Steffen!

Mauro.
Re: Question on Mylyn usage [message #640464 is a reply to message #640214] Mon, 22 November 2010 03:42 Go to previous message
Mauro Molinari is currently offline Mauro Molinari
Messages: 277
Registered: July 2009
Senior Member
Il 19/11/2010 16:21, Steffen Pingel ha scritto:
> The matching is based on time. The action opens the comment that was posted
> closest to when the corresponding commit was made.

By the way Steffen,
I think that allowing to commit the task changeset when you submit a
change to that task would be very useful. In this way you could simulate
an "atomic" commit+task closing/changing.

A checkbox (unchecked by default) like the one for submitting the
context would be enough here...

What do you think?

Mauro.
Previous Topic:How to use Mylyn connectors the right way?
Next Topic:Work log description
Goto Forum:
  


Current Time: Tue Jul 29 02:46:46 EDT 2014

Powered by FUDForum. Page generated in 0.01926 seconds