这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@rakeshkky
Copy link
Member

Description

The brotli lib has licensed under GPL 3.0 only. Hence removing brotli compression until the library author updates the license or an alternates solution found. Gzip compression works as expected.

Affected components

  • Server
  • Tests
  • Docs

Related Issues

N/A

Solution and Design

  • Remove brotli from library dependencies
  • Comment out the brotli compression related code

Steps to test and verify

Limitations, known bugs & workarounds

@netlify
Copy link

netlify bot commented Oct 1, 2019

Deploy preview for hasura-docs ready!

Built with commit 08570c8

https://deploy-preview-2967--hasura-docs.netlify.com

@hasura-bot
Copy link
Contributor

Review app for commit 82aff91 deployed to Heroku: https://hge-ci-pull-2967.herokuapp.com
Docker image for server: hasura/graphql-engine:pull2967-82aff913

marionschleifer
marionschleifer previously approved these changes Oct 2, 2019
@hasura-bot
Copy link
Contributor

Review app for commit 0034e82 deployed to Heroku: https://hge-ci-pull-2967.herokuapp.com
Docker image for server: hasura/graphql-engine:pull2967-0034e82c

# def test_brotli_compression_v1_query(self, hge_ctx):
# url, q, exp_resp = self._get_config(self.dir() + '/v1_query.yaml')
# resp = self._make_post(hge_ctx, url, q, self.brotli_header)
# self._assert_brotli(resp, exp_resp)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you also remove these commented-out tests? (Sorry for being nitpicky about this, since it’s kind of a minor thing, but it’s easy to fix, so it seems worth doing.)

@hasura-bot
Copy link
Contributor

Review app for commit 776dd66 deployed to Heroku: https://hge-ci-pull-2967.herokuapp.com
Docker image for server: hasura/graphql-engine:pull2967-776dd66e

@hasura-bot
Copy link
Contributor

Review app for commit 0f2837c deployed to Heroku: https://hge-ci-pull-2967.herokuapp.com
Docker image for server: hasura/graphql-engine:pull2967-0f2837cb

@hasura-bot
Copy link
Contributor

Review app for commit 6935fc3 deployed to Heroku: https://hge-ci-pull-2967.herokuapp.com
Docker image for server: hasura/graphql-engine:pull2967-6935fc38

@hasura-bot
Copy link
Contributor

Review app for commit 85c6ca0 deployed to Heroku: https://hge-ci-pull-2967.herokuapp.com
Docker image for server: hasura/graphql-engine:pull2967-85c6ca0d

@hasura-bot
Copy link
Contributor

Review app for commit 08570c8 deployed to Heroku: https://hge-ci-pull-2967.herokuapp.com
Docker image for server: hasura/graphql-engine:pull2967-08570c89

@lexi-lambda lexi-lambda merged commit 8972dfb into hasura:master Oct 5, 2019
@hasura-bot
Copy link
Contributor

Review app https://hge-ci-pull-2967.herokuapp.com is deleted

polRk pushed a commit to polRk/graphql-engine that referenced this pull request Feb 12, 2020
Although brotli itself is MIT-licensed, the Haskell brotli library that provides bindings to it is GPL-licensed, so we cannot use it unless we get a response on haskell-hvr/brotli#1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants