~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-06-29 01:49:37 UTC
  • mfrom: (13316.3.4 syncUpdate-huh)
  • Revision ID: launchpad@pqm.canonical.com-20110629014937-h26dx50bi1s1jz6q
[r=jml][no-qa] Remove syncUpdate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
A proper name for this "model" would be 'cross-component-dependency'.
91
91
 
92
92
    >>> from canonical.database.sqlbase import flush_database_caches
93
 
    >>> from canonical.launchpad.ftests import syncUpdate
94
93
    >>> from lp.soyuz.interfaces.component import IComponentSet
95
94
 
96
95
    >>> ubuntu_components = [
108
107
    ...     for component in ubuntu_components:
109
108
    ...         component = getUtility(IComponentSet)[component]
110
109
    ...         ogre_pub.component = component
111
 
    ...         syncUpdate(ogre_pub)
112
110
    ...         flush_database_caches()
113
111
    ...         components_term = " ".join(
114
112
    ...             get_components_for_context(
137
135
 
138
136
    >>> naked_build = removeSecurityProxy(ogre_build)
139
137
    >>> naked_build.pocket = PackagePublishingPocket.BACKPORTS
140
 
    >>> syncUpdate(ogre_build)
141
138
 
142
139
Ultimately, it means that a build targeted to the BACKPORTS pocket
143
140
will behave as if it were published in the multiverse component,