Test refactor for PPA privacy switching
Bug #523147 reported by
Michael Nelson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Michael Nelson |
Bug Description
The fix for bug 506203 ensures that a PPA cannot be switched between public/private once it has published packages.
This breaks *lots* of soyuz tests that switch the privacy of the default cprov ppa. As a result, we need to update all these tests to instead create a separate private PPA and publish any packages there required for the tests.
Related branches
lp:~michael.nelson/launchpad/ppa-privatisation-test-refactor
Merged
into
lp:launchpad
- Edwin Grubbs (community): Approve (code)
-
Diff: 586 lines (+143/-152)3 files modifiedlib/lp/archivepublisher/tests/publisher-config.txt (+9/-11)
lib/lp/soyuz/doc/archive.txt (+120/-128)
lib/lp/soyuz/doc/buildd-scoring.txt (+14/-13)
lp:~michael.nelson/launchpad/ppa-privatisation-test-refactor2
Merged
into
lp:launchpad
- Guilherme Salgado (community): Approve (code)
-
Diff: 525 lines (+101/-84)7 files modifiedlib/lp/archivepublisher/tests/test_generate_ppa_htaccess.py (+26/-24)
lib/lp/buildmaster/tests/test_builder.py (+17/-6)
lib/lp/soyuz/scripts/tests/test_copypackage.py (+19/-17)
lib/lp/soyuz/scripts/tests/test_expire_ppa_bins.py (+14/-13)
lib/lp/soyuz/scripts/tests/test_populatearchive.py (+10/-13)
lib/lp/soyuz/scripts/tests/test_publishdistro.py (+6/-8)
lib/lp/testing/factory.py (+9/-3)
lp:~michael.nelson/launchpad/ppa-privatisation-test-refactor3
Merged
into
lp:launchpad
- Henning Eggers (community): Approve (code)
-
Diff: 751 lines (+194/-174)9 files modifiedlib/canonical/launchpad/doc/publishing-security.txt (+48/-47)
lib/canonical/launchpad/doc/tales.txt (+33/-28)
lib/lp/registry/browser/tests/person-views.txt (+5/-7)
lib/lp/soyuz/browser/tests/archive-views.txt (+14/-22)
lib/lp/soyuz/browser/tests/archivesubscription-views.txt (+16/-15)
lib/lp/soyuz/browser/tests/builder-views.txt (+4/-4)
lib/lp/soyuz/doc/archive-dependencies.txt (+35/-26)
lib/lp/soyuz/doc/buildd-slavescanner.txt (+32/-22)
lib/lp/testing/factory.py (+7/-3)
lp:~michael.nelson/launchpad/ppa-privatisation-test-refactor4
Merged
into
lp:launchpad
- Graham Binns (community): Approve (code)
-
Diff: 891 lines (+159/-151)8 files modifiedlib/lp/soyuz/doc/archiveauthtoken.txt (+25/-25)
lib/lp/soyuz/doc/archivesubscriber.txt (+37/-34)
lib/lp/soyuz/doc/build.txt (+42/-50)
lib/lp/soyuz/doc/package-diff.txt (+5/-4)
lib/lp/soyuz/doc/sourcepackagerelease.txt (+3/-3)
lib/lp/soyuz/stories/ppa/xx-ppa-files.txt (+41/-30)
lib/lp/soyuz/tests/test_publishing.py (+3/-3)
lib/lp/testing/factory.py (+3/-2)
lp:~michael.nelson/launchpad/ppa-privatisation-test-refactor5
Merged
into
lp:launchpad
- Abel Deuring (community): Approve (code)
-
Diff: 821 lines (+218/-170)6 files modifiedlib/lp/soyuz/stories/ppa/xx-ppa-packages.txt (+56/-24)
lib/lp/soyuz/stories/ppa/xx-private-ppa-presentation.txt (+14/-11)
lib/lp/soyuz/stories/ppa/xx-private-ppa-subscription-stories.txt (+47/-41)
lib/lp/soyuz/stories/ppa/xx-private-ppa-subscriptions.txt (+32/-30)
lib/lp/soyuz/stories/ppa/xx-private-ppas.txt (+20/-14)
lib/lp/soyuz/stories/soyuz/xx-person-packages.txt (+49/-50)
lp:~michael.nelson/launchpad/ppa-privatisation-test-refactor6
Merged
into
lp:launchpad
- Gary Poster (community): Approve
-
Diff: 750 lines (+158/-167)6 files modifiedlib/lp/soyuz/stories/soyuz/xx-private-builds.txt (+47/-77)
lib/lp/soyuz/stories/soyuz/xx-queue-pages-delayed-copies.txt (+9/-9)
lib/lp/soyuz/stories/webservice/xx-archive.txt (+28/-28)
lib/lp/soyuz/stories/webservice/xx-archivedependency.txt (+18/-24)
lib/lp/soyuz/stories/webservice/xx-binary-package-publishing.txt (+21/-10)
lib/lp/soyuz/stories/webservice/xx-source-package-publishing.txt (+35/-19)
summary: |
- Test refactor for privacy switching + Test refactor for PPA privacy switching |
Changed in soyuz: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in devel r10415 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ devel/revision/ 10415>