-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add repo import tool #6
base: master
Are you sure you want to change the base?
Conversation
Is it different in purpose from https://github.com/jyknight/llvm-git-migration/blob/master/migrate-downstream-fork.py ? EDIT: is it for other llvm-based repos that are not direct forks of existing llvm tools? |
I'm not sure I understand this tool. In its default mode, is it different than just doing a subtree merge of the other tool onto the tip of the monorepo? |
Yes, I suppose it really just is a subtree merge. Duh. It does rename tags but that's probably not enough to justify an entire tool. |
Ah, one aspect I had forgot about. This tool will import all branches of the repository. To do that with subtree merges would require a separate subtree merge of each branch. Maybe not incredibly painful, but a single one-shot tool to import everything might be useful. |
Essentially, yes. It's for third-party projects that exist outside the official LLVM ecosystem. Really, anything at all one might want to import into a local fork of the monorepo for whatever reason. |
Add a tool to take an existing git repository and rewrite its commits such that trees appear under a subdirectory in the monorepo. This is useful for downstream users to incorporate their own private repositories into the monorepo for various purposes.
Let the user decide how to rename tags.
Add a tool to take an existing git repository and rewrite its commits
such that trees appear under a subdirectory in the monorepo. This is
useful for downstream users to incorporate their own private
repositories into the monorepo for various purposes.