Migrate project archiving to ProjectNamespace/Namespace
Problem
The following endpoints need to be migrated to the namespace framework:
Controller | Action | Feature | Notes |
---|---|---|---|
ProjectsController | archive | Project management | |
ProjectsController | unarchive | Project management | |
API::Projects | /projects/:id/archive | Project management | |
API::Projects | /projects/:id/unarchive | Project management |
Proposal
Consider feature flagging this change.
Availability and Testing
- No new E2E tests or updates needed at this time. Please ensure
e2e:package-and-test
is run. If the MR adds a feature flag definition file, please review theee:instance-parallel
andee:instance-parallel-ff-inverse
jobs withine2e:package-and-test
, which should be triggered automatically. - Otherwise, if these changes will be using an existing feature flag, please create a draft MR that includes these changes along with the feature flag definition file set to
default_enabled: true
. This will then trigger the jobs above to E2E test the changes with the FF both on and off (see https://docs.gitlab.com/ee/development/testing_guide/end_to_end/feature_flags.html#automatic-test-execution-when-a-feature-flag-definition-changes for more details) - Feel free to reach out to
@vburton
with any questions on E2E test failures.
Edited by Valerie Burton