add some repository support