todo: Docstring for create_repo
        
        :param name: arg description
        :type name: type description
        :return:
        :rtype:

def create_repo(self, name):
        """todo: Docstring for create_repo
        
        :param name: arg description
        :type name: type description
        :return:
        :rtype:
        """

        name = os.path.abspath(name)
        logger.debug("create_repo %s", name)

        self.safe_mkdir(name)

        udir = os.path.join(name, '_upkg')
        self.safe_mkdir(udir)

        ctx = {
            'pkg_name': os.path.basename(name),
        }

        for t in TMPLS:
            self.mk_tmpl(
                os.path.join(udir, t['name']),
                t['tmpl'],
                ctx,
                t.get('mode')
            )