Skip to content

use go dep for dependency management#33

Merged
smacker merged 2 commits into
src-d:masterfrom
smacker:go_dep
Jan 29, 2018
Merged

use go dep for dependency management#33
smacker merged 2 commits into
src-d:masterfrom
smacker:go_dep

Conversation

@smacker

@smacker smacker commented Jan 25, 2018

Copy link
Copy Markdown
Contributor

Fixes: #13

@carlosms carlosms left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@bzz bzz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM.

One request, if possible, is there any chance we could merge #29 first and then, in here, also update CONTRIBUTING.md, pointing out that dep is used on a backend for dependency management, with a link to something like https://golang.github.io/dep/docs/daily-dep.html ?

Asking as this would help to assimilate the knowledge, necessary to adopt dep for other projects.

@mcuadros mcuadros left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

vendor folder should be upload, otherwise is anti-pattern in go

@smacker

smacker commented Jan 26, 2018

Copy link
Copy Markdown
Contributor Author

@mcuadros it's not true if we use dep: https://golang.github.io/dep/docs/FAQ.html#best-practices

Signed-off-by: Maxim Sukharev <maxim@sourced.tech>
Signed-off-by: Maxim Sukharev <maxim@sourced.tech>
@smacker

smacker commented Jan 26, 2018

Copy link
Copy Markdown
Contributor Author

I don't think it's very right decision for this project because go here isn't the main part and in my opinion, it's better to follow the same patterns for all parts of the project. But vendor dir is added.

@smacker smacker mentioned this pull request Jan 26, 2018
@smacker

smacker commented Jan 29, 2018

Copy link
Copy Markdown
Contributor Author

vendor directory is added as Maximo requested. I need this PR to merge another one on top of is so, I'm merging (there are 2 approvals already includes maintainer)

@smacker smacker merged commit 050e35e into src-d:master Jan 29, 2018
@mcuadros

Copy link
Copy Markdown

Why was this PR merged? With a pending request?

@smacker

smacker commented Jan 29, 2018

Copy link
Copy Markdown
Contributor Author

the request is done.
we need to move faster for code-annotation with merging because we have hard deadlines.

@smacker

smacker commented Jan 29, 2018

Copy link
Copy Markdown
Contributor Author

oh. and if you are talking about @dpordomingo review, we have an agreement to add everyone of the team in CR. But merge when there is approve of maintainer + 1 more.
If there will be comments later they will go to separate PR.

@mcuadros

mcuadros commented Jan 29, 2018

Copy link
Copy Markdown

Who should confirm if the changes were addressed is the author of the request, since now that the vendor is there the rule godep is not required anymore.

@smacker

smacker commented Jan 29, 2018

Copy link
Copy Markdown
Contributor Author

godep is still needed for development. Please feel free to add any comments. They will be resolved in additional PRs.

@mcuadros

Copy link
Copy Markdown

Also will be nice upload only the package that are you using running first dep prune and not all the files

@smacker

smacker commented Jan 29, 2018

Copy link
Copy Markdown
Contributor Author

Thanks for the suggestion. I created an issue: #39

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