def __init__()

in server/plugins/repositories.py [0:0]


    def __init__(self, private, filepath):
        self.private = private
        self.filename = os.path.basename(filepath).replace('.git', '')
        self.filepath = filepath
        m = re.match(r"^(?:incubator-)?(empire-db|[^-.]+)-?.*(?:\.git)?$", self.filename)
        if m:
            self.project = m.group(1)
        else:
            self.project = self.filename.split('-', 1)[0]  # ????