make it a function so we can sync different repositories with different structures (like backports and updates without "all" packages)