Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

[#1] Switch from dep to go modules #6

Merged
merged 1 commit into from
May 3, 2019
Merged

[#1] Switch from dep to go modules #6

merged 1 commit into from
May 3, 2019

Conversation

fqutishat
Copy link
Collaborator

  • remove go dep
  • remove vendor
  • add go modules

Change-Id: I06d450bbe89822729327162db91118e0b595c17a
Signed-off-by: Firas Qutishat firas.qutishat@securekey.com

sudeshrshetty
sudeshrshetty previously approved these changes May 2, 2019
Copy link
Member

@sudeshrshetty sudeshrshetty left a comment

Choose a reason for hiding this comment

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

looks good to me,

Makefile Outdated Show resolved Hide resolved
Makefile Outdated
@@ -220,19 +220,19 @@ native: peer orderer configtxgen cryptogen idemixgen configtxlator discover

linter: check-deps buildenv
@echo "LINT: Running code checks.."
@$(DRUN) $(DOCKER_NS)/fabric-buildenv:$(DOCKER_TAG) ./scripts/golinter.sh
@$(DRUN) -e GOPROXY=$(GOPROXY) $(DOCKER_NS)/fabric-buildenv:$(DOCKER_TAG) ./scripts/golinter.sh
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this imply that each Makefile step is fetching Go modules?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

each makefile step will fetch go module if not exist in mod folder in $GOPATH

Copy link
Contributor

Choose a reason for hiding this comment

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

There is another instance in another script.

scripts/golinter.sh Show resolved Hide resolved
scripts/golinter.sh Outdated Show resolved Hide resolved
@llorllale
Copy link
Contributor

@fqutishat note: Change-Id no longer applies here

gotools.mk Outdated Show resolved Hide resolved
- remove go dep
- remove vendor
- add go modules

Signed-off-by: Firas Qutishat <firas.qutishat@securekey.com>
@fqutishat
Copy link
Collaborator Author

@fqutishat note: Change-Id no longer applies here

I remove change-id

@gbolo gbolo self-requested a review May 3, 2019 19:21
Copy link
Contributor

@gbolo gbolo left a comment

Choose a reason for hiding this comment

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

LGTM

@fqutishat
Copy link
Collaborator Author

verify

1 similar comment
@alexmond
Copy link

alexmond commented May 3, 2019

verify

@fqutishat fqutishat merged commit e379dd3 into master May 3, 2019
@fqutishat fqutishat deleted the issue1 branch May 3, 2019 21:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants