Publisher breaks on archives without publisher config
Bug #836743 reported by
Jeroen T. Vermeulen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
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)
-
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)
Changed in launchpad: | |
status: | Triaged → In Progress |
assignee: | nobody → Jeroen T. Vermeulen (jtv) |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
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>.