Re: autobuilder: How to set PREMIRRORS?
All,toggle quoted message Show quoted text
I'm getting close to implementing this feature, but I'm having some issues getting auto.conf formatted correctly. See below.
-----Original Message-----I am trying to add a single PREMIRROR using the syntax I specified above. At this time it is getting inserted in auto.conf. However, the system is going into an infinite loop building the PREMIRROR path. The added content to auto.conf at this time looks like:
PREMIRRORS = " \
http://.*.* http://server.repo.local/mirror/sources/ \n \
And from looking at log.do_fetch for the package that attempts to use the PREMIRROR, the log is filled with "server.repo.localserver.repo.localserver.repo.local" repeating. Any tips on how PREMIRRORS should be built?
Here's what I have so far in CreateAutoConf.py:
fout = fout + 'PREMIRRORS = " \ \n'
for premirror in self.PREMIRRORS:
fout = fout + premirror + ' \\\\n \ \n'
fout = fout + '" \n'
Any tips on how to change things so PREMIRRORS is correctly parsed?