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

Add GoOracleTags command to set build tags for oracle #573

Merged
merged 3 commits into from
Nov 15, 2015

Conversation

gonotes
Copy link
Contributor

@gonotes gonotes commented Oct 15, 2015

When I reading docker source code, which locate in github.com/docker/docker/docker directory, I could not use GoReferrer to find "mainDaemon" when docker as daemon.What I found is client code when docker as client and without golang build tags "daemon".
So I try to add GoTags command,which can set oracle command param "-tags",then thing goes well!

@gonotes gonotes force-pushed the master branch 2 times, most recently from 97d4aba to d010758 Compare October 16, 2015 02:38
@fatih
Copy link
Owner

fatih commented Oct 18, 2015

Hi @gonotes

Thanks for this addition. After that a couple of things:

  • Please remove the godef related section. It's totally unrelated to this PR.
  • Please rename the command to :GoOracleTags. Build tags can be used in several different go commands, we need to distinguish between them.
  • Add documentation too please (see the docs/ folder)

I also going to make comments to the PR, please fix them too.

@@ -115,6 +121,7 @@ func! s:RunOracle(mode, selected, needs_package) range abort
" info check Oracle's User Manual section about scopes:
" https://docs.google.com/document/d/1SLk36YRjjMgKqe490mSRzOPYEDe0Y_WQNRv-EiFYUyw/view#heading=h.nwso96pj07q8
let cmd .= ' ' . go#util#Shelljoin(scopes)
" echon "vim-go: " | echohl Function | echon "current cmd is: '". cmd ."'" | echohl None
Copy link
Owner

Choose a reason for hiding this comment

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

Please remove this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah,remove done.

@gonotes gonotes force-pushed the master branch 2 times, most recently from d9548ce to d010758 Compare October 19, 2015 02:17
@gonotes gonotes changed the title Add GoTags command to set build tags for oracle Add GoOracleTags command to set build tags for oracle Oct 19, 2015
@fatih
Copy link
Owner

fatih commented Oct 19, 2015

@gonotes This is not mergable right now, fyi

@gonotes
Copy link
Contributor Author

gonotes commented Oct 19, 2015

@fatih Conflit has been resolved.Many thanks for your help,this is my first time commit PR.

fatih added a commit that referenced this pull request Nov 15, 2015
Add GoOracleTags command to set build tags for oracle
@fatih fatih merged commit 4817731 into fatih:master Nov 15, 2015
@fatih
Copy link
Owner

fatih commented Nov 15, 2015

Thanks @gonotes. Just came back, sorry for the late response.

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.

2 participants