geoHeil
geoHeil
@houqp I was trying to work with the provided examples - but could not get roapi to load from Postgres or from MySQL.
This: ``` roapi --addr-http 0.0.0.0:8080 --table "table_name=mysql://user:pass@localhost/db" ``` fails for me with: ``` Error: Database error: Enable 'database' feature flag to support this ``` I am using roapi from homebrew...
I do observe the same error from the roapi docker container. Do you think you could publish the binary with DB support enabled?
related/duplicate of https://github.com/roapi/roapi/issues/173
Even after compiling my own version of roapi with database support: ``` cannot detect table extension from uri ``` persists. When using the `--table` it works then.
https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/roapi.rb#L22 will require setting https://github.com/roapi/roapi/pull/182/files#diff-8aa42ebe3a4357d4bac56925d8eda99a0a36556b008e4b198a819c1a44ee2642R143 i.e. the features of: ``` features: "simd,rustls,database" ```
@leopku https://github.com/Homebrew/homebrew-core/pull/111999 I have created this PR - can you help testing it?
https://github.com/Homebrew/homebrew-core/blob/master/CONTRIBUTING.md ``` brew uninstall --force roapi brew install --build-from-source roapi brew test foo brew audit --strict roapi brew style roapi ``` would have been the instructions. No you are using...
nightly-2022-01-03 I believe. https://github.com/roapi/roapi/blob/main/Dockerfile#L1 is using a newer version by now: 2022-09-24
@houqp it looks like apple silicon is failing. @leopku was trying rust stable and failed. https://github.com/Homebrew/homebrew-core/blob/2ec9befee47baa451fdad5f66c94134ad5ab69fd/Formula/roapi.rb#L17 looks like the brew formula is also using stable - I guess the nightly...