Next step in the PackageManager restructure, replace the static list
of repo urls with a list of RepositoryFetcher instances. Drops
PackageManager.fetch_pkg_file and just calls the
RepositoryFetcher.fetch_pkg_file on each repo directly in fetch_pkg.
Also adds an explicit add_repository method as a "clean" way for
other classes (specifically client/job.py) to add repositories.
Risk: Medium
Visibility: Switches over to the polymorphic RepositoryFetcher model
of fetching repo packages.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@3512 592f7852-d20e-0410-864c-8624ca9c26a4
4 files changed