summaryrefslogtreecommitdiffstats
path: root/models/repo/watch_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Refactor AssertExistsAndLoadBean to use generics (#20797)Lunny Xiao2022-08-161-4/+4
| | | | | | | * Refactor AssertExistsAndLoadBean to use generics * Fix tests Co-authored-by: zeripath <art27@cantab.net>
* Move some repository related code into sub package (#19711)Lunny Xiao2022-06-061-43/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move some repository related code into sub package * Move more repository functions out of models * Fix lint * Some performance optimization for webhooks and others * some refactors * Fix lint * Fix * Update modules/repository/delete.go Co-authored-by: delvh <dev.lh@web.de> * Fix test * Merge * Fix test * Fix test * Fix test * Fix test Co-authored-by: delvh <dev.lh@web.de>
* Move almost all functions' parameter db.Engine to context.Context (#19748)Lunny Xiao2022-05-201-7/+7
| | | | * Move almost all functions' parameter db.Engine to context.Context * remove some unnecessary wrap functions
* Some repository refactors (#17950)Lunny Xiao2021-12-121-0/+139
* some repository refactors * remove unnecessary code * Fix test * Remove unnecessary banner