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-toolkit
andBugzillaAdapter
. - Implemented
match-upstream.py
for matchmaking Launchpad bugs in remote trackers. - Implemented
bug-patcher.py
for 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-toolkit
to serve scripts such as Attachment Upstreamer through attachment filters and wrappers. - Branch, Merge Revision: Implemented
match-upstream.py
with 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.py
with support for modifying Debian packages which usecdbs
patch system to generate a patched version using a bug’s attachments.
Minor Tasks
- Created a
LaunchpadBugzillaApp
class which shares majority of the initialization code forsend-attachments-upstream.py
,match-upstream.py
andbug-patcher.py
. - Fixed various bugs in
LaunchpadBugzillaApp
for dealing with Gnome Keyring and Launchpad authentication. - Added various filters to
launchpadlib-toolkit
.
Actions for the Following Report
LaunchpadBugzillaApp
should be derived fromLaunchpadApp
which would allow using the latter for scripts such asbug-patcher.py
where 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.
Comments Off on Summer of Code Progress: Refactoring, Matching and Patching