Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 152676 - Attach context should make other attached contexts obsolete
Summary: Attach context should make other attached contexts obsolete
Status: RESOLVED DUPLICATE of bug 152065
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 0.6   Edit
Hardware: PC Windows XP
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Mik Kersten CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-02 18:35 EDT by Willian Mitsuda CLA
Modified: 2008-06-25 13:46 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Willian Mitsuda CLA 2006-08-02 18:35:58 EDT
When I work on a task for many days, I usually attach the context to the repository on the end of each day I work on it.

This is my case, but there would be other reasons for other people to do is.

My idea is to make it mark the older contexts as "obsolete", since the latest one is what matters.
Comment 1 Mik Kersten CLA 2006-08-02 22:14:44 EDT
This should come for free once bug 152065 is done, but leaving open so that we ensure the attach UI allows marking obsoletion.
Comment 2 Eugene Kuleshov CLA 2006-08-03 04:37:36 EDT
Please don't make contexts attached by other users obsolette. at least not by default.
Comment 3 Willian Mitsuda CLA 2006-08-03 10:21:53 EDT
There can be a checkbox in the attach context dialog saying something like: "Make other contexts obsolete?", whose state is persistent (so I won't have to select it every time).

Or then, make obsolete only the contexts from the same user who is attaching it (makes more sense)?
Comment 4 Mik Kersten CLA 2007-04-10 12:33:19 EDT
I don't quite see the use case for this and wonder if adding this to the UI would result in more complication then help.  Attached contexts are a snapshot of the state of the progress on the task at the time that the context was attached.  As such I'm not sure they're ever 'obsolete', they're just not current.  We just made some changes to make retrieving the most recent context easier (e.g. bug 179601), so is there still a need for this?
Comment 5 Willian Mitsuda CLA 2007-04-10 15:17:48 EDT
It is more a cosmetic matter, i.e., when you open the web ui and see that amount of attached contexts.

Having all of them marked obsolete unless the latest, makes the page to display them on a strikethrough font and my eyes automatically ignore them.

And yes, it is very low priority ;)
Comment 6 Mik Kersten CLA 2007-06-06 10:24:23 EDT
I don't think that we should do this automatically, but instead allow it to be controlled by the user as with a patch.  Just as a patch can optionally deprecate another, so could a context.  So I'll mark this as a duplicate of bug 152065 which is to provide marking patches obsolote.

*** This bug has been marked as a duplicate of bug 152065 ***