Opened 4 years ago

#4640 new change

Move Mercurial repository configuration to Puppet

Reported by: trev Assignee:
Priority: Unknown Milestone:
Module: Infrastructure Keywords:
Cc: matze Blocked By:
Blocking: Platform: Unknown / Cross platform
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):



Currently, the repositories on hg1 are being created and configured manually. This is unnecessarily error-prone.

What to change

Move repository configuration into modules/private/hiera/roles/hgwebserver.yaml. Something along these lines:

    contact: "Wladimir Palant <>"
    description: "Adblock Plus for Firefox source code"
    github_push: yes
    irc: yes
    legacy_push: yes
    denyweb: yes

.hg/hgrc files for the Mercurial repositories should be generated by Puppet, the keys contact, description, github_push, legacy_push, irc and denyweb should be sufficient for that. If a repository directory doesn't exist yet or doesn't have an .hg directory Puppet should run hg init on it. So creating new repositories should be a matter of adding them to the hgwebserver.yaml file and deploying.

Change History (0)

Note: See TracTickets for help on using tickets.