graphql-engine/scripts
Samir Talwar 342391f39d Upgrade Ormolu to v0.5.
This upgrades the version of Ormolu required by the HGE repository to v0.5.0.1, and reformats all code accordingly.

Ormolu v0.5 reformats code that uses infix operators. This is mostly useful, adding newlines and indentation to make it clear which operators are applied first, but in some cases, it's unpleasant. To make this easier on the eyes, I had to do the following:

* Add a few fixity declarations (search for `infix`)
* Add parentheses to make precedence clear, allowing Ormolu to keep everything on one line
* Rename `relevantEq` to `(==~)` in #6651 and set it to `infix 4`
* Add a few _.ormolu_ files (thanks to @hallettj for helping me get started), mostly for Autodocodec operators that don't have explicit fixity declarations

In general, I think these changes are quite reasonable. They mostly affect indentation.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6675
GitOrigin-RevId: cd47d87f1d089fb0bc9dcbbe7798dbceedcd7d83
2022-11-02 20:55:13 +00:00
..
coalesce_run_sql [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
containers Install and use ODBC Driver 18 for SQL Server (msodbcsql18). 2022-10-21 16:25:04 +00:00
edit-pg-dump Merge oss/master onto mono/main 2020-11-12 22:37:19 +05:30
ekg server: add support for tagged and dynamic metrics 2021-08-05 21:08:17 +00:00
make Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
bigquery.sh server/tests: unify HASURA_BIGQUERY_SERVICE_KEY and HASURA_BIGQUERY_SERVICE_ACCOUNT env vars 2022-03-14 07:50:35 +00:00
cabal-freeze-update.sh Fix up for scripts/cabal-freeze-update.sh 2022-06-09 19:52:38 +00:00
cabal-run.sh multitenant tests: reduce reliance on env vars, use fake cabal run 2022-01-24 18:15:25 +00:00
data-sources-util.sh server: migrate to aeson-2 in preparation for ghc 9.2 upgrade 2022-06-08 15:32:27 +00:00
dev.sh Demand Python 3.9 to run the server's Python integration tests. 2022-09-13 20:20:19 +00:00
dump-remote-schema.js Remote Joins: Create relationships across database and remote schemas (#2392) 2020-05-27 20:32:58 +05:30
extract-notes.sh Stable sort of extracted notes 2022-02-03 13:33:09 +00:00
generate_brand_assets_readme.sh update brand assets (#2062) 2019-04-26 10:05:52 +05:30
get-version.sh Data-Connectors SDK 2022-06-27 09:32:12 +00:00
hoogle.sh server/gardening: move local hoogle setup from Makefile to bash script 2022-03-16 10:44:01 +00:00
hpack.sh server: Automate generation and verification of Cabal files from hpack. 2022-07-29 16:22:12 +00:00
parse-pytest-backend server/tests: unify HASURA_BIGQUERY_SERVICE_KEY and HASURA_BIGQUERY_SERVICE_ACCOUNT env vars 2022-03-14 07:50:35 +00:00
performance_report.sh utils: fix scripts/performance_report.sh 2021-12-20 12:03:33 +00:00
post-release.sh ci: fix bugs faced during v2.2.0 release 2022-02-16 08:21:35 +00:00
tag-release.sh ci: tag release v2.11.2 and v2.12.0 2022-09-12 07:19:23 +00:00
verify-bigquery-creds.sh Extract the test harness from the Hspec tests 2022-10-04 08:31:26 +00:00