Bug 236498 - programmatic batching of provisioning events
Summary: programmatic batching of provisioning events
Status: RESOLVED DUPLICATE of bug 234199
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2008-06-10 15:45 EDT by Susan McCourt CLA
Modified: 2008-06-10 19:23 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Susan McCourt CLA 2008-06-10 15:45:11 EDT
Currently the p2 UI has its own strategy for batching events when it knows it is about to perform several operations at once (such as refreshing a bunch of repos at once, removing many repos at once, etc.)

It would be nice if callers could run runnable and batch all events that occur in the process, much like users of the resource API can run a workspace modifying operation and receive one event at the end.  This of course also requires a way to describe the delta that occurred.

If this is too complicated in general, we could at least do it for repository-related events, since we know that adding one repo might generate a bunch of related events as associate repos are added.
Comment 1 John Arthorne CLA 2008-06-10 16:07:17 EDT
Bug 234199?
Comment 2 Susan McCourt CLA 2008-06-10 19:23:56 EDT
no wonder I was having deja vu while typing.  

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