hound
hound copied to clipboard
Notice changes to config.json or provide a way to trigger a re-read
This falls into a bucket similar to #13 and #83 I think - which is "zomg I have lots of repos". In my case, I already have all of my repos referenced in a YAML file - so making a script to read that and write a config.json took about 5 minutes. However, we're always adding new ones - so I don't want to have to restart houndd to pick up new config.json changes if I don't have to.
I'd be happy to hack on this if it's something others think would be useful - or it might just be one of those things that comes out of the other work...
:+1: Yes please.
We've been trying to fit this into our schedule, but haven't made much progress. If you could implement it, that would be pretty awesome...
:+1:
(this is still on my TDL - haven't quite gotten to it yet ...)
+1
+1
Because I'm being slow, we've found a human in the OpenStack community to work on this although it still may be a few weeks. @necrobuffalo wave to all the nice people
+1, any update to this?
I'm currently working on this patch :smile:
:+1:
I currently have something working, it still needs cleaning up, and I want to add test coverage and sanity check it. I'm using the fsnotify package to watch for changes to the configuration file. Right now I've also just got the configuration watcher and new searcher logic in the main houndd file, rather than having config publish some kind of event. I have a fork I'm working on if anyone wants to take a look and make suggestions. It's very WIP right now but I should have something ready to submit for review this week or next. https://github.com/etsy/hound/compare/master...missaugustina:bug_119_recheck_for_new_repos
@missaugustina just looking at this right now, but having difficulty in getting it to work locally. Any updates or a PR in the works?
+1
Anymore updates? Right now it takes me 10 minutes to restart hound and have it serving requests again.
ohai! Now I know why puppet is disabled on codesearch.o.o :)
Do we have some news here? Would love to see this happening :(