873: Update CI for new workflow r=MarinPostma a=MarinPostma
This pr implements the necessary automation for our new release workflow.
## Pre-releases
whenever something is pushed to a branch `release-v*`, tests are triggered. If all test pass, the current reference is checked to see if it's a release branch. If it's a release branch, a pre-release is created for this branch and assets are automatically generated for this branch. The prerelease has the tag `vx.x.xrcn` where `x.x.x` is the version extracteds from the branch name, and n is the number of commits since the branch was forked from master. (starting from rc0).
## Releases
Whenever something is pushed to stable and tagged `vx.x.x` where `x.x.x` is the version, tests are run and a release is generated containing the assets, and binaries are published to docker, brew, apt, etc.
Co-authored-by: mpostma <postma.marin@protonmail.com>
846: Change settings behavior r=LegendreM a=MarinPostma
partially implements #824.
Returning the field distribution for all know fields is more complicated that anticipated, see https://github.com/meilisearch/MeiliSearch/issues/824#issuecomment-657656561
If we decide to to it anyway, and find a reasonable solution, I will make another PR.
fix#853 by resetting displayed and searchable attributes to wildcard when attributes are set to `[]` in the all settings route. @curquiza @bidoubiwa can you confirm me that this is the expected behavior?
Co-authored-by: mpostma <postma.marin@protonmail.com>
794: Check database version mismatch r=MarinPostma a=MarinPostma
Checks if the versions of the database and the engine are compatible.
The database and the engine are compatible if they share the same major and minor version.
The engine will refuse to start if there is a mismatch.
@bidoubiwa do we need to document this?
Co-authored-by: mpostma <postma.marin@protonmail.com>
791: Create tests for error codes r=LegendreM a=MarinPostma
- create tests for error codes
- fix primary key error that returned internal error instead of the correct error
- bits of documentation for error
- change a bunch of error type, for better accuracy, @curquiza, @eskombro, @bidoubiwa you may want to take a look at `meilisearch-error/src/lib.rs`
- fix#836
Co-authored-by: mpostma <postma.marin@protonmail.com>
842: bors setup r=LegendreM a=MarinPostma
set up bors to run the tests and merge automatically.
the tests are now run only on staging and trying branches
you can use `bors r+` to test and merge the branch into master if the tests succeed
or
you can just use `bors try` to run the test on the trying branch (synced with master)
Co-authored-by: mpostma <postma.marin@protonmail.com>