Custom Source
In the self-hosted repo, you can add custom mirror sources to the Maven, npm, and PyPI virtual repositories. To configure a custom mirror source, perform the following procedure:
- Log in to the CodeArts homepage, click the username in the upper right corner of the page, and choose from the drop-down list.
- In the navigation pane on the left, choose .
- Click the Custom Source tab and click Create Proxy at the upper right corner of the page.
- In the displayed dialog box, choose the package type, and enter the mirror repository name (required), proxy address (required), proxy username, and proxy password.
- The proxy address of the mirror repository must start with https:// or http://. Otherwise, an error message is displayed, indicating that the URL is invalid.
- If you do not set the proxy password, the password set last time is used by default.
- Click OK. The custom proxy source is added.
- You can perform the following operations on a custom proxy source that has been added.
Operation
Description
Edit
Click
in the Operation column to change the mirror repository name, proxy username, and proxy password.
Delete
Click
in the Operation column to delete the custom proxy source.
If the custom proxy source to be deleted has been associated with a self-hosted repo, remove the proxy source on the Proxy Settings page of the corresponding repository and return to this page to delete the proxy source.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot