Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359210

Summary: improve robustness and maintainability of Bugzilla connector implementation
Product: z_Archived Reporter: Steffen Pingel <steffen.pingel>
Component: MylynAssignee: Project Inbox <mylyn-triaged>
Status: CLOSED MOVED QA Contact:
Severity: enhancement    
Priority: P3 CC: eclipse, greensopinion, robert.elves, shawn.minto
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Bug Depends on: 335533, 341829, 342212, 208839, 227015, 255132, 269803, 288868, 298918, 329637, 329697, 335254, 356986, 360276    
Bug Blocks:    

Description Steffen Pingel CLA 2011-09-28 07:35:29 EDT
The Bugzilla connector code base has grown and evolved over the years. To leverage framework enhancements and make the code easier to maintain the Bugzilla core code needs to be refactored and extended (see subtasks).

Since this is likely to break outstanding contributions merging these should be considered prior to the refactoring.
Comment 1 Steffen Pingel CLA 2011-09-28 07:36:08 EDT
Frank, can you provide a list of oustanding patches that are likely to break if we change BugzillaClient and related classes?
Comment 2 Frank Becker CLA 2011-11-05 13:29:24 EDT
Steffen,

I think we can start after we have reviewed the following two bugs
329637 do not check for stale tasks if synchronizing query on Bugzilla 3.4 or later
356986 [patch] auto detect XML-RPC (was: IllegalArgumentException when enabling XML-RPC) http://review.mylyn.org/#change,27

maybe we should keep this with
354023 create method to get more information from the Bugzilla Webservice

to support an Bugzilla Client with HTML and XMLRPC functions.

These bugs have already stale patches:
208839	 prompt for Bugzilla authentication credentials as needed
269803 improve error message in case of missing Bugzilla_login cookie
341829 custom transitions should not require a workflow description file
342212 cookies are not deleted when running tests
360276 remove work-arounds for legacy Bugzilla versions (patch but we do not need this)

bugs without patches
227015 [refactor] move retry handling out of BugzillaConnector to BugzillaClient
255132 [refactor] BugzillaClient.getTaskData()
288868 add test for encoding in repository config (eclipse.org)
298918 speed up Bugzilla tests
329697 reevaluate logout "hack"
335254 [api] add o.e.m.commons.http bundle based on HttpClient 4.1
335533 Can not submit tasks because all emails are missing @domain
Comment 3 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn