https://github.com/repomirrorhq/repomirror/blob/main/repomir... (discussed in https://news.ycombinator.com/item?id=45005434) provides a bit more detail, and prompts, but only seems to use the method for porting existing software.