provide CodeRepository based on packaging