Code review comment for lp:~julian-edwards/launchpad/publish-copy-archives-bug-520520-getPubConfig

Revision history for this message
Julian Edwards (julian-edwards) wrote :

= 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 ==
bin/test -cvvt publisher-config.txt

== 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:
  lib/lp/archivepublisher/config.py
  lib/lp/archivepublisher/tests/publisher-config.txt

« Back to merge proposal