Publisher breaks on archives without publisher config
Bug #836743 reported by
Jeroen T. Vermeulen
on 2011-08-29
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Launchpad itself |
High
|
Jeroen T. Vermeulen |
Bug Description
The publish-ftpmaster script seems to break if any of the distributions it's supposed to publish lacks a PubConfig.
Traceback: http://
Looks like we'll want to:
1. make getPubConfig return None when there's no archive config.
2. Skip archives (or maybe even entire distros?) when getPubConfig returns None.
Related branches
lp:~jtv/launchpad/bug-836743
- William Grant: Approve (code) on 2011-08-30
-
Diff: 131 lines (+55/-9)4 files modifiedlib/lp/archivepublisher/config.py (+3/-1)
lib/lp/archivepublisher/scripts/publish_ftpmaster.py (+23/-8)
lib/lp/archivepublisher/tests/test_config.py (+19/-0)
lib/lp/archivepublisher/tests/test_publish_ftpmaster.py (+10/-0)
Jeroen T. Vermeulen (jtv)
on 2011-08-29
Changed in launchpad: | |
status: | Triaged → In Progress |
assignee: | nobody → Jeroen T. Vermeulen (jtv) |
Launchpad QA Bot (lpqabot) wrote : | #1 |
tags: | added: qa-needstesting |
Changed in launchpad: | |
status: | In Progress → Fix Committed |
Jeroen T. Vermeulen (jtv)
on 2011-08-31
tags: |
added: qa-ok removed: qa-needstesting |
William Grant (wgrant)
on 2011-09-06
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Julian Edwards (julian-edwards)
on 2011-09-08
Changed in launchpad: | |
status: | Fix Released → Fix Committed |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r13823 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 13823>.