Mylyn/Bugzilla Headless Usage [message #63085] |
Mon, 08 December 2008 03:20  |
Eclipse User |
|
|
|
Hi,
I'm currently looking at the Bugzilla headless example. I'm interested
in querying a repository in headless mode on a regularly basis, i.e. I'd
like to setup a repository, fetch all issues for a specific project and
then only fetch the modifications (eg. hourly).
I wonder if there is some more API that I can re-use for that. As far as
I understand, Mylyn already does that in the UI. Ideally, I'd like to
reuse at much as possible without inheriting the UI code.
Any ideas/pointers?
-Gunnar
--
Gunnar Wagenknecht
gunnar@wagenknecht.org
http://wagenknecht.org/
|
|
|
Re: Mylyn/Bugzilla Headless Usage [message #63198 is a reply to message #63085] |
Mon, 08 December 2008 18:54  |
Eclipse User |
|
|
|
> I'm currently looking at the Bugzilla headless example. I'm interested
> in querying a repository in headless mode on a regularly basis, i.e. I'd
> like to setup a repository, fetch all issues for a specific project and
> then only fetch the modifications (eg. hourly).
The logic for synchronization is coupled to the task list which is currently
only available through internals. If you create an instance of TaskList and
add the queries that you want to synchronize you should be able to update
tasks periodically through SynchronizeRepositoriesJob.
Steffen
PS: It's best to ask development related questions on the dev or integrators
mailing list: http://www.eclipse.org/mylyn/developers/.
|
|
|
Re: Mylyn/Bugzilla Headless Usage [message #595340 is a reply to message #63085] |
Mon, 08 December 2008 18:54  |
Eclipse User |
|
|
|
> I'm currently looking at the Bugzilla headless example. I'm interested
> in querying a repository in headless mode on a regularly basis, i.e. I'd
> like to setup a repository, fetch all issues for a specific project and
> then only fetch the modifications (eg. hourly).
The logic for synchronization is coupled to the task list which is currently
only available through internals. If you create an instance of TaskList and
add the queries that you want to synchronize you should be able to update
tasks periodically through SynchronizeRepositoriesJob.
Steffen
PS: It's best to ask development related questions on the dev or integrators
mailing list: http://www.eclipse.org/mylyn/developers/
|
|
|
Powered by
FUDForum. Page generated in 0.12718 seconds