Merge "Implement repo.pinning logic"