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

Changes search index format to fasten pod search --full command. #4249

Merged
merged 12 commits into from Oct 28, 2015

Commits on Oct 27, 2015

  1. Changes search index format to fasten pod search --full command.

    - Previous implementation was having the drawback of traversing and performing `gsub` on all index strings for each pod specification.
    - New implementation stores words as keys and list of pods containing corresponding word inside their specification as the values for corresponding hash keys. Therefore, while searching for a query, we only need to check if query is matched with any key in index hash, if so, we will add corresponding list of spec names to a Set object. Resulted Set object gives us the search result. Using this policy, sources manager can perform a faster search operation.
    manuyavuz committed Oct 27, 2015
    Copy the full SHA
    9952a84 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    75ecb8f View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    8622e04 View commit details
    Browse the repository at this point in the history
  4. Enable output stream during repo update.

        - Override update_git_repo method of Source class in SourcesManager, and uses Executable instead of backticks. This provides streaming command output to STDOUT.
    manuyavuz committed Oct 27, 2015
    Copy the full SHA
    8424301 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    f6f5150 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    f675cf2 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    024fa9b View commit details
    Browse the repository at this point in the history
  8. Add CHANGELOG

    manuyavuz committed Oct 27, 2015
    Copy the full SHA
    6474bfb View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    2f6f2e3 View commit details
    Browse the repository at this point in the history
  10. Update Gemfile.lock

    manuyavuz committed Oct 27, 2015
    Copy the full SHA
    482f066 View commit details
    Browse the repository at this point in the history
  11. Fix offenses

    manuyavuz committed Oct 27, 2015
    Copy the full SHA
    a7f504f View commit details
    Browse the repository at this point in the history
  12. Bring back removed spec

    manuyavuz committed Oct 27, 2015
    Copy the full SHA
    a0043ba View commit details
    Browse the repository at this point in the history