Merge ~andrey-fedoseev/launchpad:uct-import-export-break-fix into launchpad:master

Proposed by Andrey Fedoseev
Status: Needs review
Proposed branch: ~andrey-fedoseev/launchpad:uct-import-export-break-fix
Merge into: launchpad:master
Prerequisite: ~andrey-fedoseev/launchpad:bug-presense
Diff against target: 486 lines (+260/-4)
5 files modified
lib/lp/bugs/model/bugpresence.py (+3/-0)
lib/lp/bugs/scripts/tests/test_uct.py (+102/-0)
lib/lp/bugs/scripts/uct/models.py (+93/-4)
lib/lp/bugs/scripts/uct/uctexport.py (+16/-0)
lib/lp/bugs/scripts/uct/uctimport.py (+46/-0)
Reviewer Review Type Date Requested Status
Launchpad code reviewers Pending
Review via email: mp+432181@code.qastaging.launchpad.net

Commit message

UCT import/export: handle the `break-fix` entries

Description of the change

For each `break-fix` entry create a `BugPresence` instance linked to the default git repository of the project (if exists)

If a `break-fix` entry includes multiple git commits in the "fixed" section it means that either of them fixes the issue. So, we create multiple `BugPresence` instances, one per commit listed in the "fixed" section.

Items such as `local-CVE-2022-23222-fix` are currently ignored

To post a comment you must log in.

There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to status/vote changes: