Adding sources to repositories