You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For 1 and 2 we have somewhat similar functionality outside of Eden that is taking the Eden hosted internal repo and syncing changes to the GitHub repo. I don't think that tooling is publicly available.
If and when we add git protocol support do then that may provide an Eden native way to get a git repo from an Eden repo. No timeline for this at present.
For 3, we have some early git import functionality underway, see eden/mononoke/git/gitimport/src/main.rs
It also supports git -> eden, though the code for that is primarily used for importing pull requests rather than automated mirroring; in theory, both the sync pipelines ('shipit') and pull request pipelines ('importit') can be set up to/from any supported repo, not just eden-source-of-truth to github mirror.
one caveat: it expects the eden CLI to be called hg
A lot changed with the recent Sapling release. We now provide and support pre-built binaries that interop with Git. See the docs, and open another issue if you still have problems.
Activity
ahornby commentedon Sep 2, 2021
For 1 and 2 we have somewhat similar functionality outside of Eden that is taking the Eden hosted internal repo and syncing changes to the GitHub repo. I don't think that tooling is publicly available.
If and when we add git protocol support do then that may provide an Eden native way to get a git repo from an Eden repo. No timeline for this at present.
For 3, we have some early git import functionality underway, see eden/mononoke/git/gitimport/src/main.rs
fredemmott commentedon Sep 13, 2021
It is - https://github.com/facebook/fbshipit :)
It also supports git -> eden, though the code for that is primarily used for importing pull requests rather than automated mirroring; in theory, both the sync pipelines ('shipit') and pull request pipelines ('importit') can be set up to/from any supported repo, not just eden-source-of-truth to github mirror.
one caveat: it expects the eden CLI to be called
hgfredemmott commentedon Sep 13, 2021
Oh, a bigger caveat: it assumes a linear history. It can get very confused by merge commits
ahornby commentedon Feb 15, 2022
Eden CLI and Mononoke now build and test on GitHub actions. Probably you could import a git repo to Mononoke to test end to end with https://github.com/facebookexperimental/eden/blob/main/eden/mononoke/git/gitimport/src/main.rs, but I'm afraid there's no docs describing the process as yet.
yancouto commentedon Nov 16, 2022
A lot changed with the recent Sapling release. We now provide and support pre-built binaries that interop with Git. See the docs, and open another issue if you still have problems.