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

x/tools/cmd/oracle: Support recursive search of packages to include in scope #9915

Open
ghodss opened this issue Feb 18, 2015 · 1 comment

Comments

@ghodss
Copy link

commented Feb 18, 2015

Oracle takes a list of arguments that set the analysis scope. If a given argument (e.g. github.com/example/project) does not have any immediate source files, it is excluded from the analysis. However, many projects have sub-packages that do have main or test files, and enumerating these manually to oracle is difficult to manage. The user should have some way of indicating to oracle that a given path should be treated recursively and searched for any sub-packages that may have main or test files. In other words, given github.com/example/project which only has two sub-projects github.com/example/project/subproject-one and github.com/example/project/subproject-two which have main and/or test files, both should be included in the analysis scope.

This could be indicated with a command-line parameter ("includes packages recursively in scope") or as part of the path itself (github.com/example/project/...).

@mikioh mikioh added the repo-tools label Feb 18, 2015

@rsc rsc added this to the Unplanned milestone Apr 10, 2015

@rsc rsc changed the title oracle: Support recursive search of packages to include in scope x/tools/cmd/oracle: Support recursive search of packages to include in scope Apr 14, 2015

@rsc rsc modified the milestones: Unreleased, Unplanned Apr 14, 2015

@rsc rsc removed the repo-tools label Apr 14, 2015

@kostya-sh

This comment has been minimized.

Copy link
Contributor

commented Mar 7, 2016

This has been implemented in golang/tools@3f95c66

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.