# finally add git repositories associated to this project
for project in config.PROJECTS.projects:
if 'git_server' in config.PROJECTS.projects[project]['git_info']:
- git_servers=cfg.PROJECTS.projects[project]['git_info']['git_server']
- for git_server in git_servers:
- print(git_server)
- if 'git_info' in config.PROJECT and "git_server" in config.PROJECT:
-
+ ff.write("\n# git servers")
+ ff.write("\ngit_info :\n{\n\tgit_server :\n\t{\n")
+ git_servers=config.PROJECTS.projects[project]['git_info']['git_server']
+ for k in config.PROJECTS.projects[project]['git_info']['git_server'].keys():
+ ff.write('\t\t' + k + ':' + config.PROJECTS.projects[project]['git_info']['git_server'][k].__str__() + '\n')
+ ff.write("\t}\n")
+ ff.write("}\n")
ff.close()
# Loop over the products to get there pyconf and all the scripts