Exemplo n.º 1
0
def build_reposistory_data(config):
    """
    Using the ``config`` data, perform all actions that affect files in the .git
    repositories, such as the description, owner, and export marker. Also
    update the projects.list file as needed to list relevant repositories.

    :type config: RawConfigParser
    """
    gitdaemon.export(config)
    gitweb.set_descriptions(config)
    gitweb.generate_project_list(config,
        os.path.join(config.generated_files_dir, "projects.list"))
    cgit.generate_project_list(config,
        os.path.join(config.generated_files_dir, "repos.list"))