Support fully qualified refs for graphs view
What does this MR do and why?
Support fully qualified refs for graphs view
- updates Projects:NetworkController to handle ref_type
- refactors tests
Contributes to: #219583 (closed)
How to set up and validate locally
- Enable the
use_ref_type_parameter
feature flag - Set up a project
- checkout a new branch with some commits and push
- checkout the previous branch, add a tag and push tags For example
git checkout -b "ambiguous-ref-name"
touch somefile.md
git add somefile.md
git commit -m "A commit"
git push origin ambiguous-ref-name
git checkout main
git tag ambiguous-ref-name
git push --tags
- Go to the graphs/networks page
- Try switching between tag and branch refs and see that a different node is indicated in the graph
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 #219583 (closed)
Edited by Jerry Seto