doc/user/import/third_party_systems/manifest_file.md
{{< details >}}
{{< /details >}}
Import Git repositories based on a manifest file like the one used by the Android repository. Use the manifest to import a project with many repositories like the Android Open Source Project (AOSP).
{{< history >}}
{{< /history >}}
The manifest file must be an XML file up to 1 MB in size. The file must have:
remote tag with a review attribute that contains a URL to a Git server.project tags with a name and path attribute.GitLab builds the URL to the repository by combining the URL from the remote tag with a project name.
The path attribute is used to represent the project path in GitLab.
For example:
<manifest>
<remote review="https://android.googlesource.com/" />
<project path="build/make" name="platform/build" />
<project path="build/blueprint" name="platform/build/blueprint" />
</manifest>
In this example, GitLab creates the following projects:
| GitLab | Import URL |
|---|---|
https://gitlab.com/<group_name>/build/make | https://android.googlesource.com/platform/build |
https://gitlab.com/<group_name>/build/blueprint | https://android.googlesource.com/platform/build/blueprint |
To import repositories by using a manifest file: