Page MenuHomePhabricator

Allow operations/puppet search in codesearch
Closed, ResolvedPublic

Assigned To
Authored By
Dec 14 2018, 6:02 PM
Referenced Files
"Love" token, awarded by xSavitar."Barnstar" token, awarded by MarcoAurelio."Love" token, awarded by Dzahn."Like" token, awarded by mmodell.


I see that does not support search in rOPUP Wikimedia Puppet, nor in the Everything tab either. I feel being able to look for code or strings in the operations/puppet.git repo would be very useful. Please consider adding support for that repository. Thank you.

Event Timeline

puppet is not included because its default branch is named production and hound hardcodes master. Of course, this is a super silly reason that I think we can just workaround instead of waiting for an upstream fix...

Change 481974 had a related patch set uploaded (by Legoktm; owner: Legoktm):
[labs/codesearch@master] Index operations/puppet

Change 481974 merged by jenkins-bot:
[labs/codesearch@master] Index operations/puppet

Mentioned in SAL (#wikimedia-cloud) [2019-01-03T00:35:12Z] <legoktm> restarting hound instances for T211999

After a bit of searching, I learned about git-symbolic-ref which allows you to alias git refs. So I was able to locally alias production -> master for the purposes of hound, and it seemed to work fine in my local testing.