stable

Clone or download

Read-only

Reference git_tag is taken into account

This is part of request #21327 Cross references in Tuleap Git tags should be extracted When you add reference like git_tag #repo_name/tag_name in an artifact comment for instance, the reference is now usable. If an already existing and used project reference git_tag is in the project, this reference will be used instead of the system reference. Change-Id: I959a000038db5852b9b72fd89be0c22fb7da33e4

Modified Files

Name
M plugins/git/db/install.sql +6 −0 Go to diff View file
A plugins/git/db/mysql/updates/2021/202105061544_add_git_tag_reference.php +68 −0 Go to diff View file
M plugins/git/db/uninstall.sql +2 −0 Go to diff View file
M plugins/git/include/Git.class.php +3 −0 Go to diff View file
A plugins/git/include/Git/Reference/ReferenceAdministrationWarningsCollectorEventHandler.php +51 −0 Go to diff View file
A plugins/git/include/Git/Reference/ReferenceDao.php +44 −0 Go to diff View file
A plugins/git/include/Git/Reference/TagInfoFromReferenceValue.php +56 −0 Go to diff View file
M plugins/git/include/Git/ReferenceManager.class.php +53 −7 Go to diff View file
M plugins/git/include/gitPlugin.php +40 −8 Go to diff View file
M plugins/git/site-content/fr_FR/LC_MESSAGES/tuleap-git.po +11 −0 Go to diff View file
A plugins/git/tests/unit/Git/Reference/ReferenceAdministrationWarningsCollectorEventHandlerTest.php +111 −0 Go to diff View file
M plugins/git/tests/unit/Git/ReferenceManagerTest.php +56 −7 Go to diff View file
M src/common/Reference/ReferenceManager.php +6 −6 Go to diff View file