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

Conversation

@lexi-lambda
Copy link
Contributor

@lexi-lambda lexi-lambda commented Jul 2, 2019

Description

This PR includes two small portability changes:

  1. It bumps the node-sass version to ^4.12.0 to avoid support for node.js 12.x sass/node-sass#2632, which causes installation failures on Node v12.x.

  2. It moves the functionality of the /v1alpha/pg_dump server endpoint out of shell code and into Haskell, which avoids a portability problem involving GNU versus BSD sed.

Together, these changes were enough to get all the server tests to pass on my machine running macOS 10.14.5.

Affected components

  • Server
  • Console

Related Issues

This avoids sass/node-sass#2632, which causes compilation failures on
Node v12.x.
@CLAassistant
Copy link

CLAassistant commented Jul 2, 2019

CLA assistant check
All committers have signed the CLA.

@netlify
Copy link

netlify bot commented Jul 2, 2019

Deploy preview for hasura-docs ready!

Built with commit 8342bb8

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

@hasura-bot
Copy link
Contributor

Review app for commit 269888d deployed to Heroku: https://hge-ci-pull-2455.herokuapp.com
Docker image for server: hasura/graphql-engine:pull2455-269888dc

The shell version caused problems on non-Linux systems since it relied
on the non-POSIX -i option for sed, which works slightly differently on
BSD and macOS.
@0x777 0x777 merged commit fb3794c into hasura:master Jul 3, 2019
@hasura-bot
Copy link
Contributor

Beep boop! 🤖

GIF

Awesome work @lexi-lambda! All of us at Hasura ❤️ what you did.

Thanks again 🤗

@lexi-lambda lexi-lambda deleted the portability branch July 22, 2019 12:50
polRk pushed a commit to polRk/graphql-engine that referenced this pull request Feb 12, 2020
* Bump node-sass to version ^4.12.0

This avoids sass/node-sass#2632, which causes compilation failures on
Node v12.x.

* Do most of the work in /pg_dump in Haskell instead of shell

The shell version caused problems on non-Linux systems since it relied
on the non-POSIX -i option for sed, which works slightly differently on
BSD and macOS.
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.

4 participants