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

chore(tools): move dep tracking for tools to tools package #593

Merged
merged 1 commit into from Jan 5, 2021

Conversation

jthurman42
Copy link
Contributor

@jthurman42 jthurman42 commented Jan 5, 2021

Moving dep tracking for pipeline tooling to tools/go.mod so they aren't hard deps on the main package. I believe this is causing some issues with importers of the client library, specifically terraform-provider-newrelic.

@jthurman42 jthurman42 requested a review from a team January 5, 2021 17:26
@jthurman42 jthurman42 self-assigned this Jan 5, 2021
@jthurman42 jthurman42 added this to Feature Backlog in NR1 Developer Toolkit Community via automation Jan 5, 2021
@jthurman42 jthurman42 moved this from Feature Backlog to Ready for review in NR1 Developer Toolkit Community Jan 5, 2021
@jthurman42 jthurman42 added this to the GraphQL Dashboards API milestone Jan 5, 2021
@jthurman42 jthurman42 added the dependencies Changes to dependencies label Jan 5, 2021

GOTOOLS ?= $(shell cd $(TOOL_DIR) && go list -f '{{ .Imports }}' -tags tools |tr -d '[]')
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Neet trick, any imports defined in this package will become tools to install. No more need to += them constantly

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, I like that.

NR1 Developer Toolkit Community automation moved this from Ready for review to Review completed Jan 5, 2021
@jthurman42 jthurman42 merged commit 4db05e0 into master Jan 5, 2021
NR1 Developer Toolkit Community automation moved this from Review completed to Done Jan 5, 2021
@jthurman42 jthurman42 deleted the jthurman/tools-mod branch January 5, 2021 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Changes to dependencies
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants