Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli(build): migrate to go modules (close #3476) #3493

Merged
merged 21 commits into from
Dec 12, 2019

Conversation

ashishra0
Copy link
Contributor

@ashishra0 ashishra0 commented Dec 5, 2019

Description

(close #3476)
Remove go dependency management tool. Added Go modules as a dependency management tool.
go dep from Makefile is removed and the Contributing.md is updated as well.

Affected components

  • CLI
  • Docs

@hasura-bot
Copy link
Contributor

Beep boop! 🤖

Hey @ashishra0, thanks for your PR!

One of my human friends will review this PR and get back to you as soon as possible.

Stay awesome! 😎

@claassistantio
Copy link

claassistantio commented Dec 5, 2019

CLA assistant check
All committers have signed the CLA.

@netlify
Copy link

netlify bot commented Dec 5, 2019

Deploy preview for hasura-docs ready!

Built with commit be102fb

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

@hasura-bot
Copy link
Contributor

Review app for commit 2e3a5a3 deployed to Heroku: https://hge-ci-pull-3493.herokuapp.com
Docker image for server: hasura/graphql-engine:pull3493-2e3a5a3d

@hasura-bot
Copy link
Contributor

Review app for commit 151a1a7 deployed to Heroku: https://hge-ci-pull-3493.herokuapp.com
Docker image for server: hasura/graphql-engine:pull3493-151a1a78

@hasura-bot
Copy link
Contributor

Review app for commit 27b8485 deployed to Heroku: https://hge-ci-pull-3493.herokuapp.com
Docker image for server: hasura/graphql-engine:pull3493-27b84858

@hasura-bot
Copy link
Contributor

Review app for commit 6ac5981 deployed to Heroku: https://hge-ci-pull-3493.herokuapp.com
Docker image for server: hasura/graphql-engine:pull3493-6ac5981f

@hasura-bot
Copy link
Contributor

Review app for commit 24f4ca2 deployed to Heroku: https://hge-ci-pull-3493.herokuapp.com
Docker image for server: hasura/graphql-engine:pull3493-24f4ca29

@shahidhk shahidhk changed the title Migrate to mod (#3476) feat(cli): migrate to mod (close #3476) Dec 10, 2019
Copy link
Member

@shahidhk shahidhk left a comment

Choose a reason for hiding this comment

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

@ashishra0 Let's also run go mod tidy to make sure the packages are correct.

cli/go.mod Outdated
@@ -0,0 +1,69 @@
module github.com/ashishra0/graphql-engine/tree/master/cli
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
module github.com/ashishra0/graphql-engine/tree/master/cli
module github.com/hasura/graphql-engine/cli

HAS_BINDATA := $(shell command -v go-bindata;)

.PHONY: deps
# get dependencies
deps:
ifndef HAS_DEP
go get -u github.com/golang/dep/cmd/dep
endif
ifndef HAS_GOX
go get github.com/mitchellh/gox
endif
ifndef HAS_BINDATA
go get github.com/hasura/go-bindata/go-bindata
endif
Copy link
Member

Choose a reason for hiding this comment

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

Let's add go mod download as a step to pre-download packages under make deps

@hasura-bot
Copy link
Contributor

Review app for commit f7953ed deployed to Heroku: https://hge-ci-pull-3493.herokuapp.com
Docker image for server: hasura/graphql-engine:pull3493-f7953ed5

@ecthiender ecthiender added the c/cli Related to CLI label Dec 10, 2019
@hasura-bot
Copy link
Contributor

Review app for commit be102fb deployed to Heroku: https://hge-ci-pull-3493.herokuapp.com
Docker image for server: hasura/graphql-engine:pull3493-be102fbc

@shahidhk shahidhk changed the title feat(cli): migrate to mod (close #3476) cli(build): migrate to go modules (close #3476) Dec 12, 2019
@shahidhk shahidhk merged commit 3d3e987 into hasura:master Dec 12, 2019
@hasura-bot
Copy link
Contributor

Beep boop! 🤖

GIF

Awesome work @ashishra0! All of us at Hasura ❤️ what you did.

Thanks again 🤗

@hasura-bot
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/cli Related to CLI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

migrate cli to go modules
5 participants