JetBrains Space Help

Administrate Repositories

You can perform global administration of repositories using the Administration | Package Repositories page. The list of repositories available to you on this page depends on your user account permissions:

  • System Admin can view and manage all repositories in the organization.

  • All other users can view and manage only the repositories created by themselves.

Package Repositories page

On the Administration | Package Repositories page:

  • Active shows the list of the repositories that are attached to a project(s). After you create a repository in a project, it becomes attached to this project. The attached repository can be distinguished by its alias: $project_name/$repository_name. You can attach a repository to multiple projects. In this case, the repository will have multiple aliases.

  • Detached shows the list of the repositories (repository aliases) that are no longer attached to a project.

    How the repository becomes detached:

    What happens next:

    • If the detached repository has no more aliases (not attached to other projects), after one week, it is automatically deleted. During this week, the detached repository is still available at its URL.

    • If the repository has other aliases (it is attached to other projects), it will not be deleted until these other aliases exist. During this time, the detached repository is still available at its URL.

    • In both cases, the repository will be deleted if someone creates a repository with the same name in the same project.

  • All shows all repositories in the organization.

Attaching a repository to a project or multiple projects

  1. In Administration, open the Package Repositories page.

  2. Find the required repository and in the repository menu, choose Attach to project.

    Attach a repo to a project

  3. In the opened window, select the project to attach to and specify the repository name. Note that the repository is allowed to have diferrent names in different projects.

  4. After this, a new alias will be assigned to the repository, and the repository will become available on the project's Packages page.

Detaching repositories from projects

  1. In Administration, open the Package Repositories page.

  2. Find the required repository alias (the alias associated with the project from which you want to detach the repository) and click the Detach alias button Detach alias next to the alias.

    Detach a repo from a project

  3. After this, the detached repository will disappear from the project's Packages page but it will be available at its old URL within one week. After this week, if the repository has no more aliases (is not attached to at least one project), it will be deleted permanently. Otherwise, if the repository has other aliases, it'll be available at its URL until these other aliases exist.

Deleting repositories

  1. On the navigation bar, choose the project where you want to delete a repository.

  2. Open the Packages page.

  3. In the repository menu, choose Delete.

    Delete a repository

  4. After this, the repository is not deleted permanently. Instead, it becomes detached: it will disappear from the project's Packages page but it will be available at its old URL within one week. After this week, it will be deleted permanently.

    Note that if someone deletes the project this repository belongs to, the repository is deleted immediately and permanently.

Last modified: 21 October 2020