Merge ~pappacena/launchpad:bugtrackercompo-matching-interface into launchpad:master
Proposed by
Thiago F. Pappacena
Status: | Merged |
---|---|
Approved by: | Thiago F. Pappacena |
Approved revision: | c780af85696c496c2c6cfaae638117e4ba5c1194 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~pappacena/launchpad:bugtrackercompo-matching-interface |
Merge into: | launchpad:master |
Diff against target: |
140 lines (+19/-19) 4 files modified
lib/lp/bugs/browser/bugtracker.py (+12/-12) lib/lp/bugs/browser/tests/test_bugtracker_component.py (+3/-3) lib/lp/bugs/interfaces/bugtracker.py (+2/-2) lib/lp/bugs/model/bugtracker.py (+2/-2) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email:
|
Commit message
Renaming source_package_name attribute on BugTrackerComponent to match interface's naming.
Description of the change
Used pycharm renaming tool, and it didn't find any other usage of this attribute. The lp.bugs* seems to be running fine too.
To post a comment you must log in.
I see your initial approach was to rename the attribute in the interface instead, but then you reverted that. Could you explain why you decided not to take that approach? Since we already have things like IBugTrackerComp onent.distro_ source_ package and IBugTrackerComp onent.component _group, and since the database column name is underscore- separated, the underscore- separated form seems to be a better fit here.