diff options
author | Segev Finer <segev208@gmail.com> | 2019-04-17 08:31:08 +0300 |
---|---|---|
committer | techknowlogick <matti@mdranta.net> | 2019-04-17 01:31:08 -0400 |
commit | 34548369e1d78eb1141aecd4ab02acf59f2949ae (patch) | |
tree | 77ab26b7f7c7c4e53b604a8c4eec8d2a502b4af8 /models/fixtures/repository.yml | |
parent | 827ab6b75a70a3cd90033a4d49bb44c635dd3310 (diff) | |
download | gitea-34548369e1d78eb1141aecd4ab02acf59f2949ae.tar.gz gitea-34548369e1d78eb1141aecd4ab02acf59f2949ae.zip |
Add API for manipulating Git hooks (#6436)
* Add API for manipulating Git hooks
Signed-off-by: Segev Finer <segev@codeocean.com>
* Replace code.gitea.io/sdk with PR branch temporarily for CI
* Switch back to code.gitea.io/sdk@master
* Return 403 instead of 404 on no permission to edit hooks in API
* Add tests for Git hooks API
* Update models/repo_list_test.go
Co-Authored-By: segevfiner <segev208@gmail.com>
* Update models/repo_list_test.go
Co-Authored-By: segevfiner <segev208@gmail.com>
* empty line
Diffstat (limited to 'models/fixtures/repository.yml')
-rw-r--r-- | models/fixtures/repository.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/models/fixtures/repository.yml b/models/fixtures/repository.yml index 0e7f8f90db..b0fd8fcc5c 100644 --- a/models/fixtures/repository.yml +++ b/models/fixtures/repository.yml @@ -441,3 +441,14 @@ num_forks: 0 num_issues: 0 is_mirror: false + +- + id: 37 + owner_id: 2 + lower_name: git_hooks_test + name: git_hooks_test + is_private: false + num_stars: 0 + num_forks: 0 + num_issues: 0 + is_mirror: false |