init repository request code