Code review comment for lp:~paelzer/curtin/bug-1574113-derived-repositories

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

> I thought that 'uri' would override 'search', does it?

Yes it does:
see curtin/commands/apt.py:get_mirror

1. uri
2. search
3. search_dns

As soon as one of 1-3 hits the others aren't checked anymore.

Also see the following unittests that ensure this is true:
test_mirror_search_many3 (uri beats search & search_dns)
test_mirror_search_many2 (search beats search_dns)

« Back to merge proposal