The proposal to merge lp:~cjwatson/launchpad/dsp-sampledata into lp:launchpad 
has been updated.

Description changed to:

PublishingSet.newSourcePublication has called DistributionSourcePackage.ensure 
for about six years now.  Create corresponding DistributionSourcePackage rows 
in sampledata as if this had been done.  This makes it easier to experiment 
with the DistributionSourcePackage vocabulary.

This was generated using the following query:

INSERT INTO distributionsourcepackage
    (distribution, sourcepackagename, is_upstream_link_allowed)
SELECT DISTINCT
    distroseries.distribution,
    sourcepackagerelease.sourcepackagename,
    section.name = 'misc'
FROM
    sourcepackagepublishinghistory,
    distroseries,
    sourcepackagerelease,
    section
WHERE
    sourcepackagepublishinghistory.distroseries = distroseries.id
    AND sourcepackagepublishinghistory.sourcepackagerelease =
        sourcepackagerelease.id
    AND sourcepackagepublishinghistory.section = section.id;

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/dsp-sampledata/+merge/300870
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of 
lp:~cjwatson/launchpad/dsp-sampledata into lp:launchpad.

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-reviewers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-reviewers
More help   : https://help.launchpad.net/ListHelp

Reply via email to