{"id":16538738,"url":"https://github.com/spyoungtech/gitlab-elasticsearch-indexer","last_synced_at":"2026-05-13T02:10:16.668Z","repository":{"id":144210154,"uuid":"241987211","full_name":"spyoungtech/gitlab-elasticsearch-indexer","owner":"spyoungtech","description":null,"archived":false,"fork":false,"pushed_at":"2020-02-27T22:16:14.000Z","size":11652,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-04T22:53:41.536Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spyoungtech.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-20T20:51:44.000Z","updated_at":"2021-03-16T05:03:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"4f4785fe-c1a3-4a58-af2a-c00fcb60c50b","html_url":"https://github.com/spyoungtech/gitlab-elasticsearch-indexer","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/spyoungtech/gitlab-elasticsearch-indexer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spyoungtech%2Fgitlab-elasticsearch-indexer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spyoungtech%2Fgitlab-elasticsearch-indexer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spyoungtech%2Fgitlab-elasticsearch-indexer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spyoungtech%2Fgitlab-elasticsearch-indexer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spyoungtech","download_url":"https://codeload.github.com/spyoungtech/gitlab-elasticsearch-indexer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spyoungtech%2Fgitlab-elasticsearch-indexer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32964454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T23:30:32.555Z","status":"online","status_checked_at":"2026-05-13T02:00:07.132Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T18:46:40.410Z","updated_at":"2026-05-13T02:10:16.641Z","avatar_url":"https://github.com/spyoungtech.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitLab Elasticsearch Indexer\n\nThis project indexes Git repositories into Elasticsearch for GitLab. See the\n[homepage](https://gitlab.com/gitlab-org/gitlab-elasticsearch-indexer) for more\ninformation.\n\n## Dependencies\n\nThis project relies on [ICU](http://site.icu-project.org/) for text encoding;\nensure the development packages for your platform are installed before running\n`make`:\n\n### Debian / Ubuntu\n\n```\n# apt install libicu-dev\n```\n\n### Mac OSX\n\n```\n$ brew install icu4c\n$ export PKG_CONFIG_PATH=\"/usr/local/opt/icu4c/lib/pkgconfig:$PKG_CONFIG_PATH\"\n```\n\n## Building \u0026 Installing\n\n```\nmake\nsudo make install\n```\n\n`gitlab-elasticsearch-indexer` will be installed to `/usr/local/bin`\n\nYou can change the installation path with the `PREFIX` env variable. Please remember to pass the `-E` flag to sudo if you do so.\n\nExample:\n```\nPREFIX=/usr sudo -E make install\n```\n\n## Run tests\n\nTest suite expects Gitaly and Elasticsearch to be run. You can run it with docker:\n\n```\ndocker run -p 8075:8075 registry.gitlab.com/gitlab-org/build/cng/gitaly:latest\n```\n\nand Elasticsearch:\n\n```\ndocker run -itd -p 9200:9200 elasticsearch:6.1\n```\n\nBefore running tests, set configuration variables`\n\n```\nexport GITALY_CONNECTION_INFO='{\"address\": \"tcp://localhost:8075\", \"storage\": \"default\"}'\nexport ELASTIC_CONNECTION_INFO='{\"url\":[\"http://localhost:9200\"], \"index_name\":\"gitlab-test\"}'\n```\n**Note**: If using a socket, please pass your URI in the form `unix://FULL_PATH_WITH_LEADING_SLASH`\nExample:\n```\nexport GITALY_CONNECTION_INFO='{\"address\": \"unix:///gitlab/gdk/gitaly.socket\", \"storage\": \"default\"}'\n```\n\nto run some specific test, run\n\n```\ngo test -v gitlab.com/gitlab-org/gitlab-elasticsearch-indexer -run TestIndexingGitlabTest\n```\n\nto run the whole test suite\n\n```\nmake test\n```\n\n## Contributing\n\nPlease see the [contribution guidelines](CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspyoungtech%2Fgitlab-elasticsearch-indexer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspyoungtech%2Fgitlab-elasticsearch-indexer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspyoungtech%2Fgitlab-elasticsearch-indexer/lists"}