stable

Clone or download

Read-only

Fix gitolite-admin repository being impacted by our pre-receive hook

This bug prevented creating new PR and repository when the feature flag was enabled. To test: - tuleap config-set feature_flag_enable_pre_receive_command 1 (set the feature flag) - Build and install wasmtime-wrapper-lib: `nix-build ./src/additional-packages/tuleap-wasmtime-wrapper-lib.nix` - cp plugins/git/etc/sudoers.d/tuleap-git-prereceive /etc/sudoers.d/ - tuleap-cfg site-deploy:gitolite3-hooks - Create a git repository in Tuleap's interface - It works !!! Part of story #31077 deploy a WebAssembly module to validate incoming references as a pre-receive hook Change-Id: I07c93f75b02f7c77694649467e72ab60ddfd3be7

Modified Files

Name
M plugins/git/include/Hook/PreReceive/PreReceiveAction.php +1 −2 Go to diff View file
D plugins/git/include/Hook/PreReceive/PreReceiveRepositoryNotFoundException.php +0 −29 Go to diff View file
M plugins/git/tests/unit/Hook/PreReceive/PreReceiveActionTest.php +8 −3 Go to diff View file