Summer of Code Progress: Refactoring, Matching and Patching
Related Links
| Summer of Code Archive | Inspirated Code |
| Report Guidelines | Ubuntu Wiki |
| Original Proposal | Ubuntu Wiki |
Time Spent
90 hours.
Highlights
- Refactored Attachment Upstreamer in order to migrate Launchpad and Bugzilla chores to
launchpadlib-toolkitandBugzillaAdapter. - Implemented
match-upstream.pyfor matchmaking Launchpad bugs in remote trackers. - Implemented
bug-patcher.pyfor generating patched Debian packages for Launchpad bugs.
Concerns
None.
Waiting Items
None.
Stalled Items
None.
Accomplishments
- Branch, Merge Revision: Migrated Attachment Upstreamer to use
launchpadlib-toolkit. - Branch, Merge Revision: Migrated Attachment Upstreamer to use
BugzillaAdapter. - Revision: Updated
launchpadlib-toolkitto serve scripts such as Attachment Upstreamer through attachment filters and wrappers. - Branch, Merge Revision: Implemented
match-upstream.pywith support for multiple level searches for finding a bug’s attributes in a remote tracker. Supports searching titles, git commit ids and attachment filenames. - Branch: Implemented
bug-patcher.pywith support for modifying Debian packages which usecdbspatch system to generate a patched version using a bug’s attachments.
Minor Tasks
- Created a
LaunchpadBugzillaAppclass which shares majority of the initialization code forsend-attachments-upstream.py,match-upstream.pyandbug-patcher.py. - Fixed various bugs in
LaunchpadBugzillaAppfor dealing with Gnome Keyring and Launchpad authentication. - Added various filters to
launchpadlib-toolkit.
Actions for the Following Report
LaunchpadBugzillaAppshould be derived fromLaunchpadAppwhich would allow using the latter for scripts such asbug-patcher.pywhere Bugzilla portions aren’t required.- Update Bug Patcher to include support for remaining Debian patch systems.
- Clean up the code accumulated over GSoC development and write tests.
