Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Jonathan Klein
    @jklein
    My initial guess is that it is auth related, since I don't think we have any logging around that
    Chase Coney
    @chaseconey
    Can you confirm whether or not I should have /trunk on the end there? I am still unsure how the url-pattern comes into play
    Jonathan Klein
    @jklein
    I don't actually recall without looking at the code - I didn't implement any of the SVN stuff. It's just one file that deals with SVN though: https://github.com/etsy/Hound/blob/master/vcs/svn.go
    @chaseconey url-pattern is only used for the UI
    to build the URLs to actual files
    so it wouldn't impact indexing
    verymahler
    @verymahler
    Hi, I'm looking into this search engine as a possible alternative to a Stash add-on (as mentioned here: https://jira.atlassian.com/browse/STASH-2851?focusedCommentId=718417) How does this tool work? Can it index a directory on a Stash server containing all repositories? And does the UI appear when opening the http-url?
    Kelly Norton
    @kellegous
    @verymahler I have no experience with stash. I know there are other hound users that do use stash, but it's hard for me to answer specifics about Stash itself because I've never used it. The key questions are, does it have repos (git, bzr, svn, hg) that are reachable via http?
    Does it have a UI that is capable of showing source code?
    Hound works by accessing repos via urls, keeping a local copy of the source up-to-date and building search indexes off of those local directories.
    When you search, the results are shown in the UI with links back to a source viewer.
    There is no source viewer built into hound because the original use case was Github.
    verymahler
    @verymahler
    Thank you, that pretty much answers my questions.
    Felix Ingram
    @lllama
    Hello. Is there any way to just index local files, without having to clone a repo? I have a massive tree of code that I need to grok and it's not currently in source control. Rather than put it all into git and then have that cloned, I was wondering whether I could just index the unversioned files.
    Aditya Bhargava
    @egonSchiele
    Have you tried using the file:// protocol as described here: https://github.com/etsy/hound#private-repositories
    Hi @lllama! I'm new at Etsy but maybe I could answer your question
    rkothari007
    @rkothari007
    Hi, I just setup hound following the instructions on the web page. I see that indexes are built but search returns nothing. Any idea how to troubleshoot ?
    Kelly Norton
    @kellegous
    @rkothari007 You see the "All indexes built!" log on the console?
    rkothari007
    @rkothari007
    Yes, I do.
    I can see those indexes in my $GO_HOME/data as well.
    Kelly Norton
    @kellegous
    How many repositories are in your config file?
    rkothari007
    @rkothari007
    1
    ./bin/houndd --dev
    2015/05/29 12:44:55 Searcher started for SomeGitRepo
    2015/05/29 12:44:58 All indexes built!
    2015/05/29 12:44:58 running server at http://localhost:6080...
    Kelly Norton
    @kellegous
    what does "ls -lh idx-*/tri" return?
    rkothari007
    @rkothari007
    ls -lh idx-*/tri
    -rw------- 1 rakesh rakesh 38M May 29 12:30 idx-bda19becfbe01492/tri
    Kelly Norton
    @kellegous
    @rkothari007 That's a sizable index, I would expect this to be a pretty large repository ... at least around 50k files or so
    rkothari007
    @rkothari007
    yes.. there are a lot of files
    Kelly Norton
    @kellegous
    Have you checked the excluded files list?
    rkothari007
    @rkothari007
    yes..
    Kelly Norton
    @kellegous
    Is the repository public?
    rkothari007
    @rkothari007
    it doesn't contain the file I am looking for..
    no..
    Kelly Norton
    @kellegous
    What type of file are you looking for?
    rkothari007
    @rkothari007
    .cpp .hpp
    .java
    Kelly Norton
    @kellegous
    And you don't see any errors on the console?
    rkothari007
    @rkothari007
    no.. it built the index just fine
    Kelly Norton
    @kellegous
    I mean when you search
    rkothari007
    @rkothari007
    when i search i get nothing.
    Kelly Norton
    @kellegous
    In the console?
    rkothari007
    @rkothari007
    I am searching through browser
    Kelly Norton
    @kellegous
    Right, but are you watching the server console for errors?
    rkothari007
    @rkothari007
    I am not getting anything in the console..
    I am not sure if the request is even made to the daemon (houndd)
    Kelly Norton
    @kellegous
    That was the next thing I was going to ask. I was going to give you a url to try.
    rkothari007
    @rkothari007
    does it log directly on console each time it gets a request ?
    Kelly Norton
    @kellegous
    No.
    rkothari007
    @rkothari007
    ok
    Kelly Norton
    @kellegous
    But if there was an error, you should see it.