Merge pdbq:add-query-lp-milestones into pdbq:main
Status: | Merged |
---|---|
Merge reported by: | Bryce Harrington |
Merged at revision: | 82dbf4521a515ab7fc79f98b8e40898a3f1d2ffa |
Proposed branch: | pdbq:add-query-lp-milestones |
Merge into: | pdbq:main |
Diff against target: |
507 lines (+289/-69) 4 files modified
.pylintrc (+3/-0) pdbq/lp.py (+14/-15) tests/test_lp.py (+78/-54) workers/query-lp-milestones (+194/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Athos Ribeiro (community) | Approve | ||
Canonical Server Reporter | Pending | ||
Review via email: mp+440364@code.staging.launchpad.net |
Description of the change
Adds to PDBQ a worker to collect the milestones for a given Ubuntu release, and some associated cleanups.
The tests for PDBQ's workers are integrated with the script and can be invoked like this:
$ ./workers/
This performs a smoketest against live Launchpad, to confirm that the scripts' EXAMPLE_INPUT generates the EXAMPLE_OUTPUT. Of course, this data is ephemeral since the official milestones can change over time, and eventually jammy will become unsupported. But at least for development smoketesting purposes, this is acceptable, and can be easily updated in the future as needed.
I've also added a readonly option for Launchpad and used it in the smoketest. All the PDBQ workers can operate in this mode so I plan to use this option fairly liberally.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
Thanks Bryce. LGTM. I added a nitpick/question below, but shouldn't be a blocker here.