← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~cjwatson/launchpad/archive-enable-recalculate-virt into lp:launchpad

 

The proposal to merge lp:~cjwatson/launchpad/archive-enable-recalculate-virt into lp:launchpad has been updated.

Description changed to:

Recalculate BinaryPackageBuild.virtualized and BuildQueue.virtualized when enabling an archive.

Similar to https://code.launchpad.net/~cjwatson/launchpad/bpb-recalculate-virt/+merge/269323, but this deals with the case of suspended builds in disabled archives.  Unfortunately Storm's Update (and hence .set()) doesn't support FROM, so I had to write the SQL for the !Archive.require_virtualized case by hand and use store.invalidate.

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/archive-enable-recalculate-virt/+merge/269371
-- 
Your team Launchpad code reviewers is subscribed to branch lp:launchpad.


References