feat(projects): Add support for RestoreProject
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
Closes #2144 (closed)
This code change adds a new feature to restore GitLab projects that were previously marked for deletion. The main addition is a "RestoreProject" function that allows users to bring back deleted projects by calling GitLab's API. The change also includes comprehensive tests to ensure the restore functionality works correctly with both project IDs and project names. While it's not included in the documentation, RestoreProject
does return a Project
object based on testing.
This also includes a change to the devcontainer file to automatically install mise
and tools.
Edited by 🤖 GitLab Bot 🤖