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
->enabled
set totrue
ingitlab.yml
. - have
dependency_proxy
->enabled
set totrue
ingitlab.yml
. - have the
packages
feature enabled in the project's settings.Settings
->General
->Visiblity, project features, permissions
->Package registry
(checkbox enabled.) - have a GitLab license.
Premium
or more. - Visit Project > Settings > Packages and Registries
- Right-click and select View source, confirm
data-show-dependency-proxy-settings
is set totrue
- have the related feature flag turned on:
Feature.enable(:packages_dependency_proxy_maven)
- Confirm that
gon.features.packagesDependencyProxyMaven
istrue
from the browser console. - Run in FOSS mode
- Visit Project > Settings > Packages and Registries
- Right-click and select View source, confirm
data-show-dependency-proxy-settings
is 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