hgweb: create function to perform actions on new repo
We perform some common tasks when a new repo instance is obtained. In
preparation for changing how we obtain repo instances, factor this
functionality into a standalone function.
FROM fedora:21
RUN yum install -y gcc
RUN yum install -y python-devel python-docutils
RUN yum install -y make
RUN yum install -y rpm-build
RUN yum install -y gettext
# For creating repo meta data
RUN yum install -y createrepo