stable

Clone or download

Read-only

Initialize git:pre-receive-analyze command

This command currently does nothing but print rejection_message: 0, it can also do so in JSON format. It is currently hidden in the help section. How to test: - Execute the command tuleap git:pre-receive-analyze, you should get the expected output Part of story #28845 have an hidden command executing custom command to determine if the reference should have been rejected Change-Id: I3f07d43487f90aedcedaf82b23ad66ed8258244c

Modified Files

Name
A plugins/git/include/Hook/PreReceive/PreReceiveAnalyzeCommand.php +84 −0 Go to diff View file
M plugins/git/include/gitPlugin.php +7 −0 Go to diff View file
A plugins/git/tests/unit/Hook/PreReceive/PreReceiveAnalyzeCommandTest.php +57 −0 Go to diff View file