Commit Graph

8 Commits (1fe81bc22edbb5c82dd2b1518fb9337c1bd503bb)

Author SHA1 Message Date
Lunny Xiao f83db078f0 Move database settings from models to setting ()
* move database settings from models to setting

* update docs

* fix checkout pr

* fix tests

* fix lint

* remove unsupported tidb options

* correct wrong variable name

* remove tidb totally
guillep2k 5a44be627c Convert files to utf-8 for indexing ()
* Convert files to utf-8 for indexing

* Move utf8 functions to modules/base

* Bump repoIndexerLatestVersion to 3

* Add tests for base/encoding.go

* Changes to pass gosimple

* Move UTF8 funcs into new modules/charset package
zeripath 78e5317242
Update to latest mssqldriver ()
* New driver does not tolerate USE - handle this by closing db and reopening db in the new dbname
kolaente f9ec2f89f2 Add golangci ()
zeripath 0081cd8dfe Add mssql migration tests ()
Richard Mahn 2262811e40 Fixes 4762 - Content API for Creating, Updating, Deleting Files ()
zeripath 5422f23ed8 Quieter Integration Tests ()
* Rename BaseLogger to WriterLogger to help the creation of other providers

* Don't export ColorBytes and ResetBytes from ColoredValues

* Make integration tests only print logs if they fail

* check can color before coloring

* I always forget about MSSQL

* Oh and use LEVEL in sqlite.ini

* Make the test logger log at info - as it means you see the router

* Remove empty expected changes

* Make the migrations quieter too

* Don't display SQL on error - it can be looked at in the file logs if necessary

* Fix skip when using onGiteaRun
zeripath 8917d66571 Add migration test ()
* Add migration test

This commit adds a simple migration test for v1.5.3, v1.6.4 and v1.7.0-rc3

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Automigrate based on available dbs

* remove old ini file

* Standardise the dialect names