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 Boost repo to demo.searchcodeserver.com #194

Closed
sschuberth opened this issue Jul 24, 2018 · 2 comments
Closed

Add Boost repo to demo.searchcodeserver.com #194

sschuberth opened this issue Jul 24, 2018 · 2 comments

Comments

@sschuberth
Copy link

https://github.com/boostorg/boost is a "nice" complex C++ code base that would be a good test case for issues like described in #188. Additionally, it makes heavy use of git submodules about which I'm curious how searchcode is handling them currently:

  • Does searchcode do a recursive clone when indexing, so that submodules in the state as used by the super-project are indexed, too?
  • Or are submodules manually parsed and indexed as individual repos, applying any branch name restrictions etc.?
  • Where are matches in submodules displayed, as a match in the super-project, or a match in the underlying Git repo?
@boyter
Copy link
Owner

boyter commented Jul 24, 2018

Added.

So sub-modules. It will just do a naive git clone. However #92 will allow you to modify how the the clone is done so it will be possible to do it however you wish.

The way searchcode works is that it will clone a repository then treat it as a single unit to search over. If its in the file system at that point its something to search.

Not that this cannot change in the future though.

@sschuberth
Copy link
Author

The way searchcode works is that it will clone a repository then treat it as a single unit to search over. If its in the file system at that point its something to search.

Good to know, thanks for spelling this out!

As the main point was to add Boost, I'll close this.

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

No branches or pull requests

2 participants