Inject data attributes to render maven dependency proxy settings
What does this MR do and why?
Inject data attributes to render maven dependency proxy settings
Also pushes packages_dependency_proxy_maven feature flag from controller
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
N/A
How to set up and validate locally
The dependency proxy for packages has a few requirements:
- have
packages->enabledset totrueingitlab.yml. - have
dependency_proxy->enabledset totrueingitlab.yml. - have the
packagesfeature enabled in the project's settings.Settings->General->Visiblity, project features, permissions->Package registry(checkbox enabled.) - have a GitLab license.
Premiumor more. - Visit Project > Settings > Packages and Registries
- Right-click and select View source, confirm
data-show-dependency-proxy-settingsis set totrue - have the related feature flag turned on:
Feature.enable(:packages_dependency_proxy_maven) - Confirm that
gon.features.packagesDependencyProxyMavenistruefrom the browser console. - Run in FOSS mode
- Visit Project > Settings > Packages and Registries
- Right-click and select View source, confirm
data-show-dependency-proxy-settingsis set tofalse
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #410726 (closed)
Edited by Rahul Chanila