~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/soyuz/doc/archive-dependencies.txt

Merge db-devel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
576
576
        main restricted universe multiverse
577
577
    deb http://archive.launchpad.dev/ubuntu hoary-updates
578
578
        main restricted universe multiverse
 
579
 
 
580
 
 
581
== Overlays ==
 
582
 
 
583
An overlay distroseries is a derived distribution which works like a PPA.
 
584
This means that the parent's details gets added to the sources.list passed to
 
585
the builders.
 
586
 
 
587
    >>> depdistro = factory.makeDistribution('depdistro',
 
588
    ...     publish_base_url=u'http://archive.launchpad.dev/')
 
589
    >>> depseries = factory.makeDistroSeries(
 
590
    ...     name='depseries', distribution=depdistro)
 
591
    >>> deparchseries = factory.makeDistroArchSeries(
 
592
    ...     distroseries = depseries, architecturetag = 'i386')
 
593
    >>> universe_component = getUtility(IComponentSet)['universe']
 
594
    >>> dsp = factory.makeDistroSeriesParent(
 
595
    ...     derived_series=hoary, parent_series=depseries,
 
596
    ...     initialized=True, is_overlay=True,
 
597
    ...     pocket=PackagePublishingPocket.SECURITY,
 
598
    ...     component=universe_component)
 
599
    >>> pub_source = test_publisher.getPubSource(
 
600
    ...     version='1.1', archive=hoary.main_archive)
 
601
    >>> [hoary_build] = pub_source.createMissingBuilds()
 
602
    >>> print_building_sources_list(hoary_build)
 
603
    deb http://archive.launchpad.dev/ubuntu hoary main
 
604
    deb http://archive.launchpad.dev/depdistro depseries main universe
 
605
    deb http://archive.launchpad.dev/depdistro depseries-security
 
606
        main universe