Updated on 2023-12-19 GMT+08:00

Managing the Recycle Bin

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 process all deleted components in the recycle bin on the CodeArts Artifact homepage.

  1. Access the self-hosted repo by following instructions in Accessing Through the Homepage.
  2. Click Recycle Bin in the upper right 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 the icons and are both displayed in the Operation column, the repository shown in the corresponding row has been deleted. Otherwise, the repository shown in the corresponding row has not been deleted but the components in it have been deleted. You can click the repository name to view the deleted components in the repository.

    Available 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 the components.

    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 a 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.

    Delete components in batches

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

    Clear recycle bin

    Click Clear All to delete all repositories and components in the recycle bin.

Recycle Bin in a Project

  1. Access the self-hosted repo by following instructions in Accessing Through a Specific Project.
  2. In the lower left corner of the page, click Recycle Bin. The Recycle Bin page is displayed on the right.
  3. Delete or restore the repositories and components in the list as required.

    If the icons and are both displayed in the Operation column, the repository shown in the corresponding row has been deleted. Otherwise, the repository shown in the corresponding row has not been deleted but the components in it have been deleted. You can click the repository name to view the deleted components in the repository.

    Available 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 the components.

    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 a 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.

    Delete components in batches

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

    Clear recycle bin

    Click Clear All to delete all repositories and components in the recycle bin.