Commit Graph

5 Commits (05e9063013b91a7e78ab5f2b97dc7f65ee687436)

Author SHA1 Message Date
wxiaoguang dafadf0028
Refactor fixture loading for testing (#33024)
To help binary size and testing performance
1 month ago
Lunny Xiao cddf245c12
Replace more db.DefaultContext (#27628)
Target #27065
1 year ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270)
This PR removed `unittest.MainTest` the second parameter
`TestOptions.GiteaRoot`. Now it detects the root directory by current
working directory.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 year ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840)
Change all license headers to comply with REUSE specification.

Fix #16132

Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2 years ago
Lunny Xiao f860a6d2e4
Add system setting table with cache and also add cache supports for user setting (#18058) 2 years ago