Merge lp:~wgrant/launchpad/ppa-pub-skip into lp:launchpad
Status: | Merged |
---|---|
Merged at revision: | 16508 |
Proposed branch: | lp:~wgrant/launchpad/ppa-pub-skip |
Merge into: | lp:launchpad |
Diff against target: |
180 lines (+34/-14) 6 files modified
lib/lp/archivepublisher/domination.py (+5/-2) lib/lp/archivepublisher/publishing.py (+5/-8) lib/lp/archivepublisher/tests/test_publisher.py (+4/-2) lib/lp/registry/model/distribution.py (+4/-2) lib/lp/soyuz/doc/distribution.txt (+15/-0) lib/lp/soyuz/scripts/publishdistro.py (+1/-0) |
To merge this branch: | bzr merge lp:~wgrant/launchpad/ppa-pub-skip |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Steve Kowalik (community) | code | Approve | |
Review via email: mp+150264@code.launchpad.net |
Commit message
Fix a couple of issues causing deleted PPAs to get their directories recreated on disk.
Description of the change
Fix a couple of issues causing deleted PPAs to get their directories recreated on disk. One or the other fix is sufficient, but one is the sensible fix and the other has been bugging me for years.
- Calling getPublisher creates the archive directory tree on disk. This is rather counterintuitive, since the returned Publisher object has methods for deleting the archive and other similar things. I moved it to a Publisher.
- Distribution.
100 # 'getPublisher' is what actually configures the htaccess file.
That comment is now out of date. :-)