Publisher configuration needs redesign
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
William Grant |
Bug Description
I'm not sure if it's mentioned in other bugs, but let's ensure we have an specific description of this issue.
Currently publisher system retrieves configuration options (like archive path, components to be published and other) from a text field in IDistribution and IDistroRelease, called 'lucilleconfig'. The text is formatted for python standard config module and is parsed on the fly.
There are some cheap alternatives to improves it:
* Replace current DB field by a zope XML configuration section
* Wrap the text field into a reliable and documented object with correct permissions and tests.
The former looks the right thing to do, but it may compromise the scalability of the system, since this configuration is particularly related to the distributions/
The last sounds like a band-aid, but can also reach the required reliability and security we want.
Related branches
- Stuart Bishop (community): Approve (db)
- Tim Penhey (community): Approve
- Robert Collins: Pending (db) requested
-
Diff: 469 lines (+115/-183)10 files modifieddatabase/sampledata/current-dev.sql (+52/-76)
database/sampledata/current.sql (+52/-76)
database/schema/comments.sql (+0/-6)
database/schema/patch-2208-35-0.sql (+7/-0)
lib/lp/registry/interfaces/distribution.py (+0/-3)
lib/lp/registry/interfaces/distroseries.py (+0/-1)
lib/lp/registry/model/distribution.py (+0/-2)
lib/lp/registry/model/distroseries.py (+0/-1)
lib/lp/soyuz/scripts/ftpmaster.py (+1/-4)
lib/lp/soyuz/scripts/initialise_distroseries.py (+3/-14)
tags: | added: tech-debt |
Changed in soyuz: | |
assignee: | Celso Providelo (cprov) → nobody |
tags: | added: soyuz-publish |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
milestone: | none → 11.01 |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Since we sort the design, some tests which have hardcoded archive path need to be revisited and fixed, they are, for instance, doc/soyuz- upload. txt and scripts/ ftest/test_ ftpmaster. py (there are other)