Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Mylyn/Bugzilla Headless Usage
Mylyn/Bugzilla Headless Usage [message #63085] Mon, 08 December 2008 08:20 Go to next message
Gunnar Wagenknecht is currently offline Gunnar WagenknechtFriend
Messages: 452
Registered: July 2009
Location: Germany ✈ Vancouver
Senior Member

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 23:54 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
> 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 23:54 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
> 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/
Previous Topic:Could not update Mylyn weekly on Eclipse 3.5 (m3)
Next Topic:Adding content assist to text fields
Goto Forum:
  


Current Time: Mon Nov 24 14:05:07 GMT 2014

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

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