Merge lp:~julian-edwards/launchpad/publish-copy-archives-bug-520520-getPubConfig into lp:launchpad
Proposed by
Julian Edwards
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~julian-edwards/launchpad/publish-copy-archives-bug-520520-getPubConfig |
Merge into: | lp:launchpad |
Diff against target: |
59 lines (+41/-0) 2 files modified
lib/lp/archivepublisher/config.py (+12/-0) lib/lp/archivepublisher/tests/publisher-config.txt (+29/-0) |
To merge this branch: | bzr merge lp:~julian-edwards/launchpad/publish-copy-archives-bug-520520-getPubConfig |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Guilherme Salgado (community) | code | Approve | |
Review via email: mp+19721@code.launchpad.net |
Commit message
Fix getPubConfig so it handles copy archives
To post a comment you must log in.
= Summary =
Fix getPubConfig so it handles copy archives
== Proposed fix ==
getPubConfig() is a function in the archivepublisher module that returns a
publisher config for the, err, publisher. The config varies depending on what
type of archive is being published. Note that this is not a canonical.config
object, it's some old Soyuz crack.
This branch adds the necessary changes to make publishing of Copy archives a
reality. It's another of the many branches I'm doing to fix bug 520520.
== Implementation details ==
It's utterly trivial. Read the diff :)
== Tests == config. txt
bin/test -cvvt publisher-
== Demo and Q/A ==
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: archivepublishe r/config. py archivepublishe r/tests/ publisher- config. txt
lib/lp/
lib/lp/