检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Configuring Clearing Policy for a Maven Repository You can automatically and manually delete artifacts that meet deletion conditions in batches. When a user creates a Maven repository, the storage repositories include Release and Snapshot.
URI DELETE /cloudartifact/v5/trashes Request Parameters Table 1 Request body parameters Parameter Mandatory Type Description [items] Yes Array of TrashArtifactModelForDelete objects Delete lists in batches.
You can set a clearing policy to move expired files from the repository to the recycle bin or delete them permanently from the recycle bin based on the specified retention periods.
Clearing Policies 2.0 If files in Release Repos become redundant or invalid, you can use the scheduled auto-clearing policy to either move expired files to the recycle bin or delete outdated files from it.
Click Delete on the right of the page. In the displayed dialog box, click Confirm. Favoriting/Unfavoriting Go to the self-hosted repo page. In the left pane, locate the component to be favorited, and click its name.
Click to delete paths. Click Submit to save the settings. Parent topic: Managing a Self-Hosted Repo 2.0
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.
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.
all software packages or folders from the recycle bin. 5 Batch delete Select multiple software packages or folders and click Clear below the list to delete all the selected items. 6 Clear Click in the Operation column to delete the software package or folder.
all software packages or folders from the recycle bin. 5 Batch delete Select multiple software packages or folders and click Delete below the list to delete all the selected items. 6 Clear Click in the Operation column to delete the software package or folder.
components √ √ × √ √ × Restore components √ √ × √ √ × Permanently delete a component √ √ × √ √ × Delete a repository √ × × × × × Restore a repository √ √ × √ √ × Permanently delete a repository √ × × × × × Clear all √ √ √ × × × Restore all √ √ √ × × × Manage user permissions √ √
components √ √ × √ √ × Restore components √ √ × √ √ × Permanently delete a component √ √ × √ √ × Delete a repository √ × × × × × Restore a repository √ √ × √ √ × Permanently delete a repository √ × × × × × Clear all √ √ √ × × × Restore all √ √ √ × × × Manage user permissions √ √
You can only download or delete it. 10 New repo Click New Repo to return to the new version of Release Repos. Parent topic: Release Repos 1.0
URI DELETE /cloudartifact/v5/file Request Parameters Table 1 Request body parameters Parameter Mandatory Type Description path Yes String File path.
URI DELETE /cloudartifact/v5/repositories Request Parameters Table 1 Request body parameters Parameter Mandatory Type Description repository_ids No String Repository ID set. format No String Type.
Delete the existing commands and run the following instead: export PATH=$PATH:/root/.npm-global/bin npm config set strict-ssl false npm publish Click Save and Run on the right of the page to start the build task.
Delete the existing commands and run the following instead: export PATH=$PATH:/root/.npm-global/bin npm config set strict-ssl false npm publish Click Save and Run on the right of the page to start the build task.
Delete Click in the Operation column to delete the custom proxy source.
Table 1 Project-level permissions Description Role/Operation Change package status Upload Delete/Restore (test package) Delete/Restore (production package) Edit (test package) Create folder Download Restore all Clear all Project manager √ √ √ × √ √ √ √ √ Product manager × × √ × √
Click to delete paths. Parent topic: Managing a Self-Hosted Repo 1.0