Merge lp:~wgrant/launchpad/no-lucilleconfig-directories into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | William Grant on 2010-12-18 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 12108 |
| Proposed branch: | lp:~wgrant/launchpad/no-lucilleconfig-directories |
| Merge into: | lp:launchpad |
| Prerequisite: | lp:~wgrant/launchpad/destroy-distroseries-lucilleconfig |
| Diff against target: |
475 lines (+319/-50) 6 files modified
lib/lp/archivepublisher/config.py (+29/-44) lib/lp/archivepublisher/tests/test_ftparchive.py (+2/-2) lib/lp/archivepublisher/tests/test_publisher.py (+2/-2) lib/lp/code/interfaces/branchmergequeue.py (+129/-0) lib/lp/code/model/tests/test_branchmergequeue.py (+155/-0) lib/lp/soyuz/tests/test_publishing.py (+2/-2) |
| To merge this branch: | bzr merge lp:~wgrant/launchpad/no-lucilleconfig-directories |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Tim Penhey (community) | mentor | 2010-10-20 | Approve on 2010-10-20 |
| Steve Kowalik (community) | code* | 2010-10-17 | Approve on 2010-10-20 |
|
Review via email:
|
|||
Commit Message
[r=stevenk]
Description of the Change
A continuation of my anti-lucilleconfig tirade from lp:~wgrant/launchpad/destroy-distroseries-lucilleconfig, this branch obsoletes Distribution.
getPubConfig has conditionally overridden Config's paths since PPAs were introduced some years ago. This branch moves the calculation out of Config and into getPubConfig, replacing dependency on in-database configuration with values that are already in the LAZR config.
Before this can land, production configs need to be checked. The only change should be that ${archivepublis
| Steve Kowalik (stevenk) wrote : | # |
I was mistaken, there isn't a variable that encompasses PRIMARY and DEBUG in lp.soyuz.
| Steve Kowalik (stevenk) wrote : | # |
After discussions with William, my first objection is withdrawn, your honour.

Hi William,
Firstly, thank you for the clean up. My two concerns are:
* Why are you adding another variable APT_FTPARCHIVE_ PURPOSES? It's there one that already encompasses that from lp.soyuz. interfaces. archive?
* Do any other callsites utilitise the code you've changed and therefore their tests need fixing too?