← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~cjwatson/launchpad/dsp-sampledata into lp:launchpad

 

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.


References