-
Notifications
You must be signed in to change notification settings - Fork 578
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
ability to specify branches #9
Comments
What would be better still is the ability to search in all branches (perhaps configurable on a per-repo basis if a given repo has many branches). |
+1 |
That would be very useful! |
+1 - Would be super useful 👍 |
Being able to search in multiple branches would be fantastic - this is the primary feature missing from Hound that prevents me from switching over from OpenGrok. |
Being able to able to specify a specific branch to index would be greate, multiple would be awesome ! +1 |
+1 |
+1 |
+1 |
There is also this PR with a different approach: #224 |
#275 provides the ability to specify a git branch other than the hardcoded "master" and it works for us. |
#275 only adds the ability to specify one branch. Which still leaves room for improvement. I would like to be able to search on multiple branches in any repo. I tried changing the repo name for different branches using #275 but it doesn't work. I have been able to index multiple branches but cannot search through them yet. Once my patch is complete I'll post it as a gist. (I have no experience in hg/bzr to send a MR with changes for those) |
I have successfully adapted and tested a patch for specifying multiple branches in all the repos. I have also added an option to specify if user wants to search all branches or only master branch. Anyone interested can find the patch here: |
puppet is special because its default branch is `production`, not `master`. And hound hardcodes the latter (hound-search/hound#9). So we set up our own manual clone of the repo (/srv/puppet), and use the awesome git-symbolic-ref(1) to alias production as master in all the places that it matters for hound. That directory is mounted into all the docker containers as /puppet, and hound is instructed to index and pull that instead of setting up its own clone. Bug: T211999 Change-Id: Ib0a16521d16745492f6acc530bd6ce5e97e9f065
What's the current state of this? I see the following:
Am I missing a file with specific documentation on the config? |
It'd be great if you could specify a branch to use for searching in the config. It'd be even better if you could do it on the fly in the UI
The text was updated successfully, but these errors were encountered: