没有不值得去解决的问题,也没有不值得去学习的技术!

Adjust a Project’s Group and Name in GitLab

I received an email stating that the project php / pcs-api has been moved to another location, and the project is now located under pcs / pcs-api.

1. The existing project’s group and name are php and pcs-api, respectively, as shown in Figure 1.

The existing project's group and name are php and pcs-api, respectively
Figure 1

2. In Settings -> General -> Advanced settings, the php in the Path cannot be modified, as shown in Figure 2.

In Settings -> General -> Advanced settings, the php in the Path cannot be modified
Figure 2

3. In Settings -> General -> Export project, export the project and all its related data, as shown in Figure 3.

In Settings -> General -> Export project, export the project and all its related data
Figure 3

4. The project export has started, and the download link will be sent via email, as shown in Figure 4.

The project export has started, and the download link will be sent via email.
Figure 4

5. The project pcs-api has been successfully exported. You can download the project export from: php / pcs-api export. The download link will expire after 24 hours, as shown in Figure 5.

The project pcs-api has been successfully exported. You can download the project export from: php / pcs-api export. The download link will expire after 24 hours.
Figure 5

6. Open the download link and save the file: 2020-04-08_19-21-999_php_pcs-api_export.tar.gz, as shown in Figure 6.

Open the download link and save the file: 2020-04-08_19-21-999_php_pcs-api_export.tar.gz
Figure 6

7. Open the URL for the pcs group: https://gitlab.chinamcloud.com/pcs , then click New project -> Import project -> GitLab export, as shown in Figure 7.

Open the URL for the pcs group: https://gitlab.chinamcloud.com/pcs , then click New project -> Import project -> GitLab export
Figure 7

8. Click GitLab export, and it responds with a 405 error: “Sorry, your access has been blocked because the URL you visited may pose a security threat to the website,” as shown in Figure 8.

Click GitLab export, and it responds with a 405 error: "Sorry, your access has been blocked because the URL you visited may pose a security threat to the website."
Figure 8

9. Ultimately, I had to contact the GitLab deployment team. I discovered that the reason the group could not be modified in step 2 was due to insufficient permissions. When sufficient permissions are granted, the group can be adjusted. This is done in Settings -> General -> Advanced settings -> Transfer project, as shown in Figure 9.

Ultimately, I had to contact the GitLab deployment team. I discovered that the reason the group could not be modified in step 2 was due to insufficient permissions. When sufficient permissions are granted, the group can be adjusted. This is done in Settings -> General -> Advanced settings -> Transfer project.
Figure 9

10. I received an email stating that the project php / pcs-api has been moved to another location, and the project is now located under pcs / pcs-api, as shown in Figure 10.

I received an email stating that the project php / pcs-api has been moved to another location, and the project is now located under pcs / pcs-api.
Figure 10

11. In Settings -> General -> Advanced settings, change the value of Project name to: pcs_api, and change the value of Path to: pcs_api, as shown in Figure 11.

In Settings -> General -> Advanced settings, change the value of Project name to: pcs_api, and change the value of Path to: pcs_api
Figure 11

关于作者 · 持续学习与技术实践

我是一名拥有 15 年以上开发经验的技术从业者,自 2013 年起持续运营个人技术博客,记录工作与个人项目中遇到的真实问题,以及解决问题过程中的探索、实践和思考。

除了技术写作,我也在持续开发和维护自己的独立项目,探索新技术和新工具在实际场景中的应用。我始终相信,没有不值得去解决的问题,也没有不值得去学习的技术。

如果这篇文章对你有所帮助,欢迎浏览博客中的其他文章,也欢迎交流技术经验与想法。

关于我  ·  GitHub  ·  邮件联系