Merge ~corey.bryant/lpci:main into lpci:main
Proposed by
Corey Bryant
Status: | Merged |
---|---|
Merge reported by: | Jürgen Gmach |
Merged at revision: | 6aec797c5a1bfc60cf131fffb036d4d2d5734c95 |
Proposed branch: | ~corey.bryant/lpci:main |
Merge into: | lpci:main |
Diff against target: |
62 lines (+22/-1) 4 files modified
NEWS.rst (+5/-0) lpci/providers/_buildd.py (+1/-0) lpci/providers/tests/test_buildd.py (+15/-0) requirements.in (+1/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jürgen Gmach | Approve | ||
Review via email: mp+443407@code.launchpad.net |
This proposal supersedes a proposal from 2023-05-23.
To post a comment you must log in.
Thanks for your contribution!
Could you please add an entry in the NEWS.rst?
Also, `bases. BuilddBaseAlias .DEVEL` was only introduced in craft-providers 1.8.1, but our `requirements.in` specify 1.8.0 as minimum version. Could you please update the minimum required version and the comment?
I do not think we need to apply `tox -e pip-compile` now, as version 1.8.1 was used in the requirements.txt anyway - but we (Launchapd devs) should update the dependencies soon.
I do feel a bit uneasy about adding code without tests, but that is the way we did before for adding new series/versions.
A very simple test that verifies that the key is present in `SERIES_ TO_BUILDD_ IMAGE_ALIAS` and that it maps to the correct image looks like it would not help too much, but at least it guarantees that we do not remove a series by mistake.
Do you want to add such a test? Do not worry if not, then I think I will add one for all series.