Don't automatically spider remote list_urls before making stage. (#2263)
- This might be useful but we don't want to do it unconditionally.
This commit is contained in:
parent
49b1c0df2b
commit
08477f6624
1 changed files with 1 additions and 6 deletions
|
@ -703,12 +703,7 @@ def _make_root_stage(self, fetcher):
|
||||||
# Construct a path where the stage should build..
|
# Construct a path where the stage should build..
|
||||||
s = self.spec
|
s = self.spec
|
||||||
stage_name = "%s-%s-%s" % (s.name, s.version, s.dag_hash())
|
stage_name = "%s-%s-%s" % (s.name, s.version, s.dag_hash())
|
||||||
|
stage = Stage(fetcher, mirror_path=mp, name=stage_name, path=self.path)
|
||||||
# Check list_url alternative archive URLs
|
|
||||||
dynamic_fetcher = fs.from_list_url(self)
|
|
||||||
alternate_fetchers = [dynamic_fetcher] if dynamic_fetcher else None
|
|
||||||
stage = Stage(fetcher, mirror_path=mp, name=stage_name, path=self.path,
|
|
||||||
alternate_fetchers=alternate_fetchers)
|
|
||||||
return stage
|
return stage
|
||||||
|
|
||||||
def _make_stage(self):
|
def _make_stage(self):
|
||||||
|
|
Loading…
Reference in a new issue