xref: /llvm-project/llvm/docs/GitRepositoryPolicy.md (revision d97947e1969bb37e8fa44058f7dc8557fcd0846d)
1dcc91dd2SChristian Kühnel# Policies on git repositories
2dcc91dd2SChristian Kühnel
3dcc91dd2SChristian KühnelThis document explains our current policies around git repositories. Everything
4dcc91dd2SChristian Kühnelnot covered in this document is most likely a case-by-case decision. In these
5dcc91dd2SChristian Kühnelcases please create an issue with the
6dcc91dd2SChristian Kühnel[Infrastructure Working Group](https://github.com/llvm/llvm-iwg/issues).
7dcc91dd2SChristian Kühnel
8dcc91dd2SChristian Kühnel## New GitHub repositories
9dcc91dd2SChristian Kühnel
10dcc91dd2SChristian KühnelRequirements for *new* repositories as part of the
11dcc91dd2SChristian Kühnel[LLVM organisation on GitHub](https://github.com/llvm):
12dcc91dd2SChristian Kühnel
13dcc91dd2SChristian Kühnel* The repo will be used for something related to the LLVM ecosystem or community.
14dcc91dd2SChristian Kühnel* The repo contains a `README.md` explaining the contents.
15dcc91dd2SChristian Kühnel* The repo contains a `CONTRIBUTING.md`, ideally copy this from
16dcc91dd2SChristian Kühnel  [llvm-project](https://github.com/llvm/llvm-project/blob/main/CONTRIBUTING.md).
17dcc91dd2SChristian Kühnel* The repo contains a `LICENSE.TXT`, preferably copy this from
18dcc91dd2SChristian Kühnel  [llvm-project](https://github.com/llvm/llvm-project/blob/main/LICENSE.TXT).
19dcc91dd2SChristian Kühnel  Other licences need to be discussed case-by-case.
20dcc91dd2SChristian Kühnel
21dcc91dd2SChristian KühnelIf you want to integrate your project as part of the Monorepo, please take a
22dcc91dd2SChristian Kühnellook at the
23*d97947e1SAiden Grossman[Developer Policy](project:DeveloperPolicy.rst#Adding an Established Project To the LLVM Monorepo).
24dcc91dd2SChristian Kühnel
25dcc91dd2SChristian KühnelTo request a new repository, please create an issue with the
26dcc91dd2SChristian Kühnel[Infrastructure Working Group](https://github.com/llvm/llvm-iwg/issues).
27dcc91dd2SChristian Kühnel
28dcc91dd2SChristian Kühnel## Repo access on GitHub
29dcc91dd2SChristian Kühnel
30dcc91dd2SChristian KühnelSome 3rd party applications require write access to our GitHub organisation in
31dcc91dd2SChristian Kühnelorder to work properly. Typical examples are continuous integration services
32dcc91dd2SChristian Kühnelreporting build results back to GitHub. We consider granting access to such
33dcc91dd2SChristian Kühnelapplication if they provide benefits to the LLVM community and do not raise
34dcc91dd2SChristian Kühnelprivacy or security concerns.
35dcc91dd2SChristian Kühnel
36dcc91dd2SChristian KühnelTo request access please run an RFC on the mailing list and get community
37dcc91dd2SChristian Kühnelfeedback.
38