Share repository between projects
Hi,
we have a shared repository (utils.git) in multiple of our projects. Is there a way to represent this in Space? If we try to mirror the repository, we get an error: "Failed: Use of local IP address (RFC 1918) is not allowed"
Please sign in to leave a comment.
Mw Hi!
You can mirror the repository to a single Space project and then attach it to other projects:
https://www.jetbrains.com/help/space/move-a-repository-to-another-project.html#attach-a-repository-to-another-project
> If we try to mirror the repository, we get an error: "Failed: Use of local IP address (RFC 1918) is not allowed"
I suppose you are using Space on-Prem solution, right? For the Kubernetes installation it's necessary to set vcs.mirrorAny=true in the valies.yaml file. For the Docker Compose one, please follow the instructions from the following guide first, and then add vcs.git.mirror.any=true to the vcs.on-premises.properties file.
https://www.jetbrains.com/help/space/docker-compose-installation.html#customize-your-proof-of-concept-installation