Updated on 2024-10-16 GMT+08:00

Recycle Bin 2.0

Repositories and components deleted from a self-hosted repo are moved to the recycle bin, where you can manage them.

The self-hosted repo provides the recycle bin entry both from the homepage and project pages.

Homepage Recycle Bin

You can manage all deleted components in the recycle bin on the homepage.

  1. Access self-hosted repos by referring to Accessing Self-hosted Repos.
  2. Click Recycle Bin in the upper right corner of the page, which will appear on the right side.
  3. Delete or restore the repositories and components in the list as required.

    If both icons and are displayed in the Operation column, the repository in that row has been deleted. If only one icon is displayed, the repository still exists, but its components have been deleted. Click the repository name to view the deleted components.

    Operations are as follows.

    Operation Type

    Operation

    Description

    Restore

    Restore a repository

    Click in the Operation column to restore the repository.

    Restore a component

    Go to the repository where the component to restore is located, and click in the Operation column to restore the component.

    Batch restore components

    Go to the repository where the components to restore are located, select the components, and click Restore below the list to restore them in batches.

    Restore all

    Click Restore All in the upper right corner of the page to restore all repositories and components in the recycle bin.

    Delete

    Delete a repository

    Click in the Operation column to delete the repository.

    Delete a component

    Go to the repository where the component to delete is located, and click in the Operation column to delete the component.

    Batch delete components

    Go to the repository where the components to delete are located, select the components, and click Clear below the list to permanently delete them in batches.

    Clear all

    Click Clear All in the upper right corner of the page to delete all repositories and components in the recycle bin.

Project Recycle Bin

  1. Click a project card to access the project, choose Artifact > Self-hosted Repos from the navigation pane, and click the target repository name.
  2. Click Recycle Bin in the lower left corner of the page. The Recycle Bin page is displayed on the right.
  3. Delete or restore the repositories and components in the list as required.

    If both icons and are displayed in the Operation column, the repository in that row has been deleted. If only one icon is displayed, the repository still exists, but its components have been deleted. Click the repository name to view the deleted components.

    Operations are as follows.

    Operation Type

    Operation

    Description

    Restore

    Restore a repository

    Click in the Operation column to restore the repository.

    Restore a component

    Go to the repository where the component to restore is located, and click in the Operation column to restore the component.

    Batch restore components

    Go to the repository where the components to restore are located, select the components, and click Restore below the list to restore them in batches.

    Restore all

    Click Restore All in the upper right corner of the page to restore all repositories and components in the recycle bin.

    Delete

    Delete a repository

    Click in the Operation column to delete the repository.

    Delete a component

    Go to the repository where the component to delete is located, and click in the Operation column to delete the component.

    Batch delete components

    Go to the repository where the components to delete are located, select the components, and click Clear below the list to permanently delete them in batches.

    Clear all

    Click Clear All in the upper right corner of the page to delete all repositories and components in the recycle bin.