Merge ~racb/ubuntu-sponsoring:git-ubuntu-applied-branches into ubuntu-sponsoring:main
Status: | Needs review |
---|---|
Proposed branch: | ~racb/ubuntu-sponsoring:git-ubuntu-applied-branches |
Merge into: | ubuntu-sponsoring:main |
Diff against target: |
160 lines (+75/-9) 4 files modified
debian/control (+1/-0) setup.py (+4/-1) ubuntu_sponsoring/sponsors_page.py (+13/-8) ubuntu_sponsoring/sponsors_page_test.py (+57/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Benjamin Drung | Pending | ||
Review via email: mp+469860@code.launchpad.net |
Description of the change
This branch does two things:
1) It displays git-ubuntu applied branches in the sponsorship report, was my intent when I started the branch. To make this easier to develop I added unit tests. To make the unit tests work I had to rearrange the code so that it's all in a module that can be found by pytest, using entry_points= instead of scripts= in setup.py, and arrange for the tests to run on package build.
2) There's a separate bug that stopped the sponsorship report from working over the weekend due to an escaping issue. I fixed this in the final commit as I discovered it during testing.
If you want you can cherry-pick just the latter issue. I could have submitted it as a separate MP, but that's painful because I have moved the script itself, and it seems likely this will result in conflicts to resolve if cherry-picking or trying to merge the two changes separately. If we merge them together then that will save that work.
You might want to review this with --find-renames