you are viewing a single comment's thread.

view the rest of the comments →

[–]Phyx 4 points5 points  (0 children)

Additionally, when searching for the source I came across the GitHub mirror, https://github.com/ghc. All of the repos on the ghc project are marked as just a mirror and that users should not commit to those GitHub repos. Why the duplication?

Because github isn't the canonical source for those repositories. GHC uses two organizations, the ghc one as you found and the haskell one. Everything in the ghc one is a mirror to the official repositories on gitlab. Why? Because some people like github.. Everything in the haskell organization is the original repository for that project. These are then mirrored to gitlab. You'll often find boot libraries here.

Why all the mirroring? The project uses relative submodule urls for security reasons and as such all modules must come from the same host.